Create a traffic change request
FireFlow validates the API to ensure that mandatory elements are in place, such as permissions, template, date formats, that any specified device exists in AFA, and so on.
Resource Name: /FireFlow/api/change-requests/traffic
Request Method: POST
Request Body:
Element |
Type |
Description |
---|---|---|
trafficChangeRequestDetails
|
Object body containing details for creation of traffic change request. |
Request example
{ "template": "Basic Change Traffic Request", "fields": [ { "key": "subject", "values": [ "Traffic_Ticket_Via_REST_API" ] }, { "key": "Change Request Description", "values": [ "add here the change request description" ] }, { "name": "devices", "values": [ "CKP1", "Cisco2" ] } ], "traffic": [{ "source": { "items": [{ "name": "1.1.1.0/24" }, { "name": "host_object" } ] }, "destination": { "items": [{ "name": "2.2.2.2-2.2.2.150", "fields": [{ "key": "CFPTI", "values": [ "destination1" ] }] }] }, "service": { "items": [{ "name": "https" }, { "name": "service_object" } ] }, "user": { "items": [{ "name": "user1" }] }, "application": { "items": [{ "name": "any" }] }, "action": "Allow", "natDetails": { "source": ["9.9.9.9"], "destination": ["8.8.8.8"], "port": ["tcp/8080"], "type": "Static" }, "fields": [{ "key": "Requested Source Group Name", "values": [ "sourceGroup100" ] }] }] }
Response: Response type