TicketUserServices

<back to all web services

EventPayoutApproveRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
POST/payouts/{Id}/approve
import java.math.*
import java.util.*
import net.servicestack.client.*


open class EventPayoutApproveRequest
{
    var id:Int? = null
    var memo:String? = null
}

open class EventPayoutGetResult
{
    var payout:EventPayout? = null
    var statusCode:Int? = null
    var message:String? = null
}

open class EventPayout
{
    var id:Int? = null
    @References(Event.class)
    var eventId:Int? = null

    @References(EventOwner.class)
    var eventOwnerId:Int? = null

    var state:String? = null
    var defaultEligibleAt:Date? = null
    var grossAmount:Long? = null
    var transactionFee:Long? = null
    var platformCut:Long? = null
    var freeTicketDeduction:Long? = null
    var minimumFeeDeduction:Long? = null
    var extraCostDeduction:Long? = null
    var fastSettlementFee:Long? = null
    var outstandingApplied:Long? = null
    var netAmount:Long? = null
    var fastSettlementRequested:Boolean? = null
    var fastSettlementRequestedAt:Date? = null
    var approvedBy:String? = null
    var approvedAt:Date? = null
    @References(IsbPayoutBatchRow.class)
    var isbPayoutBatchRowId:Int? = null

    var createdAt:Date? = null
    var updatedAt:Date? = null
    var memo:String? = null
}

Kotlin EventPayoutApproveRequest 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.

POST /payouts/{Id}/approve HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":0,"memo":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"payout":{"id":0,"eventId":0,"eventOwnerId":0,"state":"String","defaultEligibleAt":"0001-01-01T00:00:00.0000000","grossAmount":0,"transactionFee":0,"platformCut":0,"freeTicketDeduction":0,"minimumFeeDeduction":0,"extraCostDeduction":0,"fastSettlementFee":0,"outstandingApplied":0,"netAmount":0,"fastSettlementRequested":false,"fastSettlementRequestedAt":"0001-01-01T00:00:00.0000000","approvedBy":"String","approvedAt":"0001-01-01T00:00:00.0000000","isbPayoutBatchRowId":0,"createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000","memo":"String"},"statusCode":0,"message":"String"}