| Required role: | REGISUserRole |
| POST | /Finance/AccountLate/{reporting_term}/Jobs/Status |
|---|
import Foundation
import ServiceStack
public class FinanceAccountLateChargeJobStatusRequest : Codable
{
public var authorizing_uuid:String
public var reporting_term:String
public var operation_id:String
required public init(){}
}
public class FinanceAccountLateChargeJobResponse : Codable
{
public var responseStatus:ResponseStatus
public var operation_id:String
public var reporting_term:String
public var calculation_date:Date
public var preview_only:Bool
public var skip_exact_balance:Double?
public var state:String
public var total:Int?
public var current_regent_id:Int?
public var processed:Int
public var succeeded:Int
public var skipped:Int
public var failed:Int
public var created_utc:Date
public var updated_utc:Date
public var message:String
public var report_available:Bool
public var outcomes:[FinanceAccountLateChargeOutcome] = []
required public init(){}
}
public class FinanceAccountLateChargeOutcome : Codable
{
public var regent_id:Int
public var status:String
public var charge_amount:Double?
public var charge_status:String
public var email_status:String
public var message:String
required public init(){}
}
Swift FinanceAccountLateChargeJobStatusRequest 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 /Finance/AccountLate/{reporting_term}/Jobs/Status HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
authorizing_uuid: String,
reporting_term: String,
operation_id: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
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-01,
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-01,
updated_utc: 0001-01-01,
message: String,
report_available: False,
outcomes:
[
{
regent_id: 0,
status: String,
charge_amount: 0,
charge_status: String,
email_status: String,
message: String
}
]
}