TicketUserServices

<back to all web services

EventSeatNameDetailsRequest

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

public class dtos
{

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

    public static class EventSeatNameDetailsResult
    {
        public EventSeatNameDetails nameDetails = null;
        public Integer statusCode = null;
        public String message = null;
        
        public EventSeatNameDetails getNameDetails() { return nameDetails; }
        public EventSeatNameDetailsResult setNameDetails(EventSeatNameDetails value) { this.nameDetails = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventSeatNameDetailsResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventSeatNameDetailsResult setMessage(String value) { this.message = value; return this; }
    }

    public static class EventSeatNameDetails
    {
        public Integer id = null;
        public String seatName = null;
        public Integer rowId = null;
        public String rowName = null;
        public Integer sectionId = null;
        public String sectionName = null;
        
        public Integer getId() { return id; }
        public EventSeatNameDetails setId(Integer value) { this.id = value; return this; }
        public String getSeatName() { return seatName; }
        public EventSeatNameDetails setSeatName(String value) { this.seatName = value; return this; }
        public Integer getRowId() { return rowId; }
        public EventSeatNameDetails setRowId(Integer value) { this.rowId = value; return this; }
        public String getRowName() { return rowName; }
        public EventSeatNameDetails setRowName(String value) { this.rowName = value; return this; }
        public Integer getSectionId() { return sectionId; }
        public EventSeatNameDetails setSectionId(Integer value) { this.sectionId = value; return this; }
        public String getSectionName() { return sectionName; }
        public EventSeatNameDetails setSectionName(String value) { this.sectionName = value; return this; }
    }

}

Java EventSeatNameDetailsRequest 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 /EventSeats/SeatNameDetails HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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

{"nameDetails":{"id":0,"seatName":"String","rowId":0,"rowName":"String","sectionId":0,"sectionName":"String"},"statusCode":0,"message":"String"}