When I use UIMAPI Swagger Post Call, using a probe call Callback to "removerobot" the call is failing with Error 500
POST
/probes/{domain}/{hub}/{robot}/{probe}/callback/{callback}
Bad formatting of Swagger Json body
The below was used:
{
"parameters": [
{
"name": "string",
"type": "string",
"value": "<robotname>"
}
],
"pds": "string",
"timeout": 0
}
However, the good Format should be:
{
"parameters": [
{
"name": "name",
"type": "string",
"value": "<robotname>"
}
],
"pds": "string",
"timeout": 0
}
curl -X POST "http://##.##.###.##/uimapi/probes/<hostname>_domain/<hostname>_hub/<hostname>/hub/callback/removerobot" -H "accept: application/xml" -H "Content-Type: application/json" -d "{ \"parameters\": [ { \"name\": \"name\", \"type\": \"string\", \"value\": \"<hostname>\" } ], \"pds\": \"string\", \"timeout\": 0}"