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 .jsv suffix or ?format=jsv

HTTP + 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
}