{"type":"api","title":"Running a Job","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/c185c5e2-e05d-3be1-ba09-4260128bc6c1","info":{"title":"Job Scheduler APIs","description":"APIs exposed by Inventory service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/inventory-job-scheduler-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{server_ip}:30603/crosswork/rs/json/jobSchedulerServiceInv/v1/","description":"Generated server url"}]},"spec":{"tags":["Job Scheduler"],"summary":"Running a Job","description":" \u003cb\u003e Payload Details:\u003c/b\u003e \n\n \u003cfont color = 'red' \u003e jobName:jobType \u003c/font\u003e \n\n - jobName can have values \u003cb\u003e 'internalSchedule' \u003c/b\u003e,\u003cb\u003e 'Switch Inventory' \u003c/b\u003e & \u003cb\u003e 'failedFeatureSync' \u003c/b\u003e \n\n - jobType is always \u003cb\u003eInventory \u003c/b\u003e \n\n","operationId":"runJob","requestBody":{"description":"The payload should not have \u003cb\u003e\u003cfont color = 'red'\u003edouble quotes\u003c/font\u003e\u003c/b\u003e. Check description for Payload Details.","content":{"application/json":{"schema":{"type":"string"},"example":"Switch Inventory:Inventory"}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"boolean","example":true}}}},"400":{"description":"Bad Request - Invalid request"},"401":{"description":"Unauthorized. The request has not been applied because it lacks valid authentication credentials for the target resource."},"403":{"description":"Forbidden. The server recognizes the authentication credentials, but the client is not authorized to perform this request."},"500":{"description":"Internal Server Error - operation-failed"}},"__originalOperationId":"runJob","method":"post","path":"/runJob"}}