Link Search Menu Expand Document

DeviceComms

Jan 1 2022 at 12:00 AM

  1. APIs within DeviceComms
    1. DeviceComs
      1. API Calls

This service is responsible for receiving gateway packets and processing them by determining which Endpoints are linked to the properties of the gateway and sending it as endpoints.

The service then calculates triggers and functions that depend on those endpoints and then send those values in the same packet as those endpoints.

APIs within DeviceComms

DeviceComs

API Calls

LastForGateways

POST

Permission

gateways:get

Accessible

Tenant only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/DeviceComms/LastForGateways

URL Params

None

Data Params

Example:
{
    "gatewayIds": {"string","string"}
}
  • gatewayIds: string[]

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

None

LastForDevices

POST

Permission

gateways:get

Accessible

Tenant only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/DeviceComms/LastForDevices

URL Params

None

Data Params

Example:
{
    "deviceIds": {"string","string"}
}
  • deviceIds: string[]

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

None

LastCommsBatched

POST

Permission

gateways:get

Accessible

Tenant only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/DeviceComms/LastCommsBatched

URL Params

None

Data Params

Example:
{
    "options":
    {
        "Limit":100,
        "Skip":0
    }
}
  • options: PagingOptions

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

None