TicketUserServices

<back to all web services

EventExtraCostCreateRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
POST/EventExtraCost
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 EventExtraCostCreateRequest
            Public Overridable Property Item As EventExtraCost
        End Class

        Public Partial Class EventExtraCostResult
            Public Overridable Property Item As EventExtraCost
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
        End Class
    End Namespace

    Namespace TicketUserServices.ServiceModel.Types.Payouts

        Public Partial Class EventExtraCost
            Public Overridable Property Id As Integer
            Public Overridable Property EventId As Integer
            Public Overridable Property Amount As Integer
            Public Overridable Property Reason As String
            Public Overridable Property CreatedAt As Date
        End Class
    End Namespace
End Namespace

VB.NET EventExtraCostCreateRequest 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 /EventExtraCost HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"eventId":0,"amount":0,"reason":"String","createdAt":"0001-01-01T00:00:00.0000000"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"item":{"id":0,"eventId":0,"amount":0,"reason":"String","createdAt":"0001-01-01T00:00:00.0000000"},"statusCode":0,"message":"String"}