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 java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetTicketStatusRequest
    {
        public String phoneVerificationNumber = null;
        public String deviceId = null;
        public String ticketTokenId = null;
        public Long requestUnixUTCTimeStamp = null;
        public RequestSignature signature = null;
        
        public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
        public GetTicketStatusRequest setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
        public String getDeviceId() { return deviceId; }
        public GetTicketStatusRequest setDeviceId(String value) { this.deviceId = value; return this; }
        public String getTicketTokenId() { return ticketTokenId; }
        public GetTicketStatusRequest setTicketTokenId(String value) { this.ticketTokenId = value; return this; }
        public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
        public GetTicketStatusRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
        public RequestSignature getSignature() { return signature; }
        public GetTicketStatusRequest setSignature(RequestSignature value) { this.signature = value; return this; }
    }

    public static class RequestSignature
    {
        public String systemId = null;
        public String systemSecret = null;
        public String signature = null;
        
        public String getSystemId() { return systemId; }
        public RequestSignature setSystemId(String value) { this.systemId = value; return this; }
        public String getSystemSecret() { return systemSecret; }
        public RequestSignature setSystemSecret(String value) { this.systemSecret = value; return this; }
        public String getSignature() { return signature; }
        public RequestSignature setSignature(String value) { this.signature = value; return this; }
    }

    public static class GetTicketStatusResponse
    {
        public Integer statusCode = null;
        public Boolean success = null;
        public String message = null;
        public String ticketStatus = null;
        
        public Integer getStatusCode() { return statusCode; }
        public GetTicketStatusResponse setStatusCode(Integer value) { this.statusCode = value; return this; }
        public Boolean isSuccess() { return success; }
        public GetTicketStatusResponse setSuccess(Boolean value) { this.success = value; return this; }
        public String getMessage() { return message; }
        public GetTicketStatusResponse setMessage(String value) { this.message = value; return this; }
        public String getTicketStatus() { return ticketStatus; }
        public GetTicketStatusResponse setTicketStatus(String value) { this.ticketStatus = value; return this; }
    }

}

Java GetTicketStatusRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<GetTicketStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <DeviceId>String</DeviceId>
  <PhoneVerificationNumber>String</PhoneVerificationNumber>
  <RequestUnixUTCTimeStamp>0</RequestUnixUTCTimeStamp>
  <Signature>
    <Signature>String</Signature>
    <SystemId>String</SystemId>
    <SystemSecret>String</SystemSecret>
  </Signature>
  <TicketTokenId>String</TicketTokenId>
</GetTicketStatusRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetTicketStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <StatusCode>0</StatusCode>
  <Success>false</Success>
  <TicketStatus>String</TicketStatus>
</GetTicketStatusResponse>