| Required role: | REGISUserRole |
| POST | /Finance/AccountLate/{reporting_term}/Jobs/Result |
|---|
import 'package:servicestack/servicestack.dart';
class FinanceAccountLateChargeOutcome implements IConvertible
{
int? regent_id;
String? status;
double? charge_amount;
String? charge_status;
String? email_status;
String? message;
FinanceAccountLateChargeOutcome({this.regent_id,this.status,this.charge_amount,this.charge_status,this.email_status,this.message});
FinanceAccountLateChargeOutcome.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
regent_id = json['regent_id'];
status = json['status'];
charge_amount = JsonConverters.toDouble(json['charge_amount']);
charge_status = json['charge_status'];
email_status = json['email_status'];
message = json['message'];
return this;
}
Map<String, dynamic> toJson() => {
'regent_id': regent_id,
'status': status,
'charge_amount': charge_amount,
'charge_status': charge_status,
'email_status': email_status,
'message': message
};
getTypeName() => "FinanceAccountLateChargeOutcome";
TypeContext? context = _ctx;
}
class FinanceAccountLateChargeJobResponse implements IConvertible
{
ResponseStatus? responseStatus;
String? operation_id;
String? reporting_term;
DateTime? calculation_date;
bool? preview_only;
double? skip_exact_balance;
String? state;
int? total;
int? current_regent_id;
int? processed;
int? succeeded;
int? skipped;
int? failed;
DateTime? created_utc;
DateTime? updated_utc;
String? message;
bool? report_available;
List<FinanceAccountLateChargeOutcome>? outcomes;
FinanceAccountLateChargeJobResponse({this.responseStatus,this.operation_id,this.reporting_term,this.calculation_date,this.preview_only,this.skip_exact_balance,this.state,this.total,this.current_regent_id,this.processed,this.succeeded,this.skipped,this.failed,this.created_utc,this.updated_utc,this.message,this.report_available,this.outcomes});
FinanceAccountLateChargeJobResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
operation_id = json['operation_id'];
reporting_term = json['reporting_term'];
calculation_date = JsonConverters.fromJson(json['calculation_date'],'DateTime',context!);
preview_only = json['preview_only'];
skip_exact_balance = JsonConverters.toDouble(json['skip_exact_balance']);
state = json['state'];
total = json['total'];
current_regent_id = json['current_regent_id'];
processed = json['processed'];
succeeded = json['succeeded'];
skipped = json['skipped'];
failed = json['failed'];
created_utc = JsonConverters.fromJson(json['created_utc'],'DateTime',context!);
updated_utc = JsonConverters.fromJson(json['updated_utc'],'DateTime',context!);
message = json['message'];
report_available = json['report_available'];
outcomes = JsonConverters.fromJson(json['outcomes'],'List<FinanceAccountLateChargeOutcome>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'operation_id': operation_id,
'reporting_term': reporting_term,
'calculation_date': JsonConverters.toJson(calculation_date,'DateTime',context!),
'preview_only': preview_only,
'skip_exact_balance': skip_exact_balance,
'state': state,
'total': total,
'current_regent_id': current_regent_id,
'processed': processed,
'succeeded': succeeded,
'skipped': skipped,
'failed': failed,
'created_utc': JsonConverters.toJson(created_utc,'DateTime',context!),
'updated_utc': JsonConverters.toJson(updated_utc,'DateTime',context!),
'message': message,
'report_available': report_available,
'outcomes': JsonConverters.toJson(outcomes,'List<FinanceAccountLateChargeOutcome>',context!)
};
getTypeName() => "FinanceAccountLateChargeJobResponse";
TypeContext? context = _ctx;
}
class FinanceAccountLateChargeResponse implements IConvertible
{
ResponseStatus? responseStatus;
String? skip_reason;
String? charge_status;
String? email_status;
String? charge_error;
String? email_error;
int? regent_id;
String? first_name;
String? last_name;
String? uuid;
bool? has_late_reg_fee;
double? amount_owing;
double? late_fee;
double? interest;
String? active_financial_restrictions;
String? new_financial_restriction;
DateTime? last_registration_date;
FinanceAccountLateChargeResponse({this.responseStatus,this.skip_reason,this.charge_status,this.email_status,this.charge_error,this.email_error,this.regent_id,this.first_name,this.last_name,this.uuid,this.has_late_reg_fee,this.amount_owing,this.late_fee,this.interest,this.active_financial_restrictions,this.new_financial_restriction,this.last_registration_date});
FinanceAccountLateChargeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
skip_reason = json['skip_reason'];
charge_status = json['charge_status'];
email_status = json['email_status'];
charge_error = json['charge_error'];
email_error = json['email_error'];
regent_id = json['regent_id'];
first_name = json['first_name'];
last_name = json['last_name'];
uuid = json['uuid'];
has_late_reg_fee = json['has_late_reg_fee'];
amount_owing = JsonConverters.toDouble(json['amount_owing']);
late_fee = JsonConverters.toDouble(json['late_fee']);
interest = JsonConverters.toDouble(json['interest']);
active_financial_restrictions = json['active_financial_restrictions'];
new_financial_restriction = json['new_financial_restriction'];
last_registration_date = JsonConverters.fromJson(json['last_registration_date'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'skip_reason': skip_reason,
'charge_status': charge_status,
'email_status': email_status,
'charge_error': charge_error,
'email_error': email_error,
'regent_id': regent_id,
'first_name': first_name,
'last_name': last_name,
'uuid': uuid,
'has_late_reg_fee': has_late_reg_fee,
'amount_owing': amount_owing,
'late_fee': late_fee,
'interest': interest,
'active_financial_restrictions': active_financial_restrictions,
'new_financial_restriction': new_financial_restriction,
'last_registration_date': JsonConverters.toJson(last_registration_date,'DateTime',context!)
};
getTypeName() => "FinanceAccountLateChargeResponse";
TypeContext? context = _ctx;
}
class FinanceAccountLateChargeJobResultResponse implements IConvertible
{
ResponseStatus? responseStatus;
FinanceAccountLateChargeJobResponse? job;
List<FinanceAccountLateChargeResponse>? accounts;
FinanceAccountLateChargeJobResultResponse({this.responseStatus,this.job,this.accounts});
FinanceAccountLateChargeJobResultResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
job = JsonConverters.fromJson(json['job'],'FinanceAccountLateChargeJobResponse',context!);
accounts = JsonConverters.fromJson(json['accounts'],'List<FinanceAccountLateChargeResponse>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!),
'job': JsonConverters.toJson(job,'FinanceAccountLateChargeJobResponse',context!),
'accounts': JsonConverters.toJson(accounts,'List<FinanceAccountLateChargeResponse>',context!)
};
getTypeName() => "FinanceAccountLateChargeJobResultResponse";
TypeContext? context = _ctx;
}
class FinanceAccountLateChargeJobResultRequest implements IConvertible
{
String? authorizing_uuid;
String? reporting_term;
String? operation_id;
FinanceAccountLateChargeJobResultRequest({this.authorizing_uuid,this.reporting_term,this.operation_id});
FinanceAccountLateChargeJobResultRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
authorizing_uuid = json['authorizing_uuid'];
reporting_term = json['reporting_term'];
operation_id = json['operation_id'];
return this;
}
Map<String, dynamic> toJson() => {
'authorizing_uuid': authorizing_uuid,
'reporting_term': reporting_term,
'operation_id': operation_id
};
getTypeName() => "FinanceAccountLateChargeJobResultRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'FinanceAccountLateChargeOutcome': TypeInfo(TypeOf.Class, create:() => FinanceAccountLateChargeOutcome()),
'FinanceAccountLateChargeJobResponse': TypeInfo(TypeOf.Class, create:() => FinanceAccountLateChargeJobResponse()),
'List<FinanceAccountLateChargeOutcome>': TypeInfo(TypeOf.Class, create:() => <FinanceAccountLateChargeOutcome>[]),
'FinanceAccountLateChargeResponse': TypeInfo(TypeOf.Class, create:() => FinanceAccountLateChargeResponse()),
'FinanceAccountLateChargeJobResultResponse': TypeInfo(TypeOf.Class, create:() => FinanceAccountLateChargeJobResultResponse()),
'List<FinanceAccountLateChargeResponse>': TypeInfo(TypeOf.Class, create:() => <FinanceAccountLateChargeResponse>[]),
'FinanceAccountLateChargeJobResultRequest': TypeInfo(TypeOf.Class, create:() => FinanceAccountLateChargeJobResultRequest()),
});
Dart FinanceAccountLateChargeJobResultRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Finance/AccountLate/{reporting_term}/Jobs/Result HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
Content-Length: length
{"authorizing_uuid":"String","reporting_term":"String","operation_id":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"job":{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"operation_id":"00000000000000000000000000000000","reporting_term":"String","calculation_date":"0001-01-01T00:00:00.0000000","preview_only":false,"skip_exact_balance":0,"state":"String","total":0,"current_regent_id":0,"processed":0,"succeeded":0,"skipped":0,"failed":0,"created_utc":"0001-01-01T00:00:00.0000000","updated_utc":"0001-01-01T00:00:00.0000000","message":"String","report_available":false,"outcomes":[{"regent_id":0,"status":"String","charge_amount":0,"charge_status":"String","email_status":"String","message":"String"}]},"accounts":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"skip_reason":"String","charge_status":"String","email_status":"String","charge_error":"String","email_error":"String","regent_id":0,"first_name":"String","last_name":"String","uuid":"String","has_late_reg_fee":false,"amount_owing":0,"late_fee":0,"interest":0,"active_financial_restrictions":"String","new_financial_restriction":"String","last_registration_date":"0001-01-01T00:00:00.0000000"}]}