| Requires the role: | Admin |
| GET | /payouts/batches |
|---|
import Foundation
import ServiceStack
public class PayoutBatchListRequest : Codable
{
public var limit:Int?
required public init(){}
}
public class PayoutBatchListResult : Codable
{
public var items:[IsbPayoutBatch] = []
public var statusCode:Int?
public var message:String?
required public init(){}
}
public class IsbPayoutBatch : Codable
{
public var id:Int?
public var batchType:String?
public var operationId:String?
public var createdAt:Date?
public var dateOfPayment:Date?
public var rowCount:Int?
public var totalAmount:Int?
// @StringLength(Int32.max)
public var requestXml:String?
// @StringLength(Int32.max)
public var responseXml:String?
public var status:String?
required public init(){}
}
Swift PayoutBatchListRequest 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.
GET /payouts/batches HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
items:
[
{
id: 0,
batchType: String,
operationId: String,
createdAt: 0001-01-01,
dateOfPayment: 0001-01-01,
rowCount: 0,
totalAmount: 0,
requestXml: String,
responseXml: String,
status: String
}
],
statusCode: 0,
message: String
}