| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeats/SeatHoldersAtEvent |
|---|
import Foundation
import ServiceStack
public class EventSeatHoldersAtEventRequest : Codable
{
public var eventId:Int?
required public init(){}
}
public class EventSeatHoldersAtEventResult : Codable
{
public var items:[EventSeatHolderName] = []
public var statusCode:Int?
public var message:String?
required public init(){}
}
public class EventSeatHolderName : Codable
{
public var seatId:Int?
public var holderName:String?
public var ticketStatus:String?
public var seatStatus:String?
public var origin:String?
required public init(){}
}
Swift EventSeatHoldersAtEventRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<EventSeatHoldersAtEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<EventId>0</EventId>
</EventSeatHoldersAtEventRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<EventSeatHoldersAtEventResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Items>
<EventSeatHolderName>
<HolderName>String</HolderName>
<Origin>String</Origin>
<SeatId>0</SeatId>
<SeatStatus>String</SeatStatus>
<TicketStatus>String</TicketStatus>
</EventSeatHolderName>
</Items>
<Message>String</Message>
<StatusCode>0</StatusCode>
</EventSeatHoldersAtEventResult>