TicketUserServices

<back to all web services

SharedTicketLinkGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET/SharedTicketLink/{Token}
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


open class SharedTicketLinkGetRequest
{
    var token:String? = null
}

open class SharedTicketLinkPublicResult
{
    var ok:Boolean? = null
    var token:String? = null
    var eventId:Int? = null
    var ticketOwnerTypeId:Int? = null
    var count:Int? = null
    var sectionId:Int? = null
    var seats:ArrayList<SharedTicketLinkSeatInfo> = ArrayList<SharedTicketLinkSeatInfo>()
    var status:String? = null
    var validTo:Date? = null
    var statusMessage:LocalizedMessage? = null
    var statusCode:Int? = null
    var message:String? = null
}

open class SharedTicketLinkSeatInfo
{
    var seatId:Int? = null
    var sectionName:String? = null
    var rowName:String? = null
    var seatName:String? = null
}

open class LocalizedMessage
{
    @SerializedName("is") var Is:String? = null
    var en:String? = null
}

Kotlin SharedTicketLinkGetRequest 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 /SharedTicketLink/{Token} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ok: False,
	token: String,
	eventId: 0,
	ticketOwnerTypeId: 0,
	count: 0,
	sectionId: 0,
	seats: 
	[
		{
			seatId: 0,
			sectionName: String,
			rowName: String,
			seatName: String
		}
	],
	status: String,
	validTo: 0001-01-01,
	statusMessage: 
	{
		is: String,
		en: String
	},
	statusCode: 0,
	message: String
}