Requires any of the roles: | Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp | Required permissions: | Tickets.Add, Tickets.Add, Tickets.Add |
GET PUT POST | /ownerTicketPrice | Change Tickets prices for Owner in Series | Id only when changing (PUT) |
---|
import Foundation
import ServiceStack
public class OwnerSeriesTicketPriceRequest : Codable
{
public var id:Int?
public var ticketId:Int?
public var eventOwnerId:Int?
public var seriesId:Int?
public var defaultPrice:Double?
public var hide:Bool?
public var active:Bool?
public var maxTickets:Int?
required public init(){}
}
public class OwnerSeriesTicketPriceResult : Codable
{
public var ticketPrice:EventSeriesOwnerTicketPrice?
public var statusCode:Int?
public var message:String?
required public init(){}
}
public class EventSeriesOwnerTicketPrice : Codable
{
public var id:Int?
public var ownerId:Int?
public var defaultPrice:Double?
public var ticketTypeId:Int?
public var seriesId:Int?
public var ticketTypeListOrder:Int?
public var isHidden:Bool?
public var isActive:Bool?
public var maxTickets:Int?
public var currency:String?
required public init(){}
}
Swift OwnerSeriesTicketPriceRequest 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.
POST /ownerTicketPrice HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
id: 0,
ticketId: 0,
eventOwnerId: 0,
seriesId: 0,
defaultPrice: 0,
hide: False,
active: False,
maxTickets: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ticketPrice: { id: 0, ownerId: 0, defaultPrice: 0, ticketTypeId: 0, seriesId: 0, ticketTypeListOrder: 0, isHidden: False, isActive: False, maxTickets: 0, currency: String }, statusCode: 0, message: String }