| GET,OPTIONS | /v1/lobby/{LocationId}/play |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LocationId | path | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Items | form | List<LobbyContentItem> | No | |
| ZoneMode | form | string | No | |
| TakeoverEveryMin | form | int? | No | |
| TakeoverSec | form | int? | No | |
| IdleScreen | form | bool | No | |
| BranchLocalNow | form | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LobbyContentId | form | int | No | |
| Title | form | string | No | |
| Kind | form | string | No | |
| HasMedia | form | bool | No | |
| MediaUrl | form | string | No | |
| Headline | form | string | No | |
| Body | form | string | No | |
| Accent | form | string | No | |
| Url | form | string | No | |
| DwellSec | form | int | No | |
| StartsAt | form | DateTime? | No | |
| EndsAt | form | DateTime? | No | |
| DaysMask | form | int | No | |
| HourFrom | form | int? | No | |
| HourTo | form | int? | No | |
| IsThirdParty | form | bool | No | |
| Status | form | string | No | |
| AllBranches | form | bool | No | |
| BranchIds | form | List<Guid> | No | |
| Plays7d | form | int | No | |
| OnNow | form | bool | No | |
| SortOrder | form | int | No | |
| CreatedBy | form | string | No | |
| UpdatedAt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/lobby/{LocationId}/play HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
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
}
},
Items:
[
{
LobbyContentId: 0,
Title: String,
Kind: String,
HasMedia: False,
MediaUrl: String,
Headline: String,
Body: String,
Accent: String,
Url: String,
DwellSec: 0,
StartsAt: 0001-01-01,
EndsAt: 0001-01-01,
DaysMask: 0,
HourFrom: 0,
HourTo: 0,
IsThirdParty: False,
Status: String,
AllBranches: False,
BranchIds:
[
00000000000000000000000000000000
],
Plays7d: 0,
OnNow: False,
SortOrder: 0,
CreatedBy: String,
UpdatedAt: 0001-01-01
}
],
ZoneMode: String,
TakeoverEveryMin: 0,
TakeoverSec: 0,
IdleScreen: False,
BranchLocalNow: 0001-01-01
}