Register things

Prev Next
Post
/inventory/things/import

Registers things which can be then activated by end-users.

Required permissions: REGISTER_THING.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the target tenant (e.g. acme).

Body parameters

The list of serial-numbers to registers and the target Thing Definition.

object
file
string (binary)

The CSV file with the list of serial-numbers to register.

thingDefinitionId
string

The identifier of the Thing Definition the things being registered must be associated with.

Responses
200

Successful registered.

400

Request data not valid.

object
message
string

The error response.

ExampleBad request
401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
429

API call rate limit exeeded.

object
message
string

The error response.

ExampleAPI call rate limit exeeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error