device

Create a new device.

Authentication required for this operation.

post/device

Request

  • Base URL: https://api.30mhz.com/api
  • URL: https://api.30mhz.com/api/device
  • Auth: API key in header Authorization

Request body

deviceModelstring

Model of device.

deviceTypestring required

Type of device.

namestring required

Displayable name.

organizationIdstring required

Unique identifier for the organization, preferably a readable text such as the domain name of the company.

serialNumberstring

Serial number of the device.

siteIdstring required

Identifier of the site it belongs to, together with the organizationId this is unique.

Response

New device created.

deviceModelstring

Model of device.

deviceTypestring

Type of device.

namestring

Displayable name.

organizationIdstring

Identifier of the organization it belongs to.

serialNumberstring

Serial number of the device.

siteIdstring

Identifier of the site it belongs to, together with the organizationId this is unique.

createdAtstring

Timestamp of when it was created.

createdBystring

Identifier of the user that created it.

deviceIdstring

Unique identifier for the device.

siteUuidstring

Universally unique identifier.

Changes

No recorded changes to this operation across all 1 revision of this API.