Return a job execution with a given id.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v1/jobs/history/{jobExecutionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v1/jobs/history/{jobExecutionId}"
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/v1/jobs/history/{jobExecutionId}', 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/v1/jobs/history/{jobExecutionId}",
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/v1/jobs/history/{jobExecutionId}"
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/v1/jobs/history/{jobExecutionId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/jobs/history/{jobExecutionId}")
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>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"fireDate": "2023-11-07T05:31:56Z",
"jobId": "<string>",
"jobName": "<string>",
"status": "FAILED",
"jobExecutionTrigger": {
"type": "<string>",
"application": "<string>",
"workflow": "<string>",
"sourceStep": "<string>",
"targetStep": "<string>",
"triggerSummary": "<string>",
"recordName": "<string>",
"fieldId": "<string>",
"record": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordName": "<string>",
"primaryFieldValue": "<string>",
"status": "INACTIVE",
"recordDueDate": "2023-11-07T05:31:56Z",
"workflowDueDate": "2023-11-07T05:31:56Z",
"fields": [
{
"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"
]
}
],
"public": true
}
},
"jobExecutionOperationConditionGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"operationConditionGroupId": "<string>",
"messageId": "<string>",
"priority": 123,
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"status": "FAILED",
"statusDescription": "IN_PROGRESS",
"description": "<string>",
"jobExecutionConditions": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"conditionId": "<string>",
"priority": 123,
"status": "PASSED",
"fieldId": "<string>",
"fieldName": "<string>",
"fieldType": "TEXT",
"operator": "EQUALS",
"value": "<string>"
}
],
"jobExecutionOperations": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"operationId": "<string>",
"priority": 123,
"type": "<string>",
"status": "FAILED",
"statusDescription": "IN_PROGRESS",
"description": "<string>",
"operatedRecordId": "<string>",
"operatedRecordName": "<string>",
"existingRecordId": "<string>",
"existingRecordName": "<string>",
"stepId": "<string>",
"stepName": "<string>",
"fieldId": "<string>",
"fieldName": "<string>",
"updatedFieldValue": "<string>",
"webhookUrl": "<string>",
"documentName": "<string>",
"previousUsers": true,
"recordGroups": true,
"messageUserEmailAddresses": [
"<string>"
],
"messageUserFields": [
"<string>"
],
"messageRoles": [
"<string>"
],
"slackUsers": [
"<string>"
],
"slackChannels": [
"<string>"
],
"teamsUsers": [
"<string>"
],
"teamsChannels": [
"<string>"
],
"evidenceProvider": "ANECDOTES",
"evidenceProviderId": "<string>",
"evidenceAttachmentFieldId": "<string>",
"evidenceAttachmentFieldName": "<string>",
"evidenceAttachmentValueId": "<string>",
"evidenceAttachmentFileName": "<string>",
"webhookDeliveryAttempt": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "DELIVERED",
"httpStatusCode": 123,
"responseBody": "<string>",
"requestPayload": "<string>",
"attemptType": "ORIGINAL",
"fireDate": "2023-11-07T05:31:56Z",
"webhookName": "<string>",
"webhookUrl": "<string>",
"webhookId": "<string>",
"jobId": "<string>",
"jobName": "<string>",
"recordId": "<string>",
"recordName": "<string>",
"jobExecutionOperation": "<unknown>"
}
}
]
}
],
"description": "<string>"
}JobExecution
Return a job execution with a given id
GET
/
api
/
v1
/
jobs
/
history
/
{jobExecutionId}
Return a job execution with a given id.
curl --request GET \
--url https://{subdomain}.logicgate.com/api/v1/jobs/history/{jobExecutionId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.logicgate.com/api/v1/jobs/history/{jobExecutionId}"
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/v1/jobs/history/{jobExecutionId}', 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/v1/jobs/history/{jobExecutionId}",
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/v1/jobs/history/{jobExecutionId}"
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/v1/jobs/history/{jobExecutionId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/jobs/history/{jobExecutionId}")
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>",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"fireDate": "2023-11-07T05:31:56Z",
"jobId": "<string>",
"jobName": "<string>",
"status": "FAILED",
"jobExecutionTrigger": {
"type": "<string>",
"application": "<string>",
"workflow": "<string>",
"sourceStep": "<string>",
"targetStep": "<string>",
"triggerSummary": "<string>",
"recordName": "<string>",
"fieldId": "<string>",
"record": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"recordName": "<string>",
"primaryFieldValue": "<string>",
"status": "INACTIVE",
"recordDueDate": "2023-11-07T05:31:56Z",
"workflowDueDate": "2023-11-07T05:31:56Z",
"fields": [
{
"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"
]
}
],
"public": true
}
},
"jobExecutionOperationConditionGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"operationConditionGroupId": "<string>",
"messageId": "<string>",
"priority": 123,
"conditionsEnabled": true,
"conditionsUseAndOperator": true,
"status": "FAILED",
"statusDescription": "IN_PROGRESS",
"description": "<string>",
"jobExecutionConditions": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"conditionId": "<string>",
"priority": 123,
"status": "PASSED",
"fieldId": "<string>",
"fieldName": "<string>",
"fieldType": "TEXT",
"operator": "EQUALS",
"value": "<string>"
}
],
"jobExecutionOperations": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"operationId": "<string>",
"priority": 123,
"type": "<string>",
"status": "FAILED",
"statusDescription": "IN_PROGRESS",
"description": "<string>",
"operatedRecordId": "<string>",
"operatedRecordName": "<string>",
"existingRecordId": "<string>",
"existingRecordName": "<string>",
"stepId": "<string>",
"stepName": "<string>",
"fieldId": "<string>",
"fieldName": "<string>",
"updatedFieldValue": "<string>",
"webhookUrl": "<string>",
"documentName": "<string>",
"previousUsers": true,
"recordGroups": true,
"messageUserEmailAddresses": [
"<string>"
],
"messageUserFields": [
"<string>"
],
"messageRoles": [
"<string>"
],
"slackUsers": [
"<string>"
],
"slackChannels": [
"<string>"
],
"teamsUsers": [
"<string>"
],
"teamsChannels": [
"<string>"
],
"evidenceProvider": "ANECDOTES",
"evidenceProviderId": "<string>",
"evidenceAttachmentFieldId": "<string>",
"evidenceAttachmentFieldName": "<string>",
"evidenceAttachmentValueId": "<string>",
"evidenceAttachmentFileName": "<string>",
"webhookDeliveryAttempt": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"status": "DELIVERED",
"httpStatusCode": 123,
"responseBody": "<string>",
"requestPayload": "<string>",
"attemptType": "ORIGINAL",
"fireDate": "2023-11-07T05:31:56Z",
"webhookName": "<string>",
"webhookUrl": "<string>",
"webhookId": "<string>",
"jobId": "<string>",
"jobName": "<string>",
"recordId": "<string>",
"recordName": "<string>",
"jobExecutionOperation": "<unknown>"
}
}
]
}
],
"description": "<string>"
}Authorizations
ApiTokenbasic
Response
200 - application/json
OK

