Submitted APPC Requests via API Doc Explorer (Swagger UI)
Login to the APPC API Doc Explorer
The APPC API Doc Explorer can be accessed by going to http://hostnameorip:8282/apidoc/index.html
Note the port could be different depending on how the system is configured (Default externally accessible port is 8282)
Click on desired action
Create request
Sample API Doc Explorer VNF Restart
{
"input": {
"common-header": {
"timestamp": "2017-10-25T11:10:04.244Z",
"api-ver": "2.00",
"originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced200",
"request-id": "664be3d2-6c12-4f4b-a3e7-c349acced200",
"sub-request-id": "1",
"flags": {
"force" : "TRUE",
"ttl" : 60000
}
},
"action": "Restart",
"action-identifiers": {
"vnf-id": "vCPE_Infrastructure_vGMUX_demo_app"
}
}
}Submit request
Copy the request into the input on the API Doc Explorer and click on "Try It"
Response when request is successfully submitted