Requires any of the roles: | Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp | Required permissions: | Tickets.Add, Tickets.Add |
GET PUT POST | /ownerEventTicketPrice | Change Tickets prices for Event | Id only when changing (PUT). isOwnerTicket is false if the Ticket is default ticket for series |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class OwnerEventTicketPriceRequest
{
var id:Int? = null
var isOwnerTicket:Boolean? = null
var eventId:Int? = null
var ticketId:Int? = null
var eventOwnerId:Int? = null
var seriesId:Int? = null
var price:BigDecimal? = null
var hide:Boolean? = null
var active:Boolean? = null
var maxTickets:Int? = null
}
open class OwnerEventTicketPriceResult
{
var ticketPrice:EventTicketPrice? = null
var statusCode:Int? = null
var message:String? = null
}
open class EventTicketPrice
{
var id:Int? = null
var name:String? = null
var price:BigDecimal? = null
var ticketTypeId:Int? = null
var ticketOwnerTypeId:Int? = null
var eventId:Int? = null
var hidden:Boolean? = null
var isActive:Boolean? = null
var maxTickets:Int? = null
var currency:String? = null
}
Kotlin OwnerEventTicketPriceRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ownerEventTicketPrice HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"id":0,"isOwnerTicket":false,"eventId":0,"ticketId":0,"eventOwnerId":0,"seriesId":0,"price":0,"hide":false,"active":false,"maxTickets":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ticketPrice":{"id":0,"name":"String","price":0,"ticketTypeId":0,"ticketOwnerTypeId":0,"eventId":0,"hidden":false,"isActive":false,"maxTickets":0,"currency":"String"},"statusCode":0,"message":"String"}