Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
POST | /ownerEventTicketPrice/Search | Search for event ticket prices |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class OwnerEventTicketPriceSearchRequest
{
var ownerId:Int? = null
var ksiOwnerid:String? = null
}
open class OwnerEventTicketPricesSearchResult
{
var ticketPrices:ArrayList<OwnerEventTicketPriceInfo> = ArrayList<OwnerEventTicketPriceInfo>()
var statusCode:Int? = null
var message:String? = null
}
open class OwnerEventTicketPriceInfo
{
var id:Int? = 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 seriesTicketName:String? = null
var seriesPrice:BigDecimal? = null
var seriesTicketIsActive:Boolean? = null
var seriesTicketColor:String? = null
var ownerTicketName:String? = null
var ownerPrice:BigDecimal? = null
var ownerTicketIsActive:Boolean? = null
var ownerTicketColor:String? = null
var seriesName:String? = null
var ownerName:String? = null
var eventName:String? = null
var eventDescription:String? = null
var timeOfEvent:Date? = null
var eventOwnerId:Int? = null
}
Kotlin OwnerEventTicketPriceSearchRequest 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 /ownerEventTicketPrice/Search HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ownerId: 0,
ksiOwnerid: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ticketPrices: [ { id: 0, price: 0, ticketTypeId: 0, ticketOwnerTypeId: 0, eventId: 0, hidden: False, isActive: False, maxTickets: 0, seriesTicketName: String, seriesPrice: 0, seriesTicketIsActive: False, seriesTicketColor: String, ownerTicketName: String, ownerPrice: 0, ownerTicketIsActive: False, ownerTicketColor: String, seriesName: String, ownerName: String, eventName: String, eventDescription: String, timeOfEvent: 0001-01-01, eventOwnerId: 0 } ], statusCode: 0, message: String }