| GET | /ticketHold/availability |
|---|
import Foundation
import ServiceStack
public class TicketHoldAvailabilityRequest : Codable
{
public var eventId:Int?
required public init(){}
}
public class TicketHoldAvailabilityResult : Codable
{
public var statusCode:Int?
public var message:String?
public var perCategory:[CategoryAvailability] = []
public var scarcity:Bool?
required public init(){}
}
public class CategoryAvailability : Codable
{
public var eventSeriesTicketType:Int?
public var eventSeriesOwnerTicketType:Int?
public var maxTickets:Int?
public var remaining:Int?
required public init(){}
}
Swift TicketHoldAvailabilityRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /ticketHold/availability HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String,
perCategory:
[
{
eventSeriesTicketType: 0,
eventSeriesOwnerTicketType: 0,
maxTickets: 0,
remaining: 0
}
],
scarcity: False
}