POST api/Admin/Kiosk/Devices/{deviceId}/commands
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceId | string |
Required |
Body Parameters
CreateKioskDeviceCommandDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Command | string |
None. |
|
| PayloadJson | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Command": "sample string 1",
"PayloadJson": "sample string 2"
}
application/xml, text/xml
Sample:
<CreateKioskDeviceCommandDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Kiosk"> <Command>sample string 1</Command> <PayloadJson>sample string 2</PayloadJson> </CreateKioskDeviceCommandDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
KioskDeviceCommandDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DeviceId | string |
None. |
|
| DeviceName | string |
None. |
|
| TenantId | integer |
None. |
|
| Command | string |
None. |
|
| PayloadJson | string |
None. |
|
| Status | byte |
None. |
|
| StatusName | string |
None. |
|
| RequestedAtUtc | date |
None. |
|
| RequestedBy | string |
None. |
|
| ExpiresAtUtc | date |
None. |
|
| AcknowledgedAtUtc | date |
None. |
|
| CompletedAtUtc | date |
None. |
|
| AttemptCount | integer |
None. |
|
| LastErrorMessage | string |
None. |
|
| CorrelationId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"DeviceId": "sample string 2",
"DeviceName": "sample string 3",
"TenantId": 4,
"Command": "sample string 5",
"PayloadJson": "sample string 6",
"Status": 64,
"StatusName": "sample string 8",
"RequestedAtUtc": "2026-10-27T08:47:22.2794165+00:00",
"RequestedBy": "sample string 10",
"ExpiresAtUtc": "2026-10-27T08:47:22.2794165+00:00",
"AcknowledgedAtUtc": "2026-10-27T08:47:22.2794165+00:00",
"CompletedAtUtc": "2026-10-27T08:47:22.2794165+00:00",
"AttemptCount": 12,
"LastErrorMessage": "sample string 13",
"CorrelationId": "a8e06273-f3eb-47ea-96b6-890599cdd701"
}
application/xml, text/xml
Sample:
<KioskDeviceCommandDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Kiosk"> <AcknowledgedAtUtc>2026-10-27T08:47:22.2794165+00:00</AcknowledgedAtUtc> <AttemptCount>12</AttemptCount> <Command>sample string 5</Command> <CompletedAtUtc>2026-10-27T08:47:22.2794165+00:00</CompletedAtUtc> <CorrelationId>a8e06273-f3eb-47ea-96b6-890599cdd701</CorrelationId> <DeviceId>sample string 2</DeviceId> <DeviceName>sample string 3</DeviceName> <ExpiresAtUtc>2026-10-27T08:47:22.2794165+00:00</ExpiresAtUtc> <Id>1</Id> <LastErrorMessage>sample string 13</LastErrorMessage> <PayloadJson>sample string 6</PayloadJson> <RequestedAtUtc>2026-10-27T08:47:22.2794165+00:00</RequestedAtUtc> <RequestedBy>sample string 10</RequestedBy> <Status>64</Status> <StatusName>sample string 8</StatusName> <TenantId>4</TenantId> </KioskDeviceCommandDTO>