Register things

Prev Next
Post
/v2/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 serial-numbers and properties of the things being registered.

object
file
string (binary)

The CSV file with this header:

serialNumber,name,productModelName,parentThingSerialNumber,productModelPartName,properties.foo,properties.bar

For more details, see the Product Registration article.

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