| Required role: | REGISUserRole |
| POST | /registration/rate-balance-report |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class RateBalanceReportRequest implements IConvertible
{
int? year;
String? rate_code;
String? authorizing_uuid;
RateBalanceReportRequest({this.year,this.rate_code,this.authorizing_uuid});
RateBalanceReportRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
year = json['year'];
rate_code = json['rate_code'];
authorizing_uuid = json['authorizing_uuid'];
return this;
}
Map<String, dynamic> toJson() => {
'year': year,
'rate_code': rate_code,
'authorizing_uuid': authorizing_uuid
};
getTypeName() => "RateBalanceReportRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'RateBalanceReportRequest': TypeInfo(TypeOf.Class, create:() => RateBalanceReportRequest()),
});
Dart RateBalanceReportRequest 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/rate-balance-report HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<RateBalanceReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<authorizing_uuid>String</authorizing_uuid>
<rate_code>String</rate_code>
<year>0</year>
</RateBalanceReportRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfRateBalanceReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
<RateBalanceReportResponse>
<fall_audit_hours>0</fall_audit_hours>
<fall_balance>0</fall_balance>
<fall_credit_hours>0</fall_credit_hours>
<fall_invoices>
<RateBalanceInvoiceResponse>
<added_date>0001-01-01T00:00:00</added_date>
<charge>0</charge>
<credit>0</credit>
</RateBalanceInvoiceResponse>
</fall_invoices>
<regent_id>0</regent_id>
<student_name>String</student_name>
<student_uuid>String</student_uuid>
<summer_audit_hours>0</summer_audit_hours>
<summer_balance>0</summer_balance>
<summer_credit_hours>0</summer_credit_hours>
<summer_invoices>
<RateBalanceInvoiceResponse>
<added_date>0001-01-01T00:00:00</added_date>
<charge>0</charge>
<credit>0</credit>
</RateBalanceInvoiceResponse>
</summer_invoices>
<winter_audit_hours>0</winter_audit_hours>
<winter_balance>0</winter_balance>
<winter_credit_hours>0</winter_credit_hours>
<winter_invoices>
<RateBalanceInvoiceResponse>
<added_date>0001-01-01T00:00:00</added_date>
<charge>0</charge>
<credit>0</credit>
</RateBalanceInvoiceResponse>
</winter_invoices>
</RateBalanceReportResponse>
</ArrayOfRateBalanceReportResponse>