| 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 .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/rate-balance-report HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
year: 0,
rate_code: String,
authorizing_uuid: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
regent_id: 0,
student_uuid: String,
student_name: String,
fall_balance: 0,
winter_balance: 0,
summer_balance: 0,
fall_credit_hours: 0,
fall_audit_hours: 0,
winter_credit_hours: 0,
winter_audit_hours: 0,
summer_credit_hours: 0,
summer_audit_hours: 0,
fall_invoices:
[
{
added_date: 0001-01-01,
charge: 0,
credit: 0,
balance: 0
}
],
winter_invoices:
[
{
added_date: 0001-01-01,
charge: 0,
credit: 0,
balance: 0
}
],
summer_invoices:
[
{
added_date: 0001-01-01,
charge: 0,
credit: 0,
balance: 0
}
],
total_balance: 0
}
]