Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
POST | /EventSeats/SeatHolderInfo |
---|
import Foundation
import ServiceStack
public class EventSeatHolderInfoRequest : Codable
{
public var seatId:Int?
required public init(){}
}
public class EventSeatHolderInfoResult : Codable
{
public var holderInfo:TicketDetailsHolders?
public var statusCode:Int?
public var message:String?
required public init(){}
}
public class TicketDetailsHolders : Codable
{
public var id:Int?
public var ticketDetailsId:Int?
public var holderId:String?
public var holderName:String?
public var holderFullPhoneNumber:String?
public var seatId:Int?
required public init(){}
}
Swift EventSeatHolderInfoRequest 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/SeatHolderInfo HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<EventSeatHolderInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<SeatId>0</SeatId>
</EventSeatHolderInfoRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EventSeatHolderInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <HolderInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types"> <d2p1:HolderFullPhoneNumber>String</d2p1:HolderFullPhoneNumber> <d2p1:HolderId>String</d2p1:HolderId> <d2p1:HolderName>String</d2p1:HolderName> <d2p1:ID>0</d2p1:ID> <d2p1:SeatId>0</d2p1:SeatId> <d2p1:TicketDetailsId>0</d2p1:TicketDetailsId> </HolderInfo> <Message>String</Message> <StatusCode>0</StatusCode> </EventSeatHolderInfoResult>