Link Search Menu Expand Document

Client API

Jan 1 2022 at 12:00 AM

  1. API calls within Client API
    1. Client API
      1. API Calls

Client API

Client API is responsible for maintaining a list of clients (aka tenants).

API calls within Client API

Client API

API Calls

Get

GET

Permission

ValidateId on clientId

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/Get

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/Get

URL Params

None

Data Params

{
  "clientId": "string"
}

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None


Add

POST

Permission

entities.clients:add

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/Add

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/Add

URL Params

None

Data Params

{
  "client": {
    "clientId": "t000000000",
    "name": "string",
    "description": "string",
    "active": false,
    "documentVersion": 2,
    "logoUrl": "string",
    "autoAllocateGateways": false,
    "autoAllocateGatewayToGroupId": "string"
  }
}

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None


Update

POST

Permission

entities.clients:edit

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/Update

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/Update

URL Params

None

Data Params

{
  "client": {
    "clientId": "t000000000",
    "name": "string",
    "description": "string",
    "active": false,
    "documentVersion": 2,
    "logoUrl": "string",
    "autoAllocateGateways": false,
    "autoAllocateGatewayToGroupId": "string"
  }
}

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None


Remove

POST

Permission

entities.clients:delete

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/Remove

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/Remove

URL Params

None

Data Params

{
  "clientId": "string"
}

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None


All

POST

Permission

None

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/All

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/All

URL Params

None

Data Params

None

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None


PublishAll

POST

Permission

None

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/PublishAll

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/PublishAll

URL Params

None

Data Params

None

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None


SubscribeToEvents

POST

Permission

None

Accessible

Core only   Refer to the response and accessiblity information for more information.

URL

https://{tenantDomain}/{accountPath}/_apis/dapi/v1/Client/SubscribeToEvents

URL Example
https://iotnxtinternal.commander.io/default/_apis/dapi/v1/Client/SubscribeToEvents

URL Params

None

Data Params

None

Success Response

Refer to the response and accessiblity information for more information.

Error Response

Refer to the response and accessiblity information for more information.

Notes

None