| Requires any of the roles: | Admin, TeamAdmin |
| GET | /payouts |
|---|
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 EventPayoutListRequest
Public Overridable Property State As String
Public Overridable Property EventOwnerId As Nullable(Of Integer)
Public Overridable Property EventId As Nullable(Of Integer)
Public Overridable Property CreatedFrom As Nullable(Of Date)
Public Overridable Property CreatedTo As Nullable(Of Date)
Public Overridable Property Limit As Nullable(Of Integer)
End Class
Public Partial Class EventPayoutListResult
Public Sub New()
Items = New List(Of EventPayout)
End Sub
Public Overridable Property Items As List(Of 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 EventPayoutListRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /payouts HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"items":[{"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"}