
Note
You must forward the auth_token as a cookie with each API call.Sample Requests with Different Possible Input Parameters
curl -X POST --cookie auth_token=$cookie http://172.16.0.60/rest/v1/act/copy-techsupport
-d
'{"hosts":["ap7632-9AECDC"],"url":"ftp://username:password@172.16.0.60"}'
curl -X POST --cookie auth_token=$cookie http://172.16.0.60/rest/v1/act/copy-techsupport
-d
'{"rf-domain":"default","url":"ftp://username:password@172.16.0.60","area":"ca107"}

Note
The SFTP protocol is not supported for this request.Request Body Parameters
| Parameter | Description | Required/Optional | Data Type |
|---|---|---|---|
| hosts | Name of the hosts separated by comma, for which techsupport dump needs to be initiated | Optional | String Array |
| rf-domain | Name of the rf_domain for which the techsupport dump needs to be initiated | Optional | String |
| Floor | Name of the floor belonging to an rf_domain | Optional. | String |
| Area | Name of the area belonging to an rf_domain | Optional | String |
| url | URL | Required | String |
| session_name | Name to identify this session | Optional | String |
Sample Response (200 OK)
{
"data": {
"status": true,
"message": "success"
},
"return_code": 0
}
Response Definitions
| Response Item | Description | Data Type |
|---|---|---|
| return_code | A flag indicating success or failure of the operation | Boolean |
| data | Data returned by the API server | String |
| errors | List of errors, if any | String |