Required role: | REGISUserRole |
POST | /Registration/Provisional/{student_section_uuid}/Cancel |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class ProvisionalRegistrationCancelRequest implements IConvertible
{
String? student_section_uuid;
String? authorizing_uuid;
ProvisionalRegistrationCancelRequest({this.student_section_uuid,this.authorizing_uuid});
ProvisionalRegistrationCancelRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
student_section_uuid = json['student_section_uuid'];
authorizing_uuid = json['authorizing_uuid'];
return this;
}
Map<String, dynamic> toJson() => {
'student_section_uuid': student_section_uuid,
'authorizing_uuid': authorizing_uuid
};
getTypeName() => "ProvisionalRegistrationCancelRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'ProvisionalRegistrationCancelRequest': TypeInfo(TypeOf.Class, create:() => ProvisionalRegistrationCancelRequest()),
});
Dart ProvisionalRegistrationCancelRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Registration/Provisional/{student_section_uuid}/Cancel HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
student_section_uuid: String,
authorizing_uuid: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }