| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeats/SeatHoldersAtEvent |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EventSeatHoldersAtEventRequest
{
public Integer eventId = null;
public Integer getEventId() { return eventId; }
public EventSeatHoldersAtEventRequest setEventId(Integer value) { this.eventId = value; return this; }
}
public static class EventSeatHoldersAtEventResult
{
public ArrayList<EventSeatHolderName> items = null;
public Integer statusCode = null;
public String message = null;
public ArrayList<EventSeatHolderName> getItems() { return items; }
public EventSeatHoldersAtEventResult setItems(ArrayList<EventSeatHolderName> value) { this.items = value; return this; }
public Integer getStatusCode() { return statusCode; }
public EventSeatHoldersAtEventResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public EventSeatHoldersAtEventResult setMessage(String value) { this.message = value; return this; }
}
public static class EventSeatHolderName
{
public Integer seatId = null;
public String holderName = null;
public String ticketStatus = null;
public String seatStatus = null;
public String origin = null;
public Integer getSeatId() { return seatId; }
public EventSeatHolderName setSeatId(Integer value) { this.seatId = value; return this; }
public String getHolderName() { return holderName; }
public EventSeatHolderName setHolderName(String value) { this.holderName = value; return this; }
public String getTicketStatus() { return ticketStatus; }
public EventSeatHolderName setTicketStatus(String value) { this.ticketStatus = value; return this; }
public String getSeatStatus() { return seatStatus; }
public EventSeatHolderName setSeatStatus(String value) { this.seatStatus = value; return this; }
public String getOrigin() { return origin; }
public EventSeatHolderName setOrigin(String value) { this.origin = value; return this; }
}
}
Java EventSeatHoldersAtEventRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /EventSeats/SeatHoldersAtEvent HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"eventId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"items":[{"seatId":0,"holderName":"String","ticketStatus":"String","seatStatus":"String","origin":"String"}],"statusCode":0,"message":"String"}