This URL tests the Manager-controller connection.
Resource URL
GET /cloud/connector/<id>/testcloudconnection
Request Parameters
URL Parameters
| Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| id | Controller id | Number | Yes |
Payload Request Parameters
None
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned:
| Field Name | Description | Data Type |
|---|---|---|
| status | Set to 1 if the connection was successful | Number |
Example
Request
GET https://<NSM_IP>/sdkapi/cloud/connector/103/testcloudconnection
Payload
None
Response
{
"status": 1
}
Error Information
Following error codes are returned by this URL:
| No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
| 1 | 500 | 1001 | Internal error message |
| 2 | 400 | 11001 | Invalid controller |