TicketUserServices

<back to all web services

KsiCardTypesRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
All Verbs/ksiCardTypes
All Verbs/ksiCardTypes/{Id}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class KsiCardTypesRequest
{
    var id:String? = null
    var requestUnixUTCTimeStamp:Long? = null
    var signature:RequestSignature? = null
}

open class RequestSignature
{
    var systemId:String? = null
    var systemSecret:String? = null
    var signature:String? = null
}

open class KsiCardTypesResult
{
    var cards:ArrayList<KsiCardTypes> = ArrayList<KsiCardTypes>()
    var statusCode:Int? = null
    var message:String? = null
}

open class KsiCardTypes
{
    var ksiCardTypeId:String? = null
    var ksiCardTypeName:String? = null
    var ksiCardTypeDescription:String? = null
    var cardTypeOwner:String? = null
    var maxTicketsPerEvent:Int? = null
}

Kotlin KsiCardTypesRequest 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.

POST /ksiCardTypes HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	id: String,
	requestUnixUTCTimeStamp: 0,
	signature: 
	{
		systemId: String,
		systemSecret: String,
		signature: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	cards: 
	[
		{
			ksiCardTypeId: String,
			ksiCardTypeName: String,
			ksiCardTypeDescription: String,
			cardTypeOwner: String,
			maxTicketsPerEvent: 0
		}
	],
	statusCode: 0,
	message: String
}