| Required role: | REGISUserRole |
| POST | /Finance/AccountLate/{reporting_term}/Jobs |
|---|
"use strict";
export class FinanceAccountLateChargeOutcome {
/** @param {{regent_id?:number,status?:string,charge_amount?:number,charge_status?:string,email_status?:string,message?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
regent_id;
/** @type {string} */
status;
/** @type {?number} */
charge_amount;
/** @type {string} */
charge_status;
/** @type {string} */
email_status;
/** @type {string} */
message;
}
export class FinanceAccountLateChargeJobResponse {
/** @param {{responseStatus?:ResponseStatus,operation_id?:string,reporting_term?:string,calculation_date?:string,preview_only?:boolean,skip_exact_balance?:number,state?:string,total?:number,current_regent_id?:number,processed?:number,succeeded?:number,skipped?:number,failed?:number,created_utc?:string,updated_utc?:string,message?:string,report_available?:boolean,outcomes?:FinanceAccountLateChargeOutcome[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
responseStatus;
/** @type {string} */
operation_id;
/** @type {string} */
reporting_term;
/** @type {string} */
calculation_date;
/** @type {boolean} */
preview_only;
/** @type {?number} */
skip_exact_balance;
/** @type {string} */
state;
/** @type {?number} */
total;
/** @type {?number} */
current_regent_id;
/** @type {number} */
processed;
/** @type {number} */
succeeded;
/** @type {number} */
skipped;
/** @type {number} */
failed;
/** @type {string} */
created_utc;
/** @type {string} */
updated_utc;
/** @type {string} */
message;
/** @type {boolean} */
report_available;
/** @type {FinanceAccountLateChargeOutcome[]} */
outcomes;
}
export class FinanceAccountLateChargeJobStartRequest {
/** @param {{authorizing_uuid?:string,reporting_term?:string,operation_id?:string,calculation_date?:string,preview_only?:boolean,skip_exact_balance?:number,send_emails?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
authorizing_uuid;
/** @type {string} */
reporting_term;
/** @type {string} */
operation_id;
/** @type {string} */
calculation_date;
/** @type {boolean} */
preview_only;
/** @type {?number} */
skip_exact_balance;
/** @type {boolean} */
send_emails;
}
JavaScript FinanceAccountLateChargeJobStartRequest 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 /Finance/AccountLate/{reporting_term}/Jobs HTTP/1.1
Host: data.regent-college.edu
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FinanceAccountLateChargeJobStartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<authorizing_uuid>String</authorizing_uuid>
<calculation_date>0001-01-01T00:00:00</calculation_date>
<operation_id>00000000-0000-0000-0000-000000000000</operation_id>
<preview_only>false</preview_only>
<reporting_term>String</reporting_term>
<send_emails>false</send_emails>
<skip_exact_balance>0</skip_exact_balance>
</FinanceAccountLateChargeJobStartRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FinanceAccountLateChargeJobResponse 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>
<calculation_date>0001-01-01T00:00:00</calculation_date>
<created_utc>0001-01-01T00:00:00</created_utc>
<current_regent_id>0</current_regent_id>
<failed>0</failed>
<message>String</message>
<operation_id>00000000-0000-0000-0000-000000000000</operation_id>
<outcomes>
<FinanceAccountLateChargeOutcome>
<charge_amount>0</charge_amount>
<charge_status>String</charge_status>
<email_status>String</email_status>
<message>String</message>
<regent_id>0</regent_id>
<status>String</status>
</FinanceAccountLateChargeOutcome>
</outcomes>
<preview_only>false</preview_only>
<processed>0</processed>
<report_available>false</report_available>
<reporting_term>String</reporting_term>
<skip_exact_balance>0</skip_exact_balance>
<skipped>0</skipped>
<state>String</state>
<succeeded>0</succeeded>
<total>0</total>
<updated_utc>0001-01-01T00:00:00</updated_utc>
</FinanceAccountLateChargeJobResponse>