Match Firewall Change with Change Request
Match a firewall change with a change request.
Resource Name:
Request Method: PUT
Request parameters
Element |
Type |
Description |
changeRequestId mandatory |
integer |
The ID of the change request to match |
firewallChangeId mandatory |
integer |
The ID of the firewall change to match |
matchFirewallChangeRequest mandatory |
object |
The object containing details of the firewall change request |
userNotes mandatory |
string | Optional provide additional details about the matching. |
Request example
{ "userNotes": "This firewall change matches the change request" }
Request cURL example
curl -X PUT "https://example.com/firewall-changes/123/match/456" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"userNotes\":\"This firewall change matches the change request\"}"
Response parameters
Element |
Type |
Description |
data | string | The data returned by the API |
messages | array of objects | An array of messages objects |
status | string | The status of the response (Success/Failure) |
code | string | A code indicating the type of message |
message | string | A human-readable message |
Status codes:
Code |
Description |
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 |
Success |
|||||||||||||||
400 |
Input validation failure
|
|||||||||||||||
403 |
Authentication failure Error messages:
|
|||||||||||||||
500 |
Failed to complete operation. Error messages:
|
Response example for success 200
"status": "Success", "messages": [], "data": "Firewall change 15 in device 10_20_124_2_Rihanna_1_vsys1_default for rule 20 is now matched to change request 11" }
Response example for failure 400
{ "data": null, "messages": [ { "code": "INVALID_INPUT", "message": "The provided input is invalid." } ], "status": "Failure" }