TicketUserServices

<back to all web services

PayoutBatchListRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
GET/payouts/batches
import java.math.*
import java.util.*
import net.servicestack.client.*


open class PayoutBatchListRequest
{
    var limit:Int? = null
}

open class PayoutBatchListResult
{
    var items:ArrayList<IsbPayoutBatch> = ArrayList<IsbPayoutBatch>()
    var statusCode:Int? = null
    var message:String? = null
}

open class IsbPayoutBatch
{
    var id:Int? = null
    var batchType:String? = null
    var operationId:String? = null
    var createdAt:Date? = null
    var dateOfPayment:Date? = null
    var rowCount:Int? = null
    var totalAmount:Long? = null
    @StringLength(2147483647)
    var requestXml:String? = null

    @StringLength(2147483647)
    var responseXml:String? = null

    var status:String? = null
}

Kotlin PayoutBatchListRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"items":[{"id":0,"batchType":"String","operationId":"String","createdAt":"0001-01-01T00:00:00.0000000","dateOfPayment":"0001-01-01T00:00:00.0000000","rowCount":0,"totalAmount":0,"requestXml":"String","responseXml":"String","status":"String"}],"statusCode":0,"message":"String"}