TicketUserServices

<back to all web services

TicketTransferIncomingRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/ticketTransfer/incoming
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel

Namespace Global

    Namespace TicketUserServices.ServiceModel

        Public Partial Class TicketTransferBaseResult
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
            Public Overridable Property ErrorCode As String
        End Class

        Public Partial Class TicketTransferIncomingItem
            Public Sub New()
                Tickets = New List(Of TicketTransferTicketSummary)
            End Sub

            Public Overridable Property TransferToken As String
            Public Overridable Property EventId As Integer
            Public Overridable Property EventName As String
            Public Overridable Property TimeOfEvent As Nullable(Of Date)
            Public Overridable Property FromPhoneDisplay As String
            Public Overridable Property Tickets As List(Of TicketTransferTicketSummary)
            Public Overridable Property CreatedAt As Date
            Public Overridable Property ExpiresAt As Date
        End Class

        Public Partial Class TicketTransferIncomingRequest
            Public Overridable Property PhoneVerificationNumber As String
        End Class

        Public Partial Class TicketTransferIncomingResult
            Inherits TicketTransferBaseResult
            Public Sub New()
                Transfers = New List(Of TicketTransferIncomingItem)
            End Sub

            Public Overridable Property Transfers As List(Of TicketTransferIncomingItem)
        End Class

        Public Partial Class TicketTransferTicketSummary
            Public Overridable Property TicketName As String
            Public Overridable Property TicketDisplayString As String
            Public Overridable Property Count As Integer
        End Class
    End Namespace
End Namespace

VB.NET TicketTransferIncomingRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ticketTransfer/incoming HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"phoneVerificationNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"transfers":[{"transferToken":"String","eventId":0,"eventName":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","fromPhoneDisplay":"String","tickets":[{"ticketName":"String","ticketDisplayString":"String","count":0}],"createdAt":"0001-01-01T00:00:00.0000000","expiresAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String","errorCode":"String"}