Create a public record
curl --request POST \
--url https://{subdomain}.logicgate.com/api/v1/records/public \
--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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"field": "<string>",
"aiGenerated": true,
"aiReason": "<string>",
"aiConfidence": "<string>",
"dynamicProperties": {},
"expressionResult": 123,
"copyable": true,
"aiSources": [
{
"name": "<string>"
}
]
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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/public"
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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"currentValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"field": "<string>",
"aiGenerated": True,
"aiReason": "<string>",
"aiConfidence": "<string>",
"dynamicProperties": {},
"expressionResult": 123,
"copyable": True,
"aiSources": [{ "name": "<string>" }]
}
],
"assignee": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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',
currentValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
field: '<string>',
aiGenerated: true,
aiReason: '<string>',
aiConfidence: '<string>',
dynamicProperties: {},
expressionResult: 123,
copyable: true,
aiSources: [{name: '<string>'}]
}
],
assignee: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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/public', 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/public",
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',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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',
'currentValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'field' => '<string>',
'aiGenerated' => true,
'aiReason' => '<string>',
'aiConfidence' => '<string>',
'dynamicProperties' => [
],
'expressionResult' => 123,
'copyable' => true,
'aiSources' => [
[
'name' => '<string>'
]
]
]
],
'assignee' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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/public"
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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"field\": \"<string>\",\n \"aiGenerated\": true,\n \"aiReason\": \"<string>\",\n \"aiConfidence\": \"<string>\",\n \"dynamicProperties\": {},\n \"expressionResult\": 123,\n \"copyable\": true,\n \"aiSources\": [\n {\n \"name\": \"<string>\"\n }\n ]\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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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/public")
.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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"field\": \"<string>\",\n \"aiGenerated\": true,\n \"aiReason\": \"<string>\",\n \"aiConfidence\": \"<string>\",\n \"dynamicProperties\": {},\n \"expressionResult\": 123,\n \"copyable\": true,\n \"aiSources\": [\n {\n \"name\": \"<string>\"\n }\n ]\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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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/public")
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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"field\": \"<string>\",\n \"aiGenerated\": true,\n \"aiReason\": \"<string>\",\n \"aiConfidence\": \"<string>\",\n \"dynamicProperties\": {},\n \"expressionResult\": 123,\n \"copyable\": true,\n \"aiSources\": [\n {\n \"name\": \"<string>\"\n }\n ]\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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"state": "ARCHIVED",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"origin": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"creator": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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",
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"field": "<string>",
"aiGenerated": true,
"aiUpdatedBy": "AUTOFILL",
"aiReason": "<string>",
"aiConfidence": "<string>",
"dynamicProperties": {},
"expressionResult": 123,
"copyable": true,
"aiSources": [
{
"type": "USER_ATTACHMENT",
"name": "<string>"
}
]
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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
},
"assigneeType": "EXTERNAL",
"daysUntilDue": {
"value": 123,
"label": "NO_DUE_DATE"
},
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"status": "INACTIVE",
"viewableTitle": "<string>",
"initialStateEndStep": true,
"workflowDueDate": "2023-11-07T05:31:56Z",
"recordType": "RECORD",
"name": "<string>",
"isPublic": true
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Record
Create a public record
Permissions: Authenticated User
Create a record from a public step and submit it to the next step in the workflow. Public assignments must include value map(s). Returns the saved record.
POST
/
api
/
v1
/
records
/
public
Create a public record
curl --request POST \
--url https://{subdomain}.logicgate.com/api/v1/records/public \
--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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"field": "<string>",
"aiGenerated": true,
"aiReason": "<string>",
"aiConfidence": "<string>",
"dynamicProperties": {},
"expressionResult": 123,
"copyable": true,
"aiSources": [
{
"name": "<string>"
}
]
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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/public"
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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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",
"currentValues": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True
}
],
"field": "<string>",
"aiGenerated": True,
"aiReason": "<string>",
"aiConfidence": "<string>",
"dynamicProperties": {},
"expressionResult": 123,
"copyable": True,
"aiSources": [{ "name": "<string>" }]
}
],
"assignee": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": True,
"archived": True,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"first": "<string>",
"last": "<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',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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',
currentValues: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true
}
],
field: '<string>',
aiGenerated: true,
aiReason: '<string>',
aiConfidence: '<string>',
dynamicProperties: {},
expressionResult: 123,
copyable: true,
aiSources: [{name: '<string>'}]
}
],
assignee: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
valueType: '<string>',
discriminator: '<string>',
textValue: '<string>',
numericValue: 123,
isDefault: true,
archived: true,
priority: 123,
userGroup: '<string>',
status: '<string>',
fieldId: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
first: '<string>',
last: '<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/public', 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/public",
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',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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',
'currentValues' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true
]
],
'field' => '<string>',
'aiGenerated' => true,
'aiReason' => '<string>',
'aiConfidence' => '<string>',
'dynamicProperties' => [
],
'expressionResult' => 123,
'copyable' => true,
'aiSources' => [
[
'name' => '<string>'
]
]
]
],
'assignee' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'valueType' => '<string>',
'discriminator' => '<string>',
'textValue' => '<string>',
'numericValue' => 123,
'isDefault' => true,
'archived' => true,
'priority' => 123,
'userGroup' => '<string>',
'status' => '<string>',
'fieldId' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'first' => '<string>',
'last' => '<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/public"
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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"field\": \"<string>\",\n \"aiGenerated\": true,\n \"aiReason\": \"<string>\",\n \"aiConfidence\": \"<string>\",\n \"dynamicProperties\": {},\n \"expressionResult\": 123,\n \"copyable\": true,\n \"aiSources\": [\n {\n \"name\": \"<string>\"\n }\n ]\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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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/public")
.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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"field\": \"<string>\",\n \"aiGenerated\": true,\n \"aiReason\": \"<string>\",\n \"aiConfidence\": \"<string>\",\n \"dynamicProperties\": {},\n \"expressionResult\": 123,\n \"copyable\": true,\n \"aiSources\": [\n {\n \"name\": \"<string>\"\n }\n ]\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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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/public")
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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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 \"currentValues\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true\n }\n ],\n \"field\": \"<string>\",\n \"aiGenerated\": true,\n \"aiReason\": \"<string>\",\n \"aiConfidence\": \"<string>\",\n \"dynamicProperties\": {},\n \"expressionResult\": 123,\n \"copyable\": true,\n \"aiSources\": [\n {\n \"name\": \"<string>\"\n }\n ]\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 \"valueType\": \"<string>\",\n \"discriminator\": \"<string>\",\n \"textValue\": \"<string>\",\n \"numericValue\": 123,\n \"isDefault\": true,\n \"archived\": true,\n \"priority\": 123,\n \"userGroup\": \"<string>\",\n \"status\": \"<string>\",\n \"fieldId\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"first\": \"<string>\",\n \"last\": \"<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{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"state": "ARCHIVED",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"origin": {
"stepType": "ORIGIN",
"name": "<string>",
"description": "<string>",
"priority": 123,
"userGroupOperationType": "FULL_ACCESS",
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"assignableUserType": "APP_AND_EXTERNAL_USERS",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"origin": true,
"chain": true
},
"creator": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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",
"currentValues": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true
}
],
"field": "<string>",
"aiGenerated": true,
"aiUpdatedBy": "AUTOFILL",
"aiReason": "<string>",
"aiConfidence": "<string>",
"dynamicProperties": {},
"expressionResult": 123,
"copyable": true,
"aiSources": [
{
"type": "USER_ATTACHMENT",
"name": "<string>"
}
]
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"valueType": "<string>",
"discriminator": "<string>",
"textValue": "<string>",
"numericValue": 123,
"isDefault": true,
"archived": true,
"priority": 123,
"userGroup": "<string>",
"status": "<string>",
"fieldId": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"first": "<string>",
"last": "<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
},
"assigneeType": "EXTERNAL",
"daysUntilDue": {
"value": 123,
"label": "NO_DUE_DATE"
},
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"status": "INACTIVE",
"viewableTitle": "<string>",
"initialStateEndStep": true,
"workflowDueDate": "2023-11-07T05:31:56Z",
"recordType": "RECORD",
"name": "<string>",
"isPublic": true
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"properties": {}
}Authorizations
ApiTokenbasic
Body
application/json
The public record data to create and submit.
Response
OK
The public record data to create and submit.

