Required role: | REGISUserRole |
POST | /Registration/Provisional/{student_section_uuid}/Authorize |
---|
import 'package:servicestack/servicestack.dart';
class InvoiceResponse implements IConvertible
{
ResponseStatus? responseStatus;
String? invoiceUUID;
int? regent_id;
String? uuid;
String? reporting_term;
double? total_charges;
double? total_credits;
String? current_status;
DateTime? timestamp;
InvoiceResponse({this.responseStatus,this.invoiceUUID,this.regent_id,this.uuid,this.reporting_term,this.total_charges,this.total_credits,this.current_status,this.timestamp});
InvoiceResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
invoiceUUID = json['invoiceUUID'];
regent_id = json['regent_id'];
uuid = json['uuid'];
reporting_term = json['reporting_term'];
total_charges = JsonConverters.toDouble(json['total_charges']);
total_credits = JsonConverters.toDouble(json['total_credits']);
current_status = json['current_status'];
timestamp = JsonConverters.fromJson(json['timestamp'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'invoiceUUID': invoiceUUID,
'regent_id': regent_id,
'uuid': uuid,
'reporting_term': reporting_term,
'total_charges': total_charges,
'total_credits': total_credits,
'current_status': current_status,
'timestamp': JsonConverters.toJson(timestamp,'DateTime',context!)
};
getTypeName() => "InvoiceResponse";
TypeContext? context = _ctx;
}
class InvoiceItemResponse implements IConvertible
{
ResponseStatus? responseStatus;
String? invoiceItemUUID;
int? rate_id;
String? rate_code;
String? rate_description;
double? charge;
double? credit;
InvoiceItemResponse({this.responseStatus,this.invoiceItemUUID,this.rate_id,this.rate_code,this.rate_description,this.charge,this.credit});
InvoiceItemResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
invoiceItemUUID = json['invoiceItemUUID'];
rate_id = json['rate_id'];
rate_code = json['rate_code'];
rate_description = json['rate_description'];
charge = JsonConverters.toDouble(json['charge']);
credit = JsonConverters.toDouble(json['credit']);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'invoiceItemUUID': invoiceItemUUID,
'rate_id': rate_id,
'rate_code': rate_code,
'rate_description': rate_description,
'charge': charge,
'credit': credit
};
getTypeName() => "InvoiceItemResponse";
TypeContext? context = _ctx;
}
class InstructorResponse implements IConvertible
{
ResponseStatus? responseStatus;
int? regent_id;
String? regent_login;
String? preferred_name;
String? first_name;
String? last_name;
String? full_name;
String? email;
String? image_base64;
InstructorResponse({this.responseStatus,this.regent_id,this.regent_login,this.preferred_name,this.first_name,this.last_name,this.full_name,this.email,this.image_base64});
InstructorResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
regent_id = json['regent_id'];
regent_login = json['regent_login'];
preferred_name = json['preferred_name'];
first_name = json['first_name'];
last_name = json['last_name'];
full_name = json['full_name'];
email = json['email'];
image_base64 = json['image_base64'];
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'regent_id': regent_id,
'regent_login': regent_login,
'preferred_name': preferred_name,
'first_name': first_name,
'last_name': last_name,
'full_name': full_name,
'email': email,
'image_base64': image_base64
};
getTypeName() => "InstructorResponse";
TypeContext? context = _ctx;
}
class DocumentResponse implements IConvertible
{
String? code;
String? document_name;
String? document_description;
DocumentResponse({this.code,this.document_name,this.document_description});
DocumentResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
code = json['code'];
document_name = json['document_name'];
document_description = json['document_description'];
return this;
}
Map<String, dynamic> toJson() => {
'code': code,
'document_name': document_name,
'document_description': document_description
};
getTypeName() => "DocumentResponse";
TypeContext? context = _ctx;
}
class SectionResponse implements IConvertible
{
ResponseStatus? responseStatus;
String? secUUID;
String? course_name;
String? section_code;
String? course_title;
String? course_short_title;
String? course_description;
String? crosslist_description;
String? crosslist_course_name;
String? location_long_name;
String? room;
List<InstructorResponse>? instructors;
List<DocumentResponse>? required_documents;
DateTime? start_date;
DateTime? end_date;
DateTime? first_meeting_date;
DateTime? last_meeting_date;
String? meeting_days;
List<String>? start_times;
List<String>? end_times;
bool? is_online_only;
bool? is_weekend;
bool? is_weekday;
bool? is_evening;
bool? is_waitlist;
bool? has_special_requirements;
String? special_requirements;
bool? is_unlisted;
List<double>? credit_amounts;
List<double>? audit_amounts;
String? audits_short_name;
String? audits_long_name;
String? credits_short_name;
String? credits_long_name;
String? distance_ed_materials;
String? prerequisites;
String? corequisites;
int? capacity;
double? flat_fee_amount;
double? additional_fee_amount;
int? registered_students;
int? three_credit_plus;
int? two_credit;
int? one_credit;
int? three_audit_plus;
int? two_audit;
int? one_audit;
int? crosslist_registered_students;
int? grades_received;
int? crosslist_grades_received;
DateTime? registration_start_date;
DateTime? registration_end_date;
DateTime? add_start_date;
DateTime? add_end_date;
DateTime? drop_start_date;
DateTime? drop_end_date;
DateTime? grading_end_date;
String? term;
String? reporting_term;
int? reporting_year;
String? current_status;
String? added_by;
DateTime? added_date;
String? changed_by;
DateTime? changed_date;
DateTime? timestamp;
SectionResponse({this.responseStatus,this.secUUID,this.course_name,this.section_code,this.course_title,this.course_short_title,this.course_description,this.crosslist_description,this.crosslist_course_name,this.location_long_name,this.room,this.instructors,this.required_documents,this.start_date,this.end_date,this.first_meeting_date,this.last_meeting_date,this.meeting_days,this.start_times,this.end_times,this.is_online_only,this.is_weekend,this.is_weekday,this.is_evening,this.is_waitlist,this.has_special_requirements,this.special_requirements,this.is_unlisted,this.credit_amounts,this.audit_amounts,this.audits_short_name,this.audits_long_name,this.credits_short_name,this.credits_long_name,this.distance_ed_materials,this.prerequisites,this.corequisites,this.capacity,this.flat_fee_amount,this.additional_fee_amount,this.registered_students,this.three_credit_plus,this.two_credit,this.one_credit,this.three_audit_plus,this.two_audit,this.one_audit,this.crosslist_registered_students,this.grades_received,this.crosslist_grades_received,this.registration_start_date,this.registration_end_date,this.add_start_date,this.add_end_date,this.drop_start_date,this.drop_end_date,this.grading_end_date,this.term,this.reporting_term,this.reporting_year,this.current_status,this.added_by,this.added_date,this.changed_by,this.changed_date,this.timestamp});
SectionResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
secUUID = json['secUUID'];
course_name = json['course_name'];
section_code = json['section_code'];
course_title = json['course_title'];
course_short_title = json['course_short_title'];
course_description = json['course_description'];
crosslist_description = json['crosslist_description'];
crosslist_course_name = json['crosslist_course_name'];
location_long_name = json['location_long_name'];
room = json['room'];
instructors = JsonConverters.fromJson(json['instructors'],'List<InstructorResponse>',context!);
required_documents = JsonConverters.fromJson(json['required_documents'],'List<DocumentResponse>',context!);
start_date = JsonConverters.fromJson(json['start_date'],'DateTime',context!);
end_date = JsonConverters.fromJson(json['end_date'],'DateTime',context!);
first_meeting_date = JsonConverters.fromJson(json['first_meeting_date'],'DateTime',context!);
last_meeting_date = JsonConverters.fromJson(json['last_meeting_date'],'DateTime',context!);
meeting_days = json['meeting_days'];
start_times = JsonConverters.fromJson(json['start_times'],'List<String>',context!);
end_times = JsonConverters.fromJson(json['end_times'],'List<String>',context!);
is_online_only = json['is_online_only'];
is_weekend = json['is_weekend'];
is_weekday = json['is_weekday'];
is_evening = json['is_evening'];
is_waitlist = json['is_waitlist'];
has_special_requirements = json['has_special_requirements'];
special_requirements = json['special_requirements'];
is_unlisted = json['is_unlisted'];
credit_amounts = JsonConverters.fromJson(json['credit_amounts'],'List<double>',context!);
audit_amounts = JsonConverters.fromJson(json['audit_amounts'],'List<double>',context!);
audits_short_name = json['audits_short_name'];
audits_long_name = json['audits_long_name'];
credits_short_name = json['credits_short_name'];
credits_long_name = json['credits_long_name'];
distance_ed_materials = json['distance_ed_materials'];
prerequisites = json['prerequisites'];
corequisites = json['corequisites'];
capacity = json['capacity'];
flat_fee_amount = JsonConverters.toDouble(json['flat_fee_amount']);
additional_fee_amount = JsonConverters.toDouble(json['additional_fee_amount']);
registered_students = json['registered_students'];
three_credit_plus = json['three_credit_plus'];
two_credit = json['two_credit'];
one_credit = json['one_credit'];
three_audit_plus = json['three_audit_plus'];
two_audit = json['two_audit'];
one_audit = json['one_audit'];
crosslist_registered_students = json['crosslist_registered_students'];
grades_received = json['grades_received'];
crosslist_grades_received = json['crosslist_grades_received'];
registration_start_date = JsonConverters.fromJson(json['registration_start_date'],'DateTime',context!);
registration_end_date = JsonConverters.fromJson(json['registration_end_date'],'DateTime',context!);
add_start_date = JsonConverters.fromJson(json['add_start_date'],'DateTime',context!);
add_end_date = JsonConverters.fromJson(json['add_end_date'],'DateTime',context!);
drop_start_date = JsonConverters.fromJson(json['drop_start_date'],'DateTime',context!);
drop_end_date = JsonConverters.fromJson(json['drop_end_date'],'DateTime',context!);
grading_end_date = JsonConverters.fromJson(json['grading_end_date'],'DateTime',context!);
term = json['term'];
reporting_term = json['reporting_term'];
reporting_year = json['reporting_year'];
current_status = json['current_status'];
added_by = json['added_by'];
added_date = JsonConverters.fromJson(json['added_date'],'DateTime',context!);
changed_by = json['changed_by'];
changed_date = JsonConverters.fromJson(json['changed_date'],'DateTime',context!);
timestamp = JsonConverters.fromJson(json['timestamp'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'secUUID': secUUID,
'course_name': course_name,
'section_code': section_code,
'course_title': course_title,
'course_short_title': course_short_title,
'course_description': course_description,
'crosslist_description': crosslist_description,
'crosslist_course_name': crosslist_course_name,
'location_long_name': location_long_name,
'room': room,
'instructors': JsonConverters.toJson(instructors,'List<InstructorResponse>',context!),
'required_documents': JsonConverters.toJson(required_documents,'List<DocumentResponse>',context!),
'start_date': JsonConverters.toJson(start_date,'DateTime',context!),
'end_date': JsonConverters.toJson(end_date,'DateTime',context!),
'first_meeting_date': JsonConverters.toJson(first_meeting_date,'DateTime',context!),
'last_meeting_date': JsonConverters.toJson(last_meeting_date,'DateTime',context!),
'meeting_days': meeting_days,
'start_times': JsonConverters.toJson(start_times,'List<String>',context!),
'end_times': JsonConverters.toJson(end_times,'List<String>',context!),
'is_online_only': is_online_only,
'is_weekend': is_weekend,
'is_weekday': is_weekday,
'is_evening': is_evening,
'is_waitlist': is_waitlist,
'has_special_requirements': has_special_requirements,
'special_requirements': special_requirements,
'is_unlisted': is_unlisted,
'credit_amounts': JsonConverters.toJson(credit_amounts,'List<double>',context!),
'audit_amounts': JsonConverters.toJson(audit_amounts,'List<double>',context!),
'audits_short_name': audits_short_name,
'audits_long_name': audits_long_name,
'credits_short_name': credits_short_name,
'credits_long_name': credits_long_name,
'distance_ed_materials': distance_ed_materials,
'prerequisites': prerequisites,
'corequisites': corequisites,
'capacity': capacity,
'flat_fee_amount': flat_fee_amount,
'additional_fee_amount': additional_fee_amount,
'registered_students': registered_students,
'three_credit_plus': three_credit_plus,
'two_credit': two_credit,
'one_credit': one_credit,
'three_audit_plus': three_audit_plus,
'two_audit': two_audit,
'one_audit': one_audit,
'crosslist_registered_students': crosslist_registered_students,
'grades_received': grades_received,
'crosslist_grades_received': crosslist_grades_received,
'registration_start_date': JsonConverters.toJson(registration_start_date,'DateTime',context!),
'registration_end_date': JsonConverters.toJson(registration_end_date,'DateTime',context!),
'add_start_date': JsonConverters.toJson(add_start_date,'DateTime',context!),
'add_end_date': JsonConverters.toJson(add_end_date,'DateTime',context!),
'drop_start_date': JsonConverters.toJson(drop_start_date,'DateTime',context!),
'drop_end_date': JsonConverters.toJson(drop_end_date,'DateTime',context!),
'grading_end_date': JsonConverters.toJson(grading_end_date,'DateTime',context!),
'term': term,
'reporting_term': reporting_term,
'reporting_year': reporting_year,
'current_status': current_status,
'added_by': added_by,
'added_date': JsonConverters.toJson(added_date,'DateTime',context!),
'changed_by': changed_by,
'changed_date': JsonConverters.toJson(changed_date,'DateTime',context!),
'timestamp': JsonConverters.toJson(timestamp,'DateTime',context!)
};
getTypeName() => "SectionResponse";
TypeContext? context = _ctx;
}
class StudentSectionResponse extends SectionResponse implements IConvertible
{
String? studentSectionUUID;
double? registered_amount;
bool? is_provisional;
bool? is_audit;
StudentSectionResponse({this.studentSectionUUID,this.registered_amount,this.is_provisional,this.is_audit});
StudentSectionResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
studentSectionUUID = json['studentSectionUUID'];
registered_amount = JsonConverters.toDouble(json['registered_amount']);
is_provisional = json['is_provisional'];
is_audit = json['is_audit'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'studentSectionUUID': studentSectionUUID,
'registered_amount': registered_amount,
'is_provisional': is_provisional,
'is_audit': is_audit
});
getTypeName() => "StudentSectionResponse";
TypeContext? context = _ctx;
}
class StudentSectionInvoiceItemResponse extends InvoiceItemResponse implements IConvertible
{
StudentSectionResponse? studentSection;
StudentSectionInvoiceItemResponse({this.studentSection});
StudentSectionInvoiceItemResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
studentSection = JsonConverters.fromJson(json['studentSection'],'StudentSectionResponse',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'studentSection': JsonConverters.toJson(studentSection,'StudentSectionResponse',context!)
});
getTypeName() => "StudentSectionInvoiceItemResponse";
TypeContext? context = _ctx;
}
class InvoiceItemAdminResponse implements IConvertible
{
ResponseStatus? responseStatus;
String? invoiceItemUUID;
int? rate_id;
String? rate_code;
String? rate_description;
bool? is_required;
bool? is_optional;
double? charge;
double? credit;
InvoiceItemAdminResponse({this.responseStatus,this.invoiceItemUUID,this.rate_id,this.rate_code,this.rate_description,this.is_required,this.is_optional,this.charge,this.credit});
InvoiceItemAdminResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
invoiceItemUUID = json['invoiceItemUUID'];
rate_id = json['rate_id'];
rate_code = json['rate_code'];
rate_description = json['rate_description'];
is_required = json['is_required'];
is_optional = json['is_optional'];
charge = JsonConverters.toDouble(json['charge']);
credit = JsonConverters.toDouble(json['credit']);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'invoiceItemUUID': invoiceItemUUID,
'rate_id': rate_id,
'rate_code': rate_code,
'rate_description': rate_description,
'is_required': is_required,
'is_optional': is_optional,
'charge': charge,
'credit': credit
};
getTypeName() => "InvoiceItemAdminResponse";
TypeContext? context = _ctx;
}
class BenefitResponse implements IConvertible
{
int? rate_id;
String? rate_code;
String? rate_description;
double? percentage_rate;
bool? is_optional;
bool? is_required;
BenefitResponse({this.rate_id,this.rate_code,this.rate_description,this.percentage_rate,this.is_optional,this.is_required});
BenefitResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
rate_id = json['rate_id'];
rate_code = json['rate_code'];
rate_description = json['rate_description'];
percentage_rate = JsonConverters.toDouble(json['percentage_rate']);
is_optional = json['is_optional'];
is_required = json['is_required'];
return this;
}
Map<String, dynamic> toJson() => {
'rate_id': rate_id,
'rate_code': rate_code,
'rate_description': rate_description,
'percentage_rate': percentage_rate,
'is_optional': is_optional,
'is_required': is_required
};
getTypeName() => "BenefitResponse";
TypeContext? context = _ctx;
}
class AddRegistrationsResponse extends InvoiceResponse implements IConvertible
{
String? transaction_uuid;
List<StudentSectionInvoiceItemResponse>? studentSectionInvoiceItems;
Map<String,List<SectionRateWithAmountResponse>?>? sectionRates;
InvoiceItemAdminResponse? creditTuitionRate;
InvoiceItemAdminResponse? auditTuitionRate;
int? studentAge;
int? studentAgeAtEarliestSectionStartDate;
bool? isRegentGrad;
bool? isOnlyUnclassified;
bool? canRegisterForAuditInTerm;
bool? canRegisterForCreditInTerm;
List<String>? messages;
double? currentTermAuditHours;
double? currentTermCreditHours;
double? totalCreditHours;
List<InvoiceItemAdminResponse>? availableInvoiceItems;
List<BenefitResponse>? availableBenefits;
AddRegistrationsResponse({this.transaction_uuid,this.studentSectionInvoiceItems,this.sectionRates,this.creditTuitionRate,this.auditTuitionRate,this.studentAge,this.studentAgeAtEarliestSectionStartDate,this.isRegentGrad,this.isOnlyUnclassified,this.canRegisterForAuditInTerm,this.canRegisterForCreditInTerm,this.messages,this.currentTermAuditHours,this.currentTermCreditHours,this.totalCreditHours,this.availableInvoiceItems,this.availableBenefits});
AddRegistrationsResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
transaction_uuid = json['transaction_uuid'];
studentSectionInvoiceItems = JsonConverters.fromJson(json['studentSectionInvoiceItems'],'List<StudentSectionInvoiceItemResponse>',context!);
sectionRates = JsonConverters.fromJson(json['sectionRates'],'Map<String,List<SectionRateWithAmountResponse>?>',context!);
creditTuitionRate = JsonConverters.fromJson(json['creditTuitionRate'],'InvoiceItemAdminResponse',context!);
auditTuitionRate = JsonConverters.fromJson(json['auditTuitionRate'],'InvoiceItemAdminResponse',context!);
studentAge = json['studentAge'];
studentAgeAtEarliestSectionStartDate = json['studentAgeAtEarliestSectionStartDate'];
isRegentGrad = json['isRegentGrad'];
isOnlyUnclassified = json['isOnlyUnclassified'];
canRegisterForAuditInTerm = json['canRegisterForAuditInTerm'];
canRegisterForCreditInTerm = json['canRegisterForCreditInTerm'];
messages = JsonConverters.fromJson(json['messages'],'List<String>',context!);
currentTermAuditHours = JsonConverters.toDouble(json['currentTermAuditHours']);
currentTermCreditHours = JsonConverters.toDouble(json['currentTermCreditHours']);
totalCreditHours = JsonConverters.toDouble(json['totalCreditHours']);
availableInvoiceItems = JsonConverters.fromJson(json['availableInvoiceItems'],'List<InvoiceItemAdminResponse>',context!);
availableBenefits = JsonConverters.fromJson(json['availableBenefits'],'List<BenefitResponse>',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'transaction_uuid': transaction_uuid,
'studentSectionInvoiceItems': JsonConverters.toJson(studentSectionInvoiceItems,'List<StudentSectionInvoiceItemResponse>',context!),
'sectionRates': JsonConverters.toJson(sectionRates,'Map<String,List<SectionRateWithAmountResponse>?>',context!),
'creditTuitionRate': JsonConverters.toJson(creditTuitionRate,'InvoiceItemAdminResponse',context!),
'auditTuitionRate': JsonConverters.toJson(auditTuitionRate,'InvoiceItemAdminResponse',context!),
'studentAge': studentAge,
'studentAgeAtEarliestSectionStartDate': studentAgeAtEarliestSectionStartDate,
'isRegentGrad': isRegentGrad,
'isOnlyUnclassified': isOnlyUnclassified,
'canRegisterForAuditInTerm': canRegisterForAuditInTerm,
'canRegisterForCreditInTerm': canRegisterForCreditInTerm,
'messages': JsonConverters.toJson(messages,'List<String>',context!),
'currentTermAuditHours': currentTermAuditHours,
'currentTermCreditHours': currentTermCreditHours,
'totalCreditHours': totalCreditHours,
'availableInvoiceItems': JsonConverters.toJson(availableInvoiceItems,'List<InvoiceItemAdminResponse>',context!),
'availableBenefits': JsonConverters.toJson(availableBenefits,'List<BenefitResponse>',context!)
});
getTypeName() => "AddRegistrationsResponse";
TypeContext? context = _ctx;
}
class ProvisionalRegistrationAuthorizeRequest implements IConvertible
{
String? student_section_uuid;
String? authorizing_uuid;
ProvisionalRegistrationAuthorizeRequest({this.student_section_uuid,this.authorizing_uuid});
ProvisionalRegistrationAuthorizeRequest.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() => "ProvisionalRegistrationAuthorizeRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'InvoiceResponse': TypeInfo(TypeOf.Class, create:() => InvoiceResponse()),
'InvoiceItemResponse': TypeInfo(TypeOf.Class, create:() => InvoiceItemResponse()),
'InstructorResponse': TypeInfo(TypeOf.Class, create:() => InstructorResponse()),
'DocumentResponse': TypeInfo(TypeOf.Class, create:() => DocumentResponse()),
'SectionResponse': TypeInfo(TypeOf.Class, create:() => SectionResponse()),
'List<InstructorResponse>': TypeInfo(TypeOf.Class, create:() => <InstructorResponse>[]),
'List<DocumentResponse>': TypeInfo(TypeOf.Class, create:() => <DocumentResponse>[]),
'StudentSectionResponse': TypeInfo(TypeOf.Class, create:() => StudentSectionResponse()),
'StudentSectionInvoiceItemResponse': TypeInfo(TypeOf.Class, create:() => StudentSectionInvoiceItemResponse()),
'InvoiceItemAdminResponse': TypeInfo(TypeOf.Class, create:() => InvoiceItemAdminResponse()),
'BenefitResponse': TypeInfo(TypeOf.Class, create:() => BenefitResponse()),
'AddRegistrationsResponse': TypeInfo(TypeOf.Class, create:() => AddRegistrationsResponse()),
'List<StudentSectionInvoiceItemResponse>': TypeInfo(TypeOf.Class, create:() => <StudentSectionInvoiceItemResponse>[]),
'Map<String,List<SectionRateWithAmountResponse>?>': TypeInfo(TypeOf.Class, create:() => Map<String,List<SectionRateWithAmountResponse>?>()),
'List<SectionRateWithAmountResponse>': TypeInfo(TypeOf.Class, create:() => <SectionRateWithAmountResponse>[]),
'SectionRateWithAmountResponse': TypeInfo(TypeOf.Class, create:() => SectionRateWithAmountResponse()),
'List<InvoiceItemAdminResponse>': TypeInfo(TypeOf.Class, create:() => <InvoiceItemAdminResponse>[]),
'List<BenefitResponse>': TypeInfo(TypeOf.Class, create:() => <BenefitResponse>[]),
'ProvisionalRegistrationAuthorizeRequest': TypeInfo(TypeOf.Class, create:() => ProvisionalRegistrationAuthorizeRequest()),
});
Dart ProvisionalRegistrationAuthorizeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Registration/Provisional/{student_section_uuid}/Authorize HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ProvisionalRegistrationAuthorizeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<authorizing_uuid>String</authorizing_uuid>
<student_section_uuid>String</student_section_uuid>
</ProvisionalRegistrationAuthorizeRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <AddRegistrationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses"> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> <current_status>String</current_status> <invoiceUUID>String</invoiceUUID> <regent_id>0</regent_id> <reporting_term>String</reporting_term> <timestamp>0001-01-01T00:00:00</timestamp> <total_charges>0</total_charges> <total_credits>0</total_credits> <uuid>String</uuid> <auditTuitionRate> <ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types"> <d3p1:ErrorCode>String</d3p1:ErrorCode> <d3p1:Message>String</d3p1:Message> <d3p1:StackTrace>String</d3p1:StackTrace> <d3p1:Errors> <d3p1:ResponseError> <d3p1:ErrorCode>String</d3p1:ErrorCode> <d3p1:FieldName>String</d3p1:FieldName> <d3p1:Message>String</d3p1:Message> <d3p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </d3p1:Meta> </d3p1:ResponseError> </d3p1:Errors> <d3p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </d3p1:Meta> </ResponseStatus> <charge>0</charge> <credit>0</credit> <invoiceItemUUID>String</invoiceItemUUID> <is_optional>false</is_optional> <is_required>false</is_required> <rate_code>String</rate_code> <rate_description>String</rate_description> <rate_id>0</rate_id> </auditTuitionRate> <availableBenefits> <BenefitResponse> <is_optional>false</is_optional> <is_required>false</is_required> <percentage_rate>0</percentage_rate> <rate_code>String</rate_code> <rate_description>String</rate_description> <rate_id>0</rate_id> </BenefitResponse> </availableBenefits> <availableInvoiceItems> <InvoiceItemAdminResponse> <ResponseStatus xmlns:d4p1="http://schemas.servicestack.net/types"> <d4p1:ErrorCode>String</d4p1:ErrorCode> <d4p1:Message>String</d4p1:Message> <d4p1:StackTrace>String</d4p1:StackTrace> <d4p1:Errors> <d4p1:ResponseError> <d4p1:ErrorCode>String</d4p1:ErrorCode> <d4p1:FieldName>String</d4p1:FieldName> <d4p1:Message>String</d4p1:Message> <d4p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>String</d7p1:Key> <d7p1:Value>String</d7p1:Value> </d7p1:KeyValueOfstringstring> </d4p1:Meta> </d4p1:ResponseError> </d4p1:Errors> <d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d4p1:Meta> </ResponseStatus> <charge>0</charge> <credit>0</credit> <invoiceItemUUID>String</invoiceItemUUID> <is_optional>false</is_optional> <is_required>false</is_required> <rate_code>String</rate_code> <rate_description>String</rate_description> <rate_id>0</rate_id> </InvoiceItemAdminResponse> </availableInvoiceItems> <canRegisterForAuditInTerm>false</canRegisterForAuditInTerm> <canRegisterForCreditInTerm>false</canRegisterForCreditInTerm> <creditTuitionRate> <ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types"> <d3p1:ErrorCode>String</d3p1:ErrorCode> <d3p1:Message>String</d3p1:Message> <d3p1:StackTrace>String</d3p1:StackTrace> <d3p1:Errors> <d3p1:ResponseError> <d3p1:ErrorCode>String</d3p1:ErrorCode> <d3p1:FieldName>String</d3p1:FieldName> <d3p1:Message>String</d3p1:Message> <d3p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </d3p1:Meta> </d3p1:ResponseError> </d3p1:Errors> <d3p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </d3p1:Meta> </ResponseStatus> <charge>0</charge> <credit>0</credit> <invoiceItemUUID>String</invoiceItemUUID> <is_optional>false</is_optional> <is_required>false</is_required> <rate_code>String</rate_code> <rate_description>String</rate_description> <rate_id>0</rate_id> </creditTuitionRate> <currentTermAuditHours>0</currentTermAuditHours> <currentTermCreditHours>0</currentTermCreditHours> <isOnlyUnclassified>false</isOnlyUnclassified> <isRegentGrad>false</isRegentGrad> <messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>String</d2p1:string> </messages> <sectionRates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringArrayOfSectionRateWithAmountResponsezpaGewPN> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <SectionRateWithAmountResponse> <ResponseStatus xmlns:d6p1="http://schemas.servicestack.net/types"> <d6p1:ErrorCode>String</d6p1:ErrorCode> <d6p1:Message>String</d6p1:Message> <d6p1:StackTrace>String</d6p1:StackTrace> <d6p1:Errors> <d6p1:ResponseError> <d6p1:ErrorCode>String</d6p1:ErrorCode> <d6p1:FieldName>String</d6p1:FieldName> <d6p1:Message>String</d6p1:Message> <d6p1:Meta> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </d6p1:Meta> </d6p1:ResponseError> </d6p1:Errors> <d6p1:Meta> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </d6p1:Meta> </ResponseStatus> <course_name>String</course_name> <is_override_audit_rate>false</is_override_audit_rate> <is_override_credit_rate>false</is_override_credit_rate> <rate_code>String</rate_code> <rate_description>String</rate_description> <reporting_term>String</reporting_term> <secUUID>String</secUUID> <section_code>String</section_code> <section_id>0</section_id> <title>String</title> <uuid>String</uuid> <charge>0</charge> <credit>0</credit> <rate_id>0</rate_id> </SectionRateWithAmountResponse> </d2p1:Value> </d2p1:KeyValueOfstringArrayOfSectionRateWithAmountResponsezpaGewPN> </sectionRates> <studentAge>0</studentAge> <studentAgeAtEarliestSectionStartDate>0</studentAgeAtEarliestSectionStartDate> <studentSectionInvoiceItems> <StudentSectionInvoiceItemResponse> <ResponseStatus xmlns:d4p1="http://schemas.servicestack.net/types"> <d4p1:ErrorCode>String</d4p1:ErrorCode> <d4p1:Message>String</d4p1:Message> <d4p1:StackTrace>String</d4p1:StackTrace> <d4p1:Errors> <d4p1:ResponseError> <d4p1:ErrorCode>String</d4p1:ErrorCode> <d4p1:FieldName>String</d4p1:FieldName> <d4p1:Message>String</d4p1:Message> <d4p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:KeyValueOfstringstring> <d7p1:Key>String</d7p1:Key> <d7p1:Value>String</d7p1:Value> </d7p1:KeyValueOfstringstring> </d4p1:Meta> </d4p1:ResponseError> </d4p1:Errors> <d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d4p1:Meta> </ResponseStatus> <charge>0</charge> <credit>0</credit> <invoiceItemUUID>String</invoiceItemUUID> <rate_code>String</rate_code> <rate_description>String</rate_description> <rate_id>0</rate_id> <studentSection> <ResponseStatus xmlns:d5p1="http://schemas.servicestack.net/types"> <d5p1:ErrorCode>String</d5p1:ErrorCode> <d5p1:Message>String</d5p1:Message> <d5p1:StackTrace>String</d5p1:StackTrace> <d5p1:Errors> <d5p1:ResponseError> <d5p1:ErrorCode>String</d5p1:ErrorCode> <d5p1:FieldName>String</d5p1:FieldName> <d5p1:Message>String</d5p1:Message> <d5p1:Meta xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d8p1:KeyValueOfstringstring> <d8p1:Key>String</d8p1:Key> <d8p1:Value>String</d8p1:Value> </d8p1:KeyValueOfstringstring> </d5p1:Meta> </d5p1:ResponseError> </d5p1:Errors> <d5p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </d5p1:Meta> </ResponseStatus> <add_end_date>0001-01-01T00:00:00</add_end_date> <add_start_date>0001-01-01T00:00:00</add_start_date> <added_by>String</added_by> <added_date>0001-01-01T00:00:00</added_date> <additional_fee_amount>0</additional_fee_amount> <audit_amounts xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>0</d5p1:decimal> </audit_amounts> <audits_long_name>String</audits_long_name> <audits_short_name>String</audits_short_name> <capacity>0</capacity> <changed_by>String</changed_by> <changed_date>0001-01-01T00:00:00</changed_date> <corequisites>String</corequisites> <course_description>String</course_description> <course_name>String</course_name> <course_short_title>String</course_short_title> <course_title>String</course_title> <credit_amounts xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:decimal>0</d5p1:decimal> </credit_amounts> <credits_long_name>String</credits_long_name> <credits_short_name>String</credits_short_name> <crosslist_course_name>String</crosslist_course_name> <crosslist_description>String</crosslist_description> <crosslist_grades_received>0</crosslist_grades_received> <crosslist_registered_students>0</crosslist_registered_students> <current_status>String</current_status> <distance_ed_materials>String</distance_ed_materials> <drop_end_date>0001-01-01T00:00:00</drop_end_date> <drop_start_date>0001-01-01T00:00:00</drop_start_date> <end_date>0001-01-01T00:00:00</end_date> <end_times xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1:string> </end_times> <first_meeting_date>0001-01-01T00:00:00</first_meeting_date> <flat_fee_amount>0</flat_fee_amount> <grades_received>0</grades_received> <grading_end_date>0001-01-01T00:00:00</grading_end_date> <has_special_requirements>false</has_special_requirements> <instructors> <InstructorResponse> <ResponseStatus xmlns:d7p1="http://schemas.servicestack.net/types"> <d7p1:ErrorCode>String</d7p1:ErrorCode> <d7p1:Message>String</d7p1:Message> <d7p1:StackTrace>String</d7p1:StackTrace> <d7p1:Errors> <d7p1:ResponseError> <d7p1:ErrorCode>String</d7p1:ErrorCode> <d7p1:FieldName>String</d7p1:FieldName> <d7p1:Message>String</d7p1:Message> <d7p1:Meta xmlns:d10p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d10p1:KeyValueOfstringstring> <d10p1:Key>String</d10p1:Key> <d10p1:Value>String</d10p1:Value> </d10p1:KeyValueOfstringstring> </d7p1:Meta> </d7p1:ResponseError> </d7p1:Errors> <d7p1:Meta xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d8p1:KeyValueOfstringstring> <d8p1:Key>String</d8p1:Key> <d8p1:Value>String</d8p1:Value> </d8p1:KeyValueOfstringstring> </d7p1:Meta> </ResponseStatus> <email>String</email> <first_name>String</first_name> <full_name>String</full_name> <image_base64>String</image_base64> <last_name>String</last_name> <preferred_name>String</preferred_name> <regent_id>0</regent_id> <regent_login>String</regent_login> </InstructorResponse> </instructors> <is_evening>false</is_evening> <is_online_only>false</is_online_only> <is_unlisted>false</is_unlisted> <is_waitlist>false</is_waitlist> <is_weekday>false</is_weekday> <is_weekend>false</is_weekend> <last_meeting_date>0001-01-01T00:00:00</last_meeting_date> <location_long_name>String</location_long_name> <meeting_days>String</meeting_days> <one_audit>0</one_audit> <one_credit>0</one_credit> <prerequisites>String</prerequisites> <registered_students>0</registered_students> <registration_end_date>0001-01-01T00:00:00</registration_end_date> <registration_start_date>0001-01-01T00:00:00</registration_start_date> <reporting_term>String</reporting_term> <reporting_year>0</reporting_year> <required_documents> <DocumentResponse> <code>String</code> <document_description>String</document_description> <document_name>String</document_name> </DocumentResponse> </required_documents> <room>String</room> <secUUID>String</secUUID> <section_code>String</section_code> <special_requirements>String</special_requirements> <start_date>0001-01-01T00:00:00</start_date> <start_times xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1:string> </start_times> <term>String</term> <three_audit_plus>0</three_audit_plus> <three_credit_plus>0</three_credit_plus> <timestamp>0001-01-01T00:00:00</timestamp> <two_audit>0</two_audit> <two_credit>0</two_credit> <is_audit>false</is_audit> <is_provisional>false</is_provisional> <registered_amount>0</registered_amount> <studentSectionUUID>String</studentSectionUUID> </studentSection> </StudentSectionInvoiceItemResponse> </studentSectionInvoiceItems> <totalCreditHours>0</totalCreditHours> <transaction_uuid>String</transaction_uuid> </AddRegistrationsResponse>