OS1 Services
...
Dispatch Service
Integrate with Dispatch
How to: Manage Mobile APIs
3min
for information about prerequisites, see integrate with dispatch docid 3jkkjjw3r0n1l32h lbgo update execution task status to update the execution task status, call the status update for an execution workflow docid\ belikcvipu7zr4 z2j4as endpoint and pass the following required members in the request body also, specify the workflowinstanceid and taskid in the path parameter member description remarks jobid id of the job string dispatchid id of the dispatch string attemptid attempt number of the workflow instance number status status of the task stringenum \[ started, closed ] sequenceid sequence number of the execution task number statename task/state name of the taskid string timestamp epoch timestamp of the status number minimum 1 data output of the execution task meta meta data related to the task updatedby > id id string minlength 1 maxlength 64 updatedby > name name string maxlength 256 updatedby > appid app id string maxlength 64 the json request body should be similar to the following { "jobid" "string", "dispatchid" "string", "attemptid" 0, "status" "started", "sequenceid" 0, "statename" "string", "timestamp" 1, "data" {}, "meta" {}, "updatedby" { "id" "string", "name" "string", "appid" "string" }, " event meta" {} } update execution workflow status to update the execution workflow status, call the status update for an execution workflow docid\ belikcvipu7zr4 z2j4as endpoint and pass the following required members in the request body also, specify the workflowinstanceid in the path parameter member description remarks status status of the workflow string enum \[ started, closed ] timestamp epoch timestamp of the status number minimum 1 dispatchid id of the dispatch string jobid id of the job string attemptid attempt number of the workflow instance number code workflow objective code string data collated data of output of each execution task meta metadata related to the workflow updatedby > id id string minlength 1 maxlength 64 updatedby > name name string maxlength 256 updatedby > appid app id string maxlength 64 the json request body should be similar to the following { "status" "started", "timestamp" 1, "dispatchid" "string", "jobid" "string", "attemptid" 0, "closejob" true, "data" {}, "meta" {}, "code" "string", "updatedby" { "id" "string", "name" "string", "appid" "string" }, " event meta" {} }