TicketUserServices

<back to all web services

EventSeatHolderInfoRequest

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

public class dtos
{

    public static class EventSeatHolderInfoRequest
    {
        public Integer seatId = null;
        
        public Integer getSeatId() { return seatId; }
        public EventSeatHolderInfoRequest setSeatId(Integer value) { this.seatId = value; return this; }
    }

    public static class EventSeatHolderInfoResult
    {
        public TicketDetailsHolders holderInfo = null;
        public Integer statusCode = null;
        public String message = null;
        
        public TicketDetailsHolders getHolderInfo() { return holderInfo; }
        public EventSeatHolderInfoResult setHolderInfo(TicketDetailsHolders value) { this.holderInfo = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventSeatHolderInfoResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventSeatHolderInfoResult setMessage(String value) { this.message = value; return this; }
    }

    public static class TicketDetailsHolders
    {
        public Integer id = null;
        public Integer ticketDetailsId = null;
        public String holderId = null;
        public String holderName = null;
        public String holderFullPhoneNumber = null;
        public Integer seatId = null;
        
        public Integer getId() { return id; }
        public TicketDetailsHolders setId(Integer value) { this.id = value; return this; }
        public Integer getTicketDetailsId() { return ticketDetailsId; }
        public TicketDetailsHolders setTicketDetailsId(Integer value) { this.ticketDetailsId = value; return this; }
        public String getHolderId() { return holderId; }
        public TicketDetailsHolders setHolderId(String value) { this.holderId = value; return this; }
        public String getHolderName() { return holderName; }
        public TicketDetailsHolders setHolderName(String value) { this.holderName = value; return this; }
        public String getHolderFullPhoneNumber() { return holderFullPhoneNumber; }
        public TicketDetailsHolders setHolderFullPhoneNumber(String value) { this.holderFullPhoneNumber = value; return this; }
        public Integer getSeatId() { return seatId; }
        public TicketDetailsHolders setSeatId(Integer value) { this.seatId = value; return this; }
    }

}

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

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

{"holderInfo":{"id":0,"ticketDetailsId":0,"holderId":"String","holderName":"String","holderFullPhoneNumber":"String","seatId":0},"statusCode":0,"message":"String"}