TicketUserServices

<back to all web services

EventPayoutGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
GET/payouts/{Id}
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Imports TicketUserServices.ServiceModel.Types.Payouts

Namespace Global

    Namespace TicketUserServices.ServiceModel

        Public Partial Class EventPayoutGetRequest
            Public Overridable Property Id As Integer
        End Class

        Public Partial Class EventPayoutGetResult
            Public Overridable Property Payout As EventPayout
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
        End Class
    End Namespace

    Namespace TicketUserServices.ServiceModel.Types.Payouts

        Public Partial Class EventPayout
            Public Overridable Property Id As Integer
            <References(GetType(Event))>
            Public Overridable Property EventId As Integer

            <References(GetType(EventOwner))>
            Public Overridable Property EventOwnerId As Integer

            Public Overridable Property State As String
            Public Overridable Property DefaultEligibleAt As Date
            Public Overridable Property GrossAmount As Long
            Public Overridable Property TransactionFee As Long
            Public Overridable Property PlatformCut As Long
            Public Overridable Property FreeTicketDeduction As Long
            Public Overridable Property MinimumFeeDeduction As Long
            Public Overridable Property ExtraCostDeduction As Long
            Public Overridable Property FastSettlementFee As Long
            Public Overridable Property OutstandingApplied As Long
            Public Overridable Property NetAmount As Long
            Public Overridable Property FastSettlementRequested As Boolean
            Public Overridable Property FastSettlementRequestedAt As Nullable(Of Date)
            Public Overridable Property ApprovedBy As String
            Public Overridable Property ApprovedAt As Nullable(Of Date)
            <References(GetType(IsbPayoutBatchRow))>
            Public Overridable Property IsbPayoutBatchRowId As Nullable(Of Integer)

            Public Overridable Property CreatedAt As Date
            Public Overridable Property UpdatedAt As Nullable(Of Date)
            Public Overridable Property Memo As String
        End Class
    End Namespace
End Namespace

VB.NET EventPayoutGetRequest 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/{Id} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
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"}