TicketUserServices

<back to all web services

GetTicketStatusRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET POST/ticketOrder/status
import Foundation
import ServiceStack

public class GetTicketStatusRequest : Codable
{
    public var phoneVerificationNumber:String?
    public var deviceId:String?
    public var ticketTokenId:String?
    public var requestUnixUTCTimeStamp:Int?
    public var signature:RequestSignature?

    required public init(){}
}

public class RequestSignature : Codable
{
    public var systemId:String?
    public var systemSecret:String?
    public var signature:String?

    required public init(){}
}

public class GetTicketStatusResponse : Codable
{
    public var statusCode:Int?
    public var success:Bool?
    public var message:String?
    public var ticketStatus:String?

    required public init(){}
}


Swift GetTicketStatusRequest 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 /ticketOrder/status HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"phoneVerificationNumber":"String","deviceId":"String","ticketTokenId":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"statusCode":0,"success":false,"message":"String","ticketStatus":"String"}