Add a linked instance
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
---|---|---|---|
| string | authentication type (possible values: 'SQL' and 'WIN') | required |
| string | host running instance to add | required |
| string(password) | password for authentication to instance |
|
| integer | port number of instance to add (non-negative) |
|
| string | user name for authentication to instance |
|
{ "params": { "auth_type": "SQL", "host": "string", "password": "string", "port": 123, "username": "string" } }
Response
HTTP Status: 200
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| object of type | SQL Server instance information |
| boolean | response with error or not |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
instance_info
Property | Type | Description |
---|---|---|
| string | authentication type (possible values: 'SQL' and 'WIN') |
| string | host running instance |
| string | name of instance |
| integer | port number of instance |
| string | user name for authentication to instance |
{ "error": { "message": "string" }, "result": { "authentication_type": "SQL", "host": "string", "instance_name": "string", "port": 123, "username": "string" }, "successful": true }
HTTP Status: 400
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
{ "error": { "message": "string" }, "successful": false }
Comments