Trendsic Platform Service

<back to all web services

LobbySettingsRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,PUT,OPTIONS/v1/queue/lobby-settings/{LocationId}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class LobbySettingsRequest
{
    open var LocationId:UUID? = null
    open var WaitSource:String? = null
    open var MonitorChime:String? = null
    open var MonitorVolume:Int? = null
    open var MonitorAnnounce:Boolean? = null
    open var MonitorAnnounceTemplate:String? = null
    open var MonitorVoice:String? = null
    open var MonitorVoiceRate:BigDecimal? = null
    open var MonitorRepeatAfterSec:Int? = null
    open var MonitorTicketOnly:Boolean? = null
    open var LobbyZoneMode:String? = null
    open var LobbyTakeoverEveryMin:Int? = null
    open var LobbyTakeoverSec:Int? = null
    open var LobbyIdleScreen:Boolean? = null
}

open class LobbySettingsResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Settings:LobbySettings? = null
    open var Chimes:ArrayList<LobbyChimeOption> = ArrayList<LobbyChimeOption>()
}

open class LobbySettings
{
    open var LocationId:UUID? = null
    open var WaitSource:String? = null
    open var MonitorChime:String? = null
    open var HasUploadedChime:Boolean? = null
    open var ChimeUrl:String? = null
    open var MonitorVolume:Int? = null
    open var MonitorAnnounce:Boolean? = null
    open var MonitorAnnounceTemplate:String? = null
    open var MonitorVoice:String? = null
    open var MonitorVoiceRate:BigDecimal? = null
    open var MonitorRepeatAfterSec:Int? = null
    open var MonitorTicketOnly:Boolean? = null
    open var LobbyZoneMode:String? = null
    open var LobbyTakeoverEveryMin:Int? = null
    open var LobbyTakeoverSec:Int? = null
    open var LobbyIdleScreen:Boolean? = null
    open var TimeZone:String? = null
}

open class LobbyChimeOption
{
    open var Key:String? = null
    open var Label:String? = null
    open var Url:String? = null
}

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

PUT /v1/queue/lobby-settings/{LocationId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	LocationId: 00000000000000000000000000000000,
	WaitSource: String,
	MonitorChime: String,
	MonitorVolume: 0,
	MonitorAnnounce: False,
	MonitorAnnounceTemplate: String,
	MonitorVoice: String,
	MonitorVoiceRate: 0,
	MonitorRepeatAfterSec: 0,
	MonitorTicketOnly: False,
	LobbyZoneMode: String,
	LobbyTakeoverEveryMin: 0,
	LobbyTakeoverSec: 0,
	LobbyIdleScreen: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Settings: 
	{
		LocationId: 00000000000000000000000000000000,
		WaitSource: String,
		MonitorChime: String,
		HasUploadedChime: False,
		ChimeUrl: String,
		MonitorVolume: 0,
		MonitorAnnounce: False,
		MonitorAnnounceTemplate: String,
		MonitorVoice: String,
		MonitorVoiceRate: 0,
		MonitorRepeatAfterSec: 0,
		MonitorTicketOnly: False,
		LobbyZoneMode: String,
		LobbyTakeoverEveryMin: 0,
		LobbyTakeoverSec: 0,
		LobbyIdleScreen: False,
		TimeZone: String
	},
	Chimes: 
	[
		{
			Key: String,
			Label: String,
			Url: String
		}
	]
}