POST api/public/kiosk/device-commands/{id}/complete

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

KioskDeviceCommandCompleteRequestDTO
NameDescriptionTypeAdditional information
Result

string

None.

Detail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Result": "sample string 1",
  "Detail": "sample string 2"
}

application/xml, text/xml

Sample:
<KioskDeviceCommandCompleteRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Kiosk">
  <Detail>sample string 2</Detail>
  <Result>sample string 1</Result>
</KioskDeviceCommandCompleteRequestDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'KioskDeviceCommandCompleteRequestDTO'.

Response Information

Resource Description

KioskDeviceCommandStateDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Command

string

None.

Status

byte

None.

StatusName

string

None.

AcknowledgedAtUtc

date

None.

CompletedAtUtc

date

None.

AttemptCount

integer

None.

CorrelationId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Command": "sample string 2",
  "Status": 64,
  "StatusName": "sample string 4",
  "AcknowledgedAtUtc": "2026-10-27T08:47:34.9232275+00:00",
  "CompletedAtUtc": "2026-10-27T08:47:34.9232275+00:00",
  "AttemptCount": 5,
  "CorrelationId": "5b604bad-e263-4a1e-bbe2-61b13f6fd046"
}

application/xml, text/xml

Sample:
<KioskDeviceCommandStateDTO 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:34.9232275+00:00</AcknowledgedAtUtc>
  <AttemptCount>5</AttemptCount>
  <Command>sample string 2</Command>
  <CompletedAtUtc>2026-10-27T08:47:34.9232275+00:00</CompletedAtUtc>
  <CorrelationId>5b604bad-e263-4a1e-bbe2-61b13f6fd046</CorrelationId>
  <Id>1</Id>
  <Status>64</Status>
  <StatusName>sample string 4</StatusName>
</KioskDeviceCommandStateDTO>