Create Device Activation
POST/lns/tenants/:tenantId/applications/:applicationId/devices/deviceId/activations
Create device activation
Request
Path Parameters
The ID of tenant.
The ID of application.
- application/json
Body
required
The ID of device.
The devAddr of device activation.
The appSKey of device activation.
The nwkSEncKey of device activation.
The sNwkSIntKey of device activation.
The fNwkSIntKey of device activation.
The fCntUp of device activation.
The nFCntDown of device activation.
The aFCntDown of device activation.
Responses
- 200
- 401
- 403
- 404
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Data of the device activation.
{
"data": {}
}
{
"data": {
"created": true
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The request has not permission.
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The request has not permission.
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The resource hasn't found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The resource hasn't found.
The resource hasn't found message.
{
"error": "string",
"message": "string"
}
{
"error": "ResourceNotFound",
"message": "The requested resource could not be found."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
The input data has invalid.
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}