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 java.math.*
import java.util.*
import net.servicestack.client.*
open class OwnerSeriesTicketPriceRequest
{
var id:Int? = null
var ticketId:Int? = null
var eventOwnerId:Int? = null
var seriesId:Int? = null
var defaultPrice:BigDecimal? = null
var hide:Boolean? = null
var active:Boolean? = null
var maxTickets:Int? = null
}
open class OwnerSeriesTicketPriceResult
{
var ticketPrice:EventSeriesOwnerTicketPrice? = null
var statusCode:Int? = null
var message:String? = null
}
open class EventSeriesOwnerTicketPrice
{
var id:Int? = null
var ownerId:Int? = null
var defaultPrice:BigDecimal? = null
var ticketTypeId:Int? = null
var seriesId:Int? = null
var ticketTypeListOrder:Int? = null
var isHidden:Boolean? = null
var isActive:Boolean? = null
var maxTickets:Int? = null
var currency:String? = null
}
Kotlin 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 }