Dispatch Service
Job Workflow

Get job workflow by job workflow id

1min
code examples curl location globoff 'https //{domain}/core/api/v2/dispatch service/job workflows/{jobworkflowid}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //{domain}/core/api/v2/dispatch service/job workflows/{jobworkflowid}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //{domain}/core/api/v2/dispatch service/job workflows/{jobworkflowid}") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //{domain}/core/api/v2/dispatch service/job workflows/{jobworkflowid}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // ok { "error" { "code" "", "description" "", "additionalinfo" {} }, "request" { "uri" "", "method" "", "querystring" "", "body" {} }, "data" { "id" "", "jobworkflowstatus" "", "entitytype" "", "schemanamespace" "", "schemaversion" "", "entitymeta" { "entitytype" "", "cassandra" { "fields" { "status" "", "created" { "$db function" "" } }, "key" \[ "" ] }, "schemaversion" "", "schemanamespace" "", "kafka" { "topic" "", "keyfield" "" }, "readstore" false, "lock" { "seqnumber" "", "primaryterm" "" } }, "tenantid" "", "name" "", "start" "", "objectives" \[ { "id" "", "entitytype" "", "schemaversion" "", "schemanamespace" "", "entitymeta" { "cassandra" {}, "schemaversion" "", "schemanamespace" "", "entitytype" "" }, "objectiveref" "", "workflow" "", "next" \[ { "id" "", "entitytype" "", "schemaversion" "", "schemanamespace" "", "entitymeta" { "cassandra" {}, "schemaversion" "", "schemanamespace" "", "entitytype" "" }, "code" "", "nextobjective" "", "reason" "" } ] } ], "tag" \[ { "id" "", "entitytype" "", "schemaversion" "", "schemanamespace" "", "entitymeta" { "cassandra" {}, "schemaversion" "", "schemanamespace" "", "entitytype" "" }, "name" "", "value" "" } ], "createdat" "", "createdby" { "id" "", "name" "", "appid" "" }, "updatedat" "", "updatedby" { "id" "", "name" "", "appid" "" } } }// error occurred { "error" { "code" "", "description" "", "additionalinfo" {} }, "request" { "uri" "", "method" "", "querystring" "", "body" {} } }// error occurred { "error" { "code" "", "description" "", "additionalinfo" {} }, "request" { "uri" "", "method" "", "querystring" "", "body" {} } }// error occurred { "error" { "code" "", "description" "", "additionalinfo" {} }, "request" { "uri" "", "method" "", "querystring" "", "body" {} } }