Required role: | REGISUserRole |
POST | /Sections/Admin/{uuid}/Crosslist |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class SectionCrosslistRequest implements IConvertible
{
String? uuid;
SectionCrosslistRequest({this.uuid});
SectionCrosslistRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
uuid = json['uuid'];
return this;
}
Map<String, dynamic> toJson() => {
'uuid': uuid
};
getTypeName() => "SectionCrosslistRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'SectionCrosslistRequest': TypeInfo(TypeOf.Class, create:() => SectionCrosslistRequest()),
});
Dart SectionCrosslistRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Sections/Admin/{uuid}/Crosslist HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length [{"crosslist_section_id":0,"crosslist_section_uuid":"String","course_name":"String","section_code":"String"}]