---
title: CommandCompletionEvent
slug: jetstream-v2/commandcompletionevent
docTags: 
createdAt: 2024-01-23T15:46:02.761Z
---

## About

CommandCompletionEvent is published when a command has been completed on a device. The CommandCompletionEvent will include any output parameters, exceptions, and device extensions for completing the command.

## Example

### Published CommandCompletionEvent for [Get All Passes](docId\:D7J1rXbGYEhBv3BaJwGSP)

:::BlockQuote
\{
&#x20;   "CommandId": "0093fac7-1d82-430a-8bd2-0562c2067037",
&#x20;   "CommandName": "GetPasses",
&#x20;   "OutputParameterList": \[
&#x20;       \{
&#x20;           "Key": "PassRfid",
&#x20;           "Value": "MyPassNumber"
&#x20;       }
&#x20;   ],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-16T21:17:13Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "59236a58-2581-4f10-be5c-44c11e681794",
&#x20;   "EventTime": "2017-05-16T21:17:12Z"
}
:::

### Published CommandCompletionEvent for [Add or Remove Passes](docId\:thE3S6MtW3BaEAuUL1A83)

:::BlockQuote
\{
&#x20;   "CommandId": "fbfe6dbd-d03a-42ac-8216-2396de99c315",
&#x20;   "CommandName": "UpdatePasses",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-17T13:51:24Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "56ae62b2-01c7-4ac3-a5c1-c49849291f3f",
&#x20;   "EventTime": "2017-05-17T13:51:18Z"
}
:::

### Published CommandCompletionEvent for [Replace All Passes](docId\:qp6QihBMDR1a-9Kr7FeKJ)

:::BlockQuote
\{
&#x20;   "CommandId": "d68d6a29-e8a1-48df-b44a-4365b8c2442c",
&#x20;   "CommandName": "UpdatePasses",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-17T15:16:48Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "a15ea1a4-3e5e-47a3-bf91-03ea77416a98",
&#x20;   "EventTime": "2017-05-17T15:17:08Z"
}
:::

### Published CommandCompletionEvent for [Get All RFID Tags](docId\:Ci32mN8hWOSBCMjMdu4tP)

:::BlockQuote
\{
&#x20;   "CommandId": "6f05b39a-a7a8-4bff-b694-00117af4a6d4",
&#x20;   "CommandName": "GetEPCListCommand",
&#x20;   "OutputParameterList": \[
&#x20;       \{
&#x20;           "Key": "EPC",
&#x20;           "Value": "AD4424044149CB775C0000CB"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "EPC",
&#x20;           "Value": "AD44240441498F755B0000C5"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "EPC",
&#x20;           "Value": "AD4424044149A3795C0000C7"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "EPC",
&#x20;           "Value": "AD4424044149F1765B0000CF"
&#x20;       }
&#x20;   ],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-17T16:23:10Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "c5ec82de-2284-4156-aa09-092669115b27",
&#x20;   "EventTime": "2017-05-17T16:23:08Z"
}
:::

### Published CommandCompletionEvent for [Restart a Device](docId:9JCOwNFUdipBZNNnRyfR0)

:::BlockQuote
\{
&#x20;   "CommandId": "0a80f878-8cdf-4265-beb9-2649e3affe36",
&#x20;   "CommandName": "ResetCommand",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-17T20:05:06Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "d8fc5071-c933-4b6a-b735-225b413e4894",
&#x20;   "EventTime": "2017-05-17T20:05:29Z"
}
:::

### Published CommandCompletionEvent for [Update Firmware](docId\:h9h679y-t3yZTCIPN2gCZ)

:::BlockQuote
\{
&#x20;   "CommandId": "527a2f74-af29-410a-8ecb-7ec9f756079a",
&#x20;   "CommandName": "UpdateFirmwareCommand",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-19T21:17:05Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "3a9387ce-e797-4330-9a49-3f0c582c4721",
&#x20;   "EventTime": "2017-05-19T21:16:46Z"
}
:::

### Published CommandCompletionEvent for [Lock a Device](docId\:WaHzV_Ft98lWRPl3x2p0V)

:::BlockQuote
\{
&#x20;   "CommandId": "6bd4b8fb-d964-4d00-ae0a-e3943d58e004",
&#x20;   "CommandName": "Lockdown",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-18T00:31:36Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "a0a1a21b-7537-4a75-9eee-cb2e9688f146",
&#x20;   "EventTime": "2017-05-18T00:31:35Z"
}
:::

### Published CommandCompletionEvent for [Unlock a Device's Door](docId\:qDtEwzYTI-4VMdsnli9Qm)

:::BlockQuote
\{
&#x20;   "CommandId": "2b50fff0-e84c-42c1-b294-9eb6895684c3",
&#x20;   "CommandName": "UnlockDoor",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-18T03:22:54Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "4aa5df90-bfea-49f7-8d69-bce6ba9e21fb",
&#x20;   "EventTime": "2017-05-18T03:22:52Z"
}
:::

### Published CommandCompletionEvent for [Get a Device's Configuration Parameters](docId:_94Vzb6djZTjxFYzb78UJ)

:::BlockQuote
\{
&#x20;   "CommandId": "e8498582-9ae3-4e82-a1f0-005ecce1ec7c",
&#x20;   "CommandName": "GetConfigValuesCommand",
&#x20;   "OutputParameterList": \[
&#x20;       \{
&#x20;           "Key": "aggregateeventscancount",
&#x20;           "Value": "2"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "aggregateeventscantime",
&#x20;           "Value": "10"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna1rxsensitivity",
&#x20;           "Value": "50"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna1txpower",
&#x20;           "Value": "30"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna2rxsensitivity",
&#x20;           "Value": "50"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna2txpower",
&#x20;           "Value": "30"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna3rxsensitivity",
&#x20;           "Value": "50"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna3txpower",
&#x20;           "Value": "30"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna4rxsensitivity",
&#x20;           "Value": "50"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "antenna4txpower",
&#x20;           "Value": "30"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "commandpollinterval",
&#x20;           "Value": "60"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "dns",
&#x20;           "Value": "0.0.0.0"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "dooropentimelimit",
&#x20;           "Value": "300"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "gateway",
&#x20;           "Value": "0.0.0.0"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "ip",
&#x20;           "Value": "0.0.0.0"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "jetstreamdeviceurl",
&#x20;           "Value": "https\://us-device.tersosolutions.com/v1.0/device/"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "lockdownhightemp",
&#x20;           "Value": "127"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "lockdownonacpowerfailure",
&#x20;           "Value": "0"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "lockdownonhightemp",
&#x20;           "Value": "0"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "lockdownonreaderfailure",
&#x20;           "Value": "0"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "logentryeventhightemp",
&#x20;           "Value": "127"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "logentryeventlowtemp",
&#x20;           "Value": "-128"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "logentrylevel",
&#x20;           "Value": "warning"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "numberofantennas",
&#x20;           "Value": "4"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "objecteventscancount",
&#x20;           "Value": "2"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "objecteventscantime",
&#x20;           "Value": "10"
&#x20;       },
&#x20;       \{
&#x20;           "Key": "subnet",
&#x20;           "Value": "0.0.0.0"
&#x20;       }
&#x20;   ],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-18T20:55:12Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "c13a2d94-fb86-421d-9969-f56e3a44b280",
&#x20;   "EventTime": "2017-05-18T20:55:18Z"
}
:::

### Published CommandCompletionEvent for [Set a Device's Configuration Parameters](docId\:lLqub1KfYHmEOmOHN_1Fc)

:::BlockQuote
\{
&#x20;   "CommandId": "2bf00848-b06a-4820-86fc-58c12e08ee3e",
&#x20;   "CommandName": "SetConfigValuesCommand",
&#x20;   "OutputParameterList": \[],
&#x20;   "ExceptionList": \[],
&#x20;   "Device": "MyDeviceName",
&#x20;   "ReceivedTime": "2017-05-19T01:16:23Z",
&#x20;   "Type": "CommandCompletionEvent",
&#x20;   "EventId": "93723c89-cb44-44f0-8d86-87ede0fb3ba6",
&#x20;   "EventTime": "2017-05-19T01:16:19Z"
}
:::

