Confirm Devices for Initial Plan
Confirm Devices for Initial Plan.
Note: in the FireFlow UI, you can select specific devices to implement the change on. Using the API, there is no option to select; implementation is done on all devices. As well, you cannot add devices manually using this method.
Resource Name:
Request Method: POST
Header requirements:
Key | Value |
---|---|
Cookie | FireFlow_Session=[sessionId]. The sessionId is retrieved from the authentication request. |
Element |
Type |
Description |
---|---|---|
changeRequestId Mandatory |
Integer |
The ID of the parent change request. |
Response parameters
Element |
Type |
Description |
---|---|---|
status | String |
Status of the API request. One of these:
|
messages | List of message object type | Populated when status is failure. |
code | string | Headline of error. |
message | string | Details of error. |
data | string |
Populated when status is success. One of the following:
|
Response:
Status codes:
Code |
Description |
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 |
Success |
||||||||||||||||||||||||||||||||||||||||||
400 |
Input validation failure Error messages:
|
||||||||||||||||||||||||||||||||||||||||||
403 |
Authentication failure Error messages:
|
||||||||||||||||||||||||||||||||||||||||||
500 |
Failed to complete operation. Error messages:
|
Request cURL examples
curl -k -X POST "https://<machine_IP>/FireFlow/api/change-requests/traffic/<ChangeRequestID>/initial-plan/confirm-devices" -H "Cookie:RT_SID_FireFlow.443=<Cookie_value>"
Response example for 200
{ "status": "Success", "messages": [], "data": "Trigger Confirm Devices for change request 647 has finished successfully" }
Response example for 400
{
"status": "Failure",
"messages": [{
"code": "CHANGE_REQUEST_NOT_FOUND",
"message": "Change request 647 not found"
}],
"data": null
}