TicketUserServices

<back to all web services

TicketHoldAvailabilityRequest

The following routes are available for this service:
GET/ticketHold/availability
import java.math.*
import java.util.*
import net.servicestack.client.*


open class TicketHoldAvailabilityRequest
{
    var eventId:Int? = null
}

open class TicketHoldAvailabilityResult
{
    var statusCode:Int? = null
    var message:String? = null
    var perCategory:ArrayList<CategoryAvailability> = ArrayList<CategoryAvailability>()
    var scarcity:Boolean? = null
}

open class CategoryAvailability
{
    var eventSeriesTicketType:Int? = null
    var eventSeriesOwnerTicketType:Int? = null
    var maxTickets:Int? = null
    var remaining:Int? = null
}

Kotlin TicketHoldAvailabilityRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /ticketHold/availability HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	perCategory: 
	[
		{
			eventSeriesTicketType: 0,
			eventSeriesOwnerTicketType: 0,
			maxTickets: 0,
			remaining: 0
		}
	],
	scarcity: False
}