TicketUserServices

<back to all web services

TicketTransferRetractRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/ticketTransfer/retract
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class TicketTransferRetractRequest
    {
        public String phoneVerificationNumber = null;
        public String transferToken = null;
        
        public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
        public TicketTransferRetractRequest setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
        public String getTransferToken() { return transferToken; }
        public TicketTransferRetractRequest setTransferToken(String value) { this.transferToken = value; return this; }
    }

    public static class TicketTransferRetractResult extends TicketTransferBaseResult
    {
        public String status = null;
        
        public String getStatus() { return status; }
        public TicketTransferRetractResult setStatus(String value) { this.status = value; return this; }
    }

    public static class TicketTransferBaseResult
    {
        public Integer statusCode = null;
        public String message = null;
        public String errorCode = null;
        
        public Integer getStatusCode() { return statusCode; }
        public TicketTransferBaseResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public TicketTransferBaseResult setMessage(String value) { this.message = value; return this; }
        public String getErrorCode() { return errorCode; }
        public TicketTransferBaseResult setErrorCode(String value) { this.errorCode = value; return this; }
    }

}

Java TicketTransferRetractRequest 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/retract HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

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

{"status":"String","statusCode":0,"message":"String","errorCode":"String"}