Workflow ticket number API
Hello, I have a workflow in place which means I need to approve the requests. When I try to create a network for instance I cannot create it because the ticket number is a mandatory field but I cannot find a way to pass this my script:
curl -k1 -u admin:infoblox -X POST 'https://-------------/wapi/v2.10/network' -H "Content-Type: application/json" -d \
'{
"network": "172.16.105.0/24",
"network_view": "default",
"comment": "Honolulu Datacenter",
"extattrs": {
"EDM": {
"value": "1010"
},
"TAM": {
"value": "2020"
}
}
}'
"code": "Client.Ibap.Data",
"text": "Approval is required for this operation. You must enter a comment and/or a ticket number."
Answers
-
Greetings,
Did anyone get through this error, I am struggling to have this error cleared for my use case. Any directions on this one will be helpful.
0 -
these can be passed in the request using _approvalinfo.comment and _approvalinfo.ticket_number. Example from Postman for a post call:
https://{{grid_master}}/wapi/v2.13/network?_approvalinfo.comment=Requesting+subnet+for+new+site&_approvalinfo.ticket_number=CHG1234567
The body would include the network details as usual:
{ "network": "192.168.11.0/24", "network_view": "enterprise", "comment": "Requested via API"}
0
Categories
- All Categories
- 5.1K Forums
- 4.7K Critical Network Services
- 469 Security
- Visibility and Insights
- Ideas Portal
- Webinars & Events
- 273 Resources
- 273 News & Announcements
- Knowledge Base
- Infoblox Documentation Portal
- Infoblox Blog
- Support Portal
- 8 Members Hub
- 4 Getting Started with Community
- 4 Community Support