TicketUserServices

<back to all web services

EventSeatingReleaseSeatsRequest

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

public class dtos
{

    public static class EventSeatingReleaseSeatsRequest
    {
        public Integer eventId = null;
        public ArrayList<Integer> seatsToRelease = null;
        public String reservationTokenId = null;
        public String phoneVerificationNumber = null;
        public String deviceId = null;
        public Long requestUnixUTCTimeStamp = null;
        public RequestSignature signature = null;
        
        public Integer getEventId() { return eventId; }
        public EventSeatingReleaseSeatsRequest setEventId(Integer value) { this.eventId = value; return this; }
        public ArrayList<Integer> getSeatsToRelease() { return seatsToRelease; }
        public EventSeatingReleaseSeatsRequest setSeatsToRelease(ArrayList<Integer> value) { this.seatsToRelease = value; return this; }
        public String getReservationTokenId() { return reservationTokenId; }
        public EventSeatingReleaseSeatsRequest setReservationTokenId(String value) { this.reservationTokenId = value; return this; }
        public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
        public EventSeatingReleaseSeatsRequest setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
        public String getDeviceId() { return deviceId; }
        public EventSeatingReleaseSeatsRequest setDeviceId(String value) { this.deviceId = value; return this; }
        public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
        public EventSeatingReleaseSeatsRequest setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
        public RequestSignature getSignature() { return signature; }
        public EventSeatingReleaseSeatsRequest 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 EventSeatingReleaseSeatsResult
    {
        public Integer statusCode = null;
        public String message = null;
        
        public Integer getStatusCode() { return statusCode; }
        public EventSeatingReleaseSeatsResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventSeatingReleaseSeatsResult setMessage(String value) { this.message = value; return this; }
    }

}

Java EventSeatingReleaseSeatsRequest 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 /EventSeatingReleaseSeats HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"eventId":0,"seatsToRelease":[0],"reservationTokenId":"String","phoneVerificationNumber":"String","deviceId":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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