Device configuration
Device is in REGISTERED with all known objects.
Configuration is performed using a POST /devices
operation. Any value
within the Object can be configured. It is expected that the Object will be present in the
Device prior to configuration, but in case they are not instantiated, the Device may
instantiate them as needed.
If the resource, as identified by the resource ID already exists, it is overwritten when reconfigured.
The following table provides details on Device configuration API.
Parameters | Description |
---|---|
URL | http://<adapter_hostname>:<port>/devices |
Method | POST |
Content-Type | application/json |
Parameters |
The parameters are:
|
Sample Call | The following is an example payload for configuring two Access Point Names
(APNs):
Response Body:
|
Success Code |
Response Code: 200 |
Error Code |
400 : Bad Request 401 : Unauthorized 403 : Forbidden 404 : Not Found |