POST /system/cloud/providers/atrius
FROM API REVISION 6.0
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: AtriusProvider
Property Name | Type | Description | Method |
---|---|---|---|
Connected | Boolean | True if the controller is connected to the provider; false otherwise. | GET |
Id | String | The name of the provider. | GET |
Name | String | The real name of the provider. | GET |
Description | String | A little description about the provider. | GET |
Enabled | Boolean | True to start the connection; false to stop the connection. | GET POST |
ConnectionString | String | The string is use for the connection. This property is a specific string recognise by the server to allow the controller access. | GET POST |
Url Example: https://0.0.0.0/api/rest/v1/system/cloud/providers/atrius
{
"enabled": true,
"connectionString": "HostName=hostnameValue;DeviceId=deviceIdValue;SharedAccessKey=sharedAccessKeyValue"
}
Url Example: https://0.0.0.0/api/rest/v1/system/cloud/providers/atrius
<?xml version="1.0" encoding="utf-8"?>
<AtriusProvider>
<Enabled>true</Enabled>
<ConnectionString>HostName=hostnameValue;DeviceId=deviceIdValue;SharedAccessKey=sharedAccessKeyValue</ConnectionString>
</AtriusProvider>