| POST,DELETE,OPTIONS | /v1/queue/lobby-settings/{LocationId}/chime |
|---|
"use strict";
export class LobbySettings {
/** @param {{LocationId?:string,WaitSource?:string,MonitorChime?:string,HasUploadedChime?:boolean,ChimeUrl?:string,MonitorVolume?:number,MonitorAnnounce?:boolean,MonitorAnnounceTemplate?:string,MonitorVoice?:string,MonitorVoiceRate?:number,MonitorRepeatAfterSec?:number,MonitorTicketOnly?:boolean,LobbyZoneMode?:string,LobbyTakeoverEveryMin?:number,LobbyTakeoverSec?:number,LobbyIdleScreen?:boolean,TimeZone?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
LocationId;
/** @type {string} */
WaitSource;
/** @type {string} */
MonitorChime;
/** @type {boolean} */
HasUploadedChime;
/** @type {string} */
ChimeUrl;
/** @type {number} */
MonitorVolume;
/** @type {boolean} */
MonitorAnnounce;
/** @type {string} */
MonitorAnnounceTemplate;
/** @type {string} */
MonitorVoice;
/** @type {number} */
MonitorVoiceRate;
/** @type {?number} */
MonitorRepeatAfterSec;
/** @type {boolean} */
MonitorTicketOnly;
/** @type {string} */
LobbyZoneMode;
/** @type {?number} */
LobbyTakeoverEveryMin;
/** @type {?number} */
LobbyTakeoverSec;
/** @type {boolean} */
LobbyIdleScreen;
/** @type {string} */
TimeZone;
}
export class LobbyChimeOption {
/** @param {{Key?:string,Label?:string,Url?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Key;
/** @type {string} */
Label;
/** @type {string} */
Url;
}
export class LobbySettingsResponse {
/** @param {{ResponseStatus?:ResponseStatus,Settings?:LobbySettings,Chimes?:LobbyChimeOption[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {LobbySettings} */
Settings;
/** @type {LobbyChimeOption[]} */
Chimes = [];
}
export class LobbyChimeRequest {
/** @param {{LocationId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
LocationId;
}
JavaScript LobbyChimeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/queue/lobby-settings/{LocationId}/chime HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"LocationId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}]}