Return full data for a given job.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v2/jobs/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"trigger": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": "<string>",
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordPrefix": "<string>",
"allowGroups": true,
"requireGroups": true,
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"allowAec": true,
"applicationId": "<string>",
"workflowType": "WORKFLOW",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "<string>",
"color": "<string>",
"icon": "<string>",
"live": true,
"permissionsEnabled": true
}
},
"sourceId": "<string>",
"source": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"autofillEnabled": true,
"stepType": "ORIGIN",
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordPrefix": "<string>",
"allowGroups": true,
"requireGroups": true,
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"allowAec": true,
"applicationId": "<string>",
"workflowType": "WORKFLOW",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "<string>",
"color": "<string>",
"icon": "<string>",
"live": true,
"permissionsEnabled": true
}
},
"public": true
},
"invalidatedByStepDeletion": true,
"triggerType": "<string>"
},
"jobExecutions": "<string>",
"jobHistory": "<string>",
"recentExecution": "<string>",
"jobType": "<string>",
"operationConditionGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"priority": 123,
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"conditions": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"conditionType": "<string>",
"operator": "EQUALS",
"priority": 123,
"field": {
"id": "<string>",
"name": "<string>",
"label": "<string>",
"fieldType": "<string>",
"required": true,
"readOnly": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"updated": "2023-11-07T05:31:56Z",
"textValue": "<string>",
"numericValue": 123,
"temporalValue": "2023-11-07T05:31:56Z",
"valueType": "<string>"
}
],
"operators": [
"EQUALS"
]
},
"currentValue": "<string>"
}
],
"operations": [
{
"crossflow": {
"id": "<string>",
"crossflowReducer": "NEWEST",
"calcSpecificToStep": true,
"calcStep": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"systemField": "NAME",
"fieldWorkflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordPrefix": "<string>",
"allowGroups": true,
"requireGroups": true,
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"allowAec": true,
"applicationId": "<string>",
"workflowType": "WORKFLOW",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "<string>",
"color": "<string>",
"icon": "<string>",
"live": true,
"permissionsEnabled": true
}
},
"fieldWorkflowId": "<string>",
"customField": {
"id": "<string>",
"name": "<string>",
"label": "<string>",
"fieldType": "<string>",
"required": true,
"readOnly": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"updated": "2023-11-07T05:31:56Z",
"textValue": "<string>",
"numericValue": 123,
"temporalValue": "2023-11-07T05:31:56Z",
"valueType": "<string>"
}
],
"operators": [
"EQUALS"
]
},
"customFieldId": "<string>",
"priority": 123
},
"field": {
"id": "<string>",
"name": "<string>",
"label": "<string>",
"fieldType": "<string>",
"required": true,
"readOnly": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"updated": "2023-11-07T05:31:56Z",
"textValue": "<string>",
"numericValue": 123,
"temporalValue": "2023-11-07T05:31:56Z",
"valueType": "<string>"
}
],
"operators": [
"EQUALS"
]
},
"fieldWorkflowId": "<string>",
"values": [
"<string>"
],
"clearField": true,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"type": "AEC_FAILED_JOB_SUMMARY",
"priority": 123,
"enabled": true,
"operationType": "<string>"
}
]
}
],
"creator": "<string>"
}Job
Return full data for a given job
GET
/
api
/
v2
/
jobs
/
{jobId}
Return full data for a given job.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v2/jobs/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v2/jobs/{jobId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"trigger": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"workflowId": "<string>",
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordPrefix": "<string>",
"allowGroups": true,
"requireGroups": true,
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"allowAec": true,
"applicationId": "<string>",
"workflowType": "WORKFLOW",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "<string>",
"color": "<string>",
"icon": "<string>",
"live": true,
"permissionsEnabled": true
}
},
"sourceId": "<string>",
"source": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"autofillEnabled": true,
"stepType": "ORIGIN",
"workflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordPrefix": "<string>",
"allowGroups": true,
"requireGroups": true,
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"allowAec": true,
"applicationId": "<string>",
"workflowType": "WORKFLOW",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "<string>",
"color": "<string>",
"icon": "<string>",
"live": true,
"permissionsEnabled": true
}
},
"public": true
},
"invalidatedByStepDeletion": true,
"triggerType": "<string>"
},
"jobExecutions": "<string>",
"jobHistory": "<string>",
"recentExecution": "<string>",
"jobType": "<string>",
"operationConditionGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"priority": 123,
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"conditions": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"conditionType": "<string>",
"operator": "EQUALS",
"priority": 123,
"field": {
"id": "<string>",
"name": "<string>",
"label": "<string>",
"fieldType": "<string>",
"required": true,
"readOnly": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"updated": "2023-11-07T05:31:56Z",
"textValue": "<string>",
"numericValue": 123,
"temporalValue": "2023-11-07T05:31:56Z",
"valueType": "<string>"
}
],
"operators": [
"EQUALS"
]
},
"currentValue": "<string>"
}
],
"operations": [
{
"crossflow": {
"id": "<string>",
"crossflowReducer": "NEWEST",
"calcSpecificToStep": true,
"calcStep": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"systemField": "NAME",
"fieldWorkflow": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordPrefix": "<string>",
"allowGroups": true,
"requireGroups": true,
"xpos": 123,
"ypos": 123,
"sla": {
"enabled": true,
"duration": 123
},
"allowAec": true,
"applicationId": "<string>",
"workflowType": "WORKFLOW",
"application": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"type": "<string>",
"color": "<string>",
"icon": "<string>",
"live": true,
"permissionsEnabled": true
}
},
"fieldWorkflowId": "<string>",
"customField": {
"id": "<string>",
"name": "<string>",
"label": "<string>",
"fieldType": "<string>",
"required": true,
"readOnly": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"updated": "2023-11-07T05:31:56Z",
"textValue": "<string>",
"numericValue": 123,
"temporalValue": "2023-11-07T05:31:56Z",
"valueType": "<string>"
}
],
"operators": [
"EQUALS"
]
},
"customFieldId": "<string>",
"priority": 123
},
"field": {
"id": "<string>",
"name": "<string>",
"label": "<string>",
"fieldType": "<string>",
"required": true,
"readOnly": true,
"currentValues": [
{
"id": "<string>",
"active": true,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"updated": "2023-11-07T05:31:56Z",
"textValue": "<string>",
"numericValue": 123,
"temporalValue": "2023-11-07T05:31:56Z",
"valueType": "<string>"
}
],
"operators": [
"EQUALS"
]
},
"fieldWorkflowId": "<string>",
"values": [
"<string>"
],
"clearField": true,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"type": "AEC_FAILED_JOB_SUMMARY",
"priority": 123,
"enabled": true,
"operationType": "<string>"
}
]
}
],
"creator": "<string>"
}Authorizations
ApiTokenbasic
Response
200 - application/json
OK

