{"type":"api","title":"Batch Execute","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Jobs - Batch"],"description":"Batch processing multiple REST API calls","operationId":"batchExecute","requestBody":{"description":"Payload for executing multiple APIs","content":{"application/json":{"schema":{"required":["data"],"type":"object","properties":{"auditLog":{"type":"string","description":"AuditLog feature"},"data":{"type":"array","description":"payload for a REST API","items":{"type":"object","properties":{"description":{"type":"string","description":"API description"},"method":{"type":"string","description":"HTTP Method","enum":["POST","PUT","GET","DELETE"]},"payload":{"type":"object","description":"JSON Payload for a REST API call"},"uri":{"type":"string","example":"/dataservice/settings/configuration/proxyHttpServer"}},"description":"payload for a REST API","$$ref":"#/components/schemas/BatchFlowData"}},"description":{"type":"string","description":"Workflow description"},"jobkey":{"type":"string","description":"Job Key"},"name":{"type":"string","description":"Workflow name"}},"description":"Input to multiple REST API calls","$$ref":"#/components/schemas/BatchFlow"},"examples":{"Batched API calls":{"description":"Batched API calls","value":"{\n \"data\": [\n {\n \"uri\": \"/dataservice/settings/configuration/proxyHttpServer\",\n \"method\": \"POST\",\n \"payload\": {\n \"proxy\": true,\n \"proxyIp\": \"64.102.255.47\",\n \"proxyPort\": \"80\",\n \"NoProxyList\": \"169.254.8.1|::1|localhost|127.0.0.1\"\n }\n },\n {\n \"uri\": \"/dataservice/settings/configuration/proxyHttpServer\",\n \"method\": \"PUT\",\n \"payload\": {\n \"proxy\": true,\n \"proxyIp\": \"64.102.255.47\",\n \"proxyPort\": \"80\",\n \"NoProxyList\": \"169.254.6.1|::1|localhost|127.0.0.1\"\n }\n }\n ],\n}"}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"string"},"examples":{"Batch API Response":{"description":"Batch API Response"}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"post","path":"/jobs/batch"}}