TicketUserServices

<back to all web services

OwnerEventTicketPriceSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
POST/ownerEventTicketPrice/SearchSearch 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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"ownerId":0,"ksiOwnerid":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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-01T00:00:00.0000000","eventOwnerId":0}],"statusCode":0,"message":"String"}