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

<EventSeatNameDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <SeatId>0</SeatId>
</EventSeatNameDetailsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventSeatNameDetailsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <NameDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:ID>0</d2p1:ID>
    <d2p1:RowId>0</d2p1:RowId>
    <d2p1:RowName>String</d2p1:RowName>
    <d2p1:SeatName>String</d2p1:SeatName>
    <d2p1:SectionId>0</d2p1:SectionId>
    <d2p1:SectionName>String</d2p1:SectionName>
  </NameDetails>
  <StatusCode>0</StatusCode>
</EventSeatNameDetailsResult>