Create a parent Record.
curl --request POST \
--url https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"creator": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"user": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"secondaryAssignees": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
],
"userGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": true
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"daysUntilDue": {
"value": 123
},
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": true,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": true
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent"
payload = {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"creator": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"user": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"secondaryAssignees": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
}
],
"userGroups": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": True,
"title": "<string>",
"automatedUserGroup": True,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": True
}
],
"assignee": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"daysUntilDue": { "value": 123 },
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": True,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
sequenceId: 123,
dueDate: '2023-11-07T05:31:56Z',
stepDueDate: '2023-11-07T05:31:56Z',
userDate: '2023-11-07T05:31:56Z',
recordName: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
origin: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
creator: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
user: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
secondaryAssignees: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
}
],
userGroups: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
recordDefault: true,
title: '<string>',
automatedUserGroup: true,
automatedUserGroupFieldLabel: '<string>'
}
],
currentValueMaps: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
copyable: true
}
],
assignee: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
daysUntilDue: {value: 123},
activeForRecord: '<unknown>',
lastUpdated: '2023-11-07T05:31:56Z',
viewableTitle: '<string>',
initialStateEndStep: true,
workflowDueDate: '2023-11-07T05:31:56Z',
name: '<string>',
isPublic: true
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent', 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/records/{recordId}/parent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'sequenceId' => 123,
'dueDate' => '2023-11-07T05:31:56Z',
'stepDueDate' => '2023-11-07T05:31:56Z',
'userDate' => '2023-11-07T05:31:56Z',
'recordName' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'origin' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'creator' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'user' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'secondaryAssignees' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
]
],
'userGroups' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'recordDefault' => true,
'title' => '<string>',
'automatedUserGroup' => true,
'automatedUserGroupFieldLabel' => '<string>'
]
],
'currentValueMaps' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'copyable' => true
]
],
'assignee' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'daysUntilDue' => [
'value' => 123
],
'activeForRecord' => '<unknown>',
'lastUpdated' => '2023-11-07T05:31:56Z',
'viewableTitle' => '<string>',
'initialStateEndStep' => true,
'workflowDueDate' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'isPublic' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n}"
response = http.request(request)
puts response.read_body{
"properties": [
{
"header": "<string>",
"fieldType": "TEXT",
"systemField": "NAME",
"recordId": "<string>",
"url": "<string>",
"rawValue": "<unknown>",
"formattedValue": "<string>",
"formattedValueList": [
"<string>"
]
}
],
"record": {
"id": "<string>",
"depth": 123,
"name": "<string>",
"recordName": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"user": true,
"canEdit": true,
"canRead": true,
"step": "<string>",
"workflow": "<string>",
"application": "<string>",
"jiraKey": "<string>",
"stepId": "<string>",
"stepEnd": true
}
}Record
Create a parent record
Add a parent Record relationship to the Record represented by the path variable. The parent may already exist or it may need to be created.
POST
/
api
/
v1
/
records
/
{recordId}
/
parent
Create a parent Record.
curl --request POST \
--url https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"creator": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"user": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"secondaryAssignees": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
],
"userGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": true
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"daysUntilDue": {
"value": 123
},
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": true,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": true
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent"
payload = {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"creator": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"user": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"secondaryAssignees": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
}
],
"userGroups": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": True,
"title": "<string>",
"automatedUserGroup": True,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": True
}
],
"assignee": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"daysUntilDue": { "value": 123 },
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": True,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
sequenceId: 123,
dueDate: '2023-11-07T05:31:56Z',
stepDueDate: '2023-11-07T05:31:56Z',
userDate: '2023-11-07T05:31:56Z',
recordName: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
origin: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
creator: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
user: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
secondaryAssignees: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
}
],
userGroups: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
recordDefault: true,
title: '<string>',
automatedUserGroup: true,
automatedUserGroupFieldLabel: '<string>'
}
],
currentValueMaps: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
copyable: true
}
],
assignee: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
daysUntilDue: {value: 123},
activeForRecord: '<unknown>',
lastUpdated: '2023-11-07T05:31:56Z',
viewableTitle: '<string>',
initialStateEndStep: true,
workflowDueDate: '2023-11-07T05:31:56Z',
name: '<string>',
isPublic: true
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent', 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/records/{recordId}/parent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'sequenceId' => 123,
'dueDate' => '2023-11-07T05:31:56Z',
'stepDueDate' => '2023-11-07T05:31:56Z',
'userDate' => '2023-11-07T05:31:56Z',
'recordName' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'origin' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'creator' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'user' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'secondaryAssignees' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
]
],
'userGroups' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'recordDefault' => true,
'title' => '<string>',
'automatedUserGroup' => true,
'automatedUserGroupFieldLabel' => '<string>'
]
],
'currentValueMaps' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'copyable' => true
]
],
'assignee' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'daysUntilDue' => [
'value' => 123
],
'activeForRecord' => '<unknown>',
'lastUpdated' => '2023-11-07T05:31:56Z',
'viewableTitle' => '<string>',
'initialStateEndStep' => true,
'workflowDueDate' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'isPublic' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent"
payload := strings.NewReader("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/records/{recordId}/parent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n}"
response = http.request(request)
puts response.read_body{
"properties": [
{
"header": "<string>",
"fieldType": "TEXT",
"systemField": "NAME",
"recordId": "<string>",
"url": "<string>",
"rawValue": "<unknown>",
"formattedValue": "<string>",
"formattedValueList": [
"<string>"
]
}
],
"record": {
"id": "<string>",
"depth": 123,
"name": "<string>",
"recordName": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"user": true,
"canEdit": true,
"canRead": true,
"step": "<string>",
"workflow": "<string>",
"application": "<string>",
"jiraKey": "<string>",
"stepId": "<string>",
"stepEnd": true
}
}Authorizations
ApiTokenbasic
Body
application/json
The record field values to apply before submitting.

