cURL
curl --request PATCH \
--url https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"record": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"creator": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"user": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"secondaryAssignees": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
],
"userGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": true
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"daysUntilDue": {
"value": 123
},
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": true,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": true
},
"analysisInput": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"analysisInputValueList": [
{
"confidence": 123,
"max": 123,
"min": 123,
"mostLikely": 123,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
]
},
"title": "<string>",
"annualMin": 123,
"annualAvg": 123,
"annualMedian": 123,
"annualMode": 123,
"annualMax": 123,
"annualTenthPercentile": 123,
"annualNinetiethPercentile": 123,
"primaryMin": 123,
"primaryAvg": 123,
"primaryMedian": 123,
"primaryMode": 123,
"primaryMax": 123,
"primaryTenthPercentile": 123,
"primaryNinetiethPercentile": 123,
"secondaryMin": 123,
"secondaryAvg": 123,
"secondaryMedian": 123,
"secondaryMode": 123,
"secondaryMax": 123,
"secondaryTenthPercentile": 123,
"secondaryNinetiethPercentile": 123,
"totalMin": 123,
"totalAvg": 123,
"totalMedian": 123,
"totalMode": 123,
"totalMax": 123,
"totalTenthPercentile": 123,
"totalNinetiethPercentile": 123,
"errorMessage": "<string>",
"analysisStarted": "2023-11-07T05:31:56Z",
"analysisCompleted": "2023-11-07T05:31:56Z",
"simulationCount": 123,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"elapsedTimeInMilliSeconds": 123
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}"
payload = {
"record": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"creator": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"user": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"secondaryAssignees": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
}
],
"userGroups": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": True,
"title": "<string>",
"automatedUserGroup": True,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": True
}
],
"assignee": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"daysUntilDue": { "value": 123 },
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": True,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": True
},
"analysisInput": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"analysisInputValueList": [
{
"confidence": 123,
"max": 123,
"min": 123,
"mostLikely": 123,
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
]
},
"title": "<string>",
"annualMin": 123,
"annualAvg": 123,
"annualMedian": 123,
"annualMode": 123,
"annualMax": 123,
"annualTenthPercentile": 123,
"annualNinetiethPercentile": 123,
"primaryMin": 123,
"primaryAvg": 123,
"primaryMedian": 123,
"primaryMode": 123,
"primaryMax": 123,
"primaryTenthPercentile": 123,
"primaryNinetiethPercentile": 123,
"secondaryMin": 123,
"secondaryAvg": 123,
"secondaryMedian": 123,
"secondaryMode": 123,
"secondaryMax": 123,
"secondaryTenthPercentile": 123,
"secondaryNinetiethPercentile": 123,
"totalMin": 123,
"totalAvg": 123,
"totalMedian": 123,
"totalMode": 123,
"totalMax": 123,
"totalTenthPercentile": 123,
"totalNinetiethPercentile": 123,
"errorMessage": "<string>",
"analysisStarted": "2023-11-07T05:31:56Z",
"analysisCompleted": "2023-11-07T05:31:56Z",
"simulationCount": 123,
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"elapsedTimeInMilliSeconds": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
record: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
sequenceId: 123,
dueDate: '2023-11-07T05:31:56Z',
stepDueDate: '2023-11-07T05:31:56Z',
userDate: '2023-11-07T05:31:56Z',
recordName: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
origin: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
creator: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
user: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
secondaryAssignees: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
}
],
userGroups: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
recordDefault: true,
title: '<string>',
automatedUserGroup: true,
automatedUserGroupFieldLabel: '<string>'
}
],
currentValueMaps: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
copyable: true
}
],
assignee: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
daysUntilDue: {value: 123},
activeForRecord: '<unknown>',
lastUpdated: '2023-11-07T05:31:56Z',
viewableTitle: '<string>',
initialStateEndStep: true,
workflowDueDate: '2023-11-07T05:31:56Z',
name: '<string>',
isPublic: true
},
analysisInput: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
analysisInputValueList: [
{
confidence: 123,
max: 123,
min: 123,
mostLikely: 123,
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
]
},
title: '<string>',
annualMin: 123,
annualAvg: 123,
annualMedian: 123,
annualMode: 123,
annualMax: 123,
annualTenthPercentile: 123,
annualNinetiethPercentile: 123,
primaryMin: 123,
primaryAvg: 123,
primaryMedian: 123,
primaryMode: 123,
primaryMax: 123,
primaryTenthPercentile: 123,
primaryNinetiethPercentile: 123,
secondaryMin: 123,
secondaryAvg: 123,
secondaryMedian: 123,
secondaryMode: 123,
secondaryMax: 123,
secondaryTenthPercentile: 123,
secondaryNinetiethPercentile: 123,
totalMin: 123,
totalAvg: 123,
totalMedian: 123,
totalMode: 123,
totalMax: 123,
totalTenthPercentile: 123,
totalNinetiethPercentile: 123,
errorMessage: '<string>',
analysisStarted: '2023-11-07T05:31:56Z',
analysisCompleted: '2023-11-07T05:31:56Z',
simulationCount: 123,
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
elapsedTimeInMilliSeconds: 123
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}', 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/analyses/{analysisId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'record' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'sequenceId' => 123,
'dueDate' => '2023-11-07T05:31:56Z',
'stepDueDate' => '2023-11-07T05:31:56Z',
'userDate' => '2023-11-07T05:31:56Z',
'recordName' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'origin' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'creator' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'user' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'secondaryAssignees' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
]
],
'userGroups' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'recordDefault' => true,
'title' => '<string>',
'automatedUserGroup' => true,
'automatedUserGroupFieldLabel' => '<string>'
]
],
'currentValueMaps' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'copyable' => true
]
],
'assignee' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'daysUntilDue' => [
'value' => 123
],
'activeForRecord' => '<unknown>',
'lastUpdated' => '2023-11-07T05:31:56Z',
'viewableTitle' => '<string>',
'initialStateEndStep' => true,
'workflowDueDate' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'isPublic' => true
],
'analysisInput' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'analysisInputValueList' => [
[
'confidence' => 123,
'max' => 123,
'min' => 123,
'mostLikely' => 123,
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
]
],
'title' => '<string>',
'annualMin' => 123,
'annualAvg' => 123,
'annualMedian' => 123,
'annualMode' => 123,
'annualMax' => 123,
'annualTenthPercentile' => 123,
'annualNinetiethPercentile' => 123,
'primaryMin' => 123,
'primaryAvg' => 123,
'primaryMedian' => 123,
'primaryMode' => 123,
'primaryMax' => 123,
'primaryTenthPercentile' => 123,
'primaryNinetiethPercentile' => 123,
'secondaryMin' => 123,
'secondaryAvg' => 123,
'secondaryMedian' => 123,
'secondaryMode' => 123,
'secondaryMax' => 123,
'secondaryTenthPercentile' => 123,
'secondaryNinetiethPercentile' => 123,
'totalMin' => 123,
'totalAvg' => 123,
'totalMedian' => 123,
'totalMode' => 123,
'totalMax' => 123,
'totalTenthPercentile' => 123,
'totalNinetiethPercentile' => 123,
'errorMessage' => '<string>',
'analysisStarted' => '2023-11-07T05:31:56Z',
'analysisCompleted' => '2023-11-07T05:31:56Z',
'simulationCount' => 123,
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'elapsedTimeInMilliSeconds' => 123
]),
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/analyses/{analysisId}"
payload := strings.NewReader("{\n \"record\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n },\n \"analysisInput\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"analysisInputValueList\": [\n {\n \"confidence\": 123,\n \"max\": 123,\n \"min\": 123,\n \"mostLikely\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"title\": \"<string>\",\n \"annualMin\": 123,\n \"annualAvg\": 123,\n \"annualMedian\": 123,\n \"annualMode\": 123,\n \"annualMax\": 123,\n \"annualTenthPercentile\": 123,\n \"annualNinetiethPercentile\": 123,\n \"primaryMin\": 123,\n \"primaryAvg\": 123,\n \"primaryMedian\": 123,\n \"primaryMode\": 123,\n \"primaryMax\": 123,\n \"primaryTenthPercentile\": 123,\n \"primaryNinetiethPercentile\": 123,\n \"secondaryMin\": 123,\n \"secondaryAvg\": 123,\n \"secondaryMedian\": 123,\n \"secondaryMode\": 123,\n \"secondaryMax\": 123,\n \"secondaryTenthPercentile\": 123,\n \"secondaryNinetiethPercentile\": 123,\n \"totalMin\": 123,\n \"totalAvg\": 123,\n \"totalMedian\": 123,\n \"totalMode\": 123,\n \"totalMax\": 123,\n \"totalTenthPercentile\": 123,\n \"totalNinetiethPercentile\": 123,\n \"errorMessage\": \"<string>\",\n \"analysisStarted\": \"2023-11-07T05:31:56Z\",\n \"analysisCompleted\": \"2023-11-07T05:31:56Z\",\n \"simulationCount\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"elapsedTimeInMilliSeconds\": 123\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"record\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n },\n \"analysisInput\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"analysisInputValueList\": [\n {\n \"confidence\": 123,\n \"max\": 123,\n \"min\": 123,\n \"mostLikely\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"title\": \"<string>\",\n \"annualMin\": 123,\n \"annualAvg\": 123,\n \"annualMedian\": 123,\n \"annualMode\": 123,\n \"annualMax\": 123,\n \"annualTenthPercentile\": 123,\n \"annualNinetiethPercentile\": 123,\n \"primaryMin\": 123,\n \"primaryAvg\": 123,\n \"primaryMedian\": 123,\n \"primaryMode\": 123,\n \"primaryMax\": 123,\n \"primaryTenthPercentile\": 123,\n \"primaryNinetiethPercentile\": 123,\n \"secondaryMin\": 123,\n \"secondaryAvg\": 123,\n \"secondaryMedian\": 123,\n \"secondaryMode\": 123,\n \"secondaryMax\": 123,\n \"secondaryTenthPercentile\": 123,\n \"secondaryNinetiethPercentile\": 123,\n \"totalMin\": 123,\n \"totalAvg\": 123,\n \"totalMedian\": 123,\n \"totalMode\": 123,\n \"totalMax\": 123,\n \"totalTenthPercentile\": 123,\n \"totalNinetiethPercentile\": 123,\n \"errorMessage\": \"<string>\",\n \"analysisStarted\": \"2023-11-07T05:31:56Z\",\n \"analysisCompleted\": \"2023-11-07T05:31:56Z\",\n \"simulationCount\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"elapsedTimeInMilliSeconds\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"record\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n },\n \"analysisInput\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"analysisInputValueList\": [\n {\n \"confidence\": 123,\n \"max\": 123,\n \"min\": 123,\n \"mostLikely\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"title\": \"<string>\",\n \"annualMin\": 123,\n \"annualAvg\": 123,\n \"annualMedian\": 123,\n \"annualMode\": 123,\n \"annualMax\": 123,\n \"annualTenthPercentile\": 123,\n \"annualNinetiethPercentile\": 123,\n \"primaryMin\": 123,\n \"primaryAvg\": 123,\n \"primaryMedian\": 123,\n \"primaryMode\": 123,\n \"primaryMax\": 123,\n \"primaryTenthPercentile\": 123,\n \"primaryNinetiethPercentile\": 123,\n \"secondaryMin\": 123,\n \"secondaryAvg\": 123,\n \"secondaryMedian\": 123,\n \"secondaryMode\": 123,\n \"secondaryMax\": 123,\n \"secondaryTenthPercentile\": 123,\n \"secondaryNinetiethPercentile\": 123,\n \"totalMin\": 123,\n \"totalAvg\": 123,\n \"totalMedian\": 123,\n \"totalMode\": 123,\n \"totalMax\": 123,\n \"totalTenthPercentile\": 123,\n \"totalNinetiethPercentile\": 123,\n \"errorMessage\": \"<string>\",\n \"analysisStarted\": \"2023-11-07T05:31:56Z\",\n \"analysisCompleted\": \"2023-11-07T05:31:56Z\",\n \"simulationCount\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"elapsedTimeInMilliSeconds\": 123\n}"
response = http.request(request)
puts response.read_body{
"record": {
"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",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"user": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"secondaryAssignees": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
],
"userGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": true
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"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
},
"analysisInput": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"analysisInputValueList": [
{
"confidence": 123,
"max": 123,
"min": 123,
"mostLikely": 123,
"analysisType": "CONTACT_FREQUENCY",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
]
},
"title": "<string>",
"annualMin": 123,
"annualAvg": 123,
"annualMedian": 123,
"annualMode": 123,
"annualMax": 123,
"annualTenthPercentile": 123,
"annualNinetiethPercentile": 123,
"primaryMin": 123,
"primaryAvg": 123,
"primaryMedian": 123,
"primaryMode": 123,
"primaryMax": 123,
"primaryTenthPercentile": 123,
"primaryNinetiethPercentile": 123,
"secondaryMin": 123,
"secondaryAvg": 123,
"secondaryMedian": 123,
"secondaryMode": 123,
"secondaryMax": 123,
"secondaryTenthPercentile": 123,
"secondaryNinetiethPercentile": 123,
"totalMin": 123,
"totalAvg": 123,
"totalMedian": 123,
"totalMode": 123,
"totalMax": 123,
"totalTenthPercentile": 123,
"totalNinetiethPercentile": 123,
"analysisStatus": "NOT_STARTED",
"errorMessage": "<string>",
"analysisStarted": "2023-11-07T05:31:56Z",
"analysisCompleted": "2023-11-07T05:31:56Z",
"simulationCount": 123,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"elapsedTimeInMilliSeconds": 123
}Analysis
Update (PATCH /api/v1/analyses/{analysisId})
PATCH
/
api
/
v1
/
analyses
/
{analysisId}
cURL
curl --request PATCH \
--url https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"record": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": true,
"commentsEnabled": true,
"documentsEnabled": true,
"externalUserMfaRequired": true,
"uxriEnabled": true,
"autofillEnabled": true,
"sla": {
"enabled": true,
"duration": 123
},
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": true,
"contains": "<unknown>",
"origin": true,
"chain": true
},
"creator": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"user": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"secondaryAssignees": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
],
"userGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": true
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"daysUntilDue": {
"value": 123
},
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": true,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": true
},
"analysisInput": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"analysisInputValueList": [
{
"confidence": 123,
"max": 123,
"min": 123,
"mostLikely": 123,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
]
},
"title": "<string>",
"annualMin": 123,
"annualAvg": 123,
"annualMedian": 123,
"annualMode": 123,
"annualMax": 123,
"annualTenthPercentile": 123,
"annualNinetiethPercentile": 123,
"primaryMin": 123,
"primaryAvg": 123,
"primaryMedian": 123,
"primaryMode": 123,
"primaryMax": 123,
"primaryTenthPercentile": 123,
"primaryNinetiethPercentile": 123,
"secondaryMin": 123,
"secondaryAvg": 123,
"secondaryMedian": 123,
"secondaryMode": 123,
"secondaryMax": 123,
"secondaryTenthPercentile": 123,
"secondaryNinetiethPercentile": 123,
"totalMin": 123,
"totalAvg": 123,
"totalMedian": 123,
"totalMode": 123,
"totalMax": 123,
"totalTenthPercentile": 123,
"totalNinetiethPercentile": 123,
"errorMessage": "<string>",
"analysisStarted": "2023-11-07T05:31:56Z",
"analysisCompleted": "2023-11-07T05:31:56Z",
"simulationCount": 123,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"elapsedTimeInMilliSeconds": 123
}
'import requests
url = "https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}"
payload = {
"record": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"sequenceId": 123,
"dueDate": "2023-11-07T05:31:56Z",
"stepDueDate": "2023-11-07T05:31:56Z",
"userDate": "2023-11-07T05:31:56Z",
"recordName": "<string>",
"step": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"origin": {
"name": "<string>",
"description": "<string>",
"priority": 123,
"xpos": 123,
"ypos": 123,
"isPublic": True,
"commentsEnabled": True,
"documentsEnabled": True,
"externalUserMfaRequired": True,
"uxriEnabled": True,
"autofillEnabled": True,
"sla": {
"enabled": True,
"duration": 123
},
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"end": True,
"contains": "<unknown>",
"origin": True,
"chain": True
},
"creator": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"user": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"secondaryAssignees": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
}
],
"userGroups": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": True,
"title": "<string>",
"automatedUserGroup": True,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": True
}
],
"assignee": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": True,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"mfaEnabled": True,
"mfaSetup": True,
"autoprovisioned": True,
"scimStatus": "<string>",
"automatedUser": True,
"automatedUserFieldLabels": ["<string>"],
"lastLogin": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": True,
"disabled": True,
"serviceAccount": True,
"superUser": True,
"name": "<string>",
"locked": True
},
"daysUntilDue": { "value": 123 },
"activeForRecord": "<unknown>",
"lastUpdated": "2023-11-07T05:31:56Z",
"viewableTitle": "<string>",
"initialStateEndStep": True,
"workflowDueDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"isPublic": True
},
"analysisInput": {
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"analysisInputValueList": [
{
"confidence": 123,
"max": 123,
"min": 123,
"mostLikely": 123,
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
]
},
"title": "<string>",
"annualMin": 123,
"annualAvg": 123,
"annualMedian": 123,
"annualMode": 123,
"annualMax": 123,
"annualTenthPercentile": 123,
"annualNinetiethPercentile": 123,
"primaryMin": 123,
"primaryAvg": 123,
"primaryMedian": 123,
"primaryMode": 123,
"primaryMax": 123,
"primaryTenthPercentile": 123,
"primaryNinetiethPercentile": 123,
"secondaryMin": 123,
"secondaryAvg": 123,
"secondaryMedian": 123,
"secondaryMode": 123,
"secondaryMax": 123,
"secondaryTenthPercentile": 123,
"secondaryNinetiethPercentile": 123,
"totalMin": 123,
"totalAvg": 123,
"totalMedian": 123,
"totalMode": 123,
"totalMax": 123,
"totalTenthPercentile": 123,
"totalNinetiethPercentile": 123,
"errorMessage": "<string>",
"analysisStarted": "2023-11-07T05:31:56Z",
"analysisCompleted": "2023-11-07T05:31:56Z",
"simulationCount": 123,
"id": "<string>",
"active": True,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"elapsedTimeInMilliSeconds": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
record: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
sequenceId: 123,
dueDate: '2023-11-07T05:31:56Z',
stepDueDate: '2023-11-07T05:31:56Z',
userDate: '2023-11-07T05:31:56Z',
recordName: '<string>',
step: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
origin: {
name: '<string>',
description: '<string>',
priority: 123,
xpos: 123,
ypos: 123,
isPublic: true,
commentsEnabled: true,
documentsEnabled: true,
externalUserMfaRequired: true,
uxriEnabled: true,
autofillEnabled: true,
sla: {enabled: true, duration: 123},
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
end: true,
contains: '<unknown>',
origin: true,
chain: true
},
creator: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
user: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
secondaryAssignees: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
}
],
userGroups: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
recordDefault: true,
title: '<string>',
automatedUserGroup: true,
automatedUserGroupFieldLabel: '<string>'
}
],
currentValueMaps: [
{
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
copyable: true
}
],
assignee: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
discriminator: '<string>',
status: '<string>',
idOrTransientId: '<string>',
transientIdOrId: '<string>',
textOrNumericValue: '<string>',
empty: true,
email: '<string>',
company: '<string>',
imageUrl: '<string>',
mfaEnabled: true,
mfaSetup: true,
autoprovisioned: true,
scimStatus: '<string>',
automatedUser: true,
automatedUserFieldLabels: ['<string>'],
lastLogin: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
accessType: '<string>'
},
lastDeactivated: '2023-11-07T05:31:56Z',
external: true,
disabled: true,
serviceAccount: true,
superUser: true,
name: '<string>',
locked: true
},
daysUntilDue: {value: 123},
activeForRecord: '<unknown>',
lastUpdated: '2023-11-07T05:31:56Z',
viewableTitle: '<string>',
initialStateEndStep: true,
workflowDueDate: '2023-11-07T05:31:56Z',
name: '<string>',
isPublic: true
},
analysisInput: {
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
analysisInputValueList: [
{
confidence: 123,
max: 123,
min: 123,
mostLikely: 123,
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z'
}
]
},
title: '<string>',
annualMin: 123,
annualAvg: 123,
annualMedian: 123,
annualMode: 123,
annualMax: 123,
annualTenthPercentile: 123,
annualNinetiethPercentile: 123,
primaryMin: 123,
primaryAvg: 123,
primaryMedian: 123,
primaryMode: 123,
primaryMax: 123,
primaryTenthPercentile: 123,
primaryNinetiethPercentile: 123,
secondaryMin: 123,
secondaryAvg: 123,
secondaryMedian: 123,
secondaryMode: 123,
secondaryMax: 123,
secondaryTenthPercentile: 123,
secondaryNinetiethPercentile: 123,
totalMin: 123,
totalAvg: 123,
totalMedian: 123,
totalMode: 123,
totalMax: 123,
totalTenthPercentile: 123,
totalNinetiethPercentile: 123,
errorMessage: '<string>',
analysisStarted: '2023-11-07T05:31:56Z',
analysisCompleted: '2023-11-07T05:31:56Z',
simulationCount: 123,
id: '<string>',
active: true,
created: '2023-11-07T05:31:56Z',
updated: '2023-11-07T05:31:56Z',
elapsedTimeInMilliSeconds: 123
})
};
fetch('https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}', 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/analyses/{analysisId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'record' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'sequenceId' => 123,
'dueDate' => '2023-11-07T05:31:56Z',
'stepDueDate' => '2023-11-07T05:31:56Z',
'userDate' => '2023-11-07T05:31:56Z',
'recordName' => '<string>',
'step' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'origin' => [
'name' => '<string>',
'description' => '<string>',
'priority' => 123,
'xpos' => 123,
'ypos' => 123,
'isPublic' => true,
'commentsEnabled' => true,
'documentsEnabled' => true,
'externalUserMfaRequired' => true,
'uxriEnabled' => true,
'autofillEnabled' => true,
'sla' => [
'enabled' => true,
'duration' => 123
],
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'end' => true,
'contains' => '<unknown>',
'origin' => true,
'chain' => true
],
'creator' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'user' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'secondaryAssignees' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
]
],
'userGroups' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'recordDefault' => true,
'title' => '<string>',
'automatedUserGroup' => true,
'automatedUserGroupFieldLabel' => '<string>'
]
],
'currentValueMaps' => [
[
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'copyable' => true
]
],
'assignee' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'discriminator' => '<string>',
'status' => '<string>',
'idOrTransientId' => '<string>',
'transientIdOrId' => '<string>',
'textOrNumericValue' => '<string>',
'empty' => true,
'email' => '<string>',
'company' => '<string>',
'imageUrl' => '<string>',
'mfaEnabled' => true,
'mfaSetup' => true,
'autoprovisioned' => true,
'scimStatus' => '<string>',
'automatedUser' => true,
'automatedUserFieldLabels' => [
'<string>'
],
'lastLogin' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'accessType' => '<string>'
],
'lastDeactivated' => '2023-11-07T05:31:56Z',
'external' => true,
'disabled' => true,
'serviceAccount' => true,
'superUser' => true,
'name' => '<string>',
'locked' => true
],
'daysUntilDue' => [
'value' => 123
],
'activeForRecord' => '<unknown>',
'lastUpdated' => '2023-11-07T05:31:56Z',
'viewableTitle' => '<string>',
'initialStateEndStep' => true,
'workflowDueDate' => '2023-11-07T05:31:56Z',
'name' => '<string>',
'isPublic' => true
],
'analysisInput' => [
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'analysisInputValueList' => [
[
'confidence' => 123,
'max' => 123,
'min' => 123,
'mostLikely' => 123,
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z'
]
]
],
'title' => '<string>',
'annualMin' => 123,
'annualAvg' => 123,
'annualMedian' => 123,
'annualMode' => 123,
'annualMax' => 123,
'annualTenthPercentile' => 123,
'annualNinetiethPercentile' => 123,
'primaryMin' => 123,
'primaryAvg' => 123,
'primaryMedian' => 123,
'primaryMode' => 123,
'primaryMax' => 123,
'primaryTenthPercentile' => 123,
'primaryNinetiethPercentile' => 123,
'secondaryMin' => 123,
'secondaryAvg' => 123,
'secondaryMedian' => 123,
'secondaryMode' => 123,
'secondaryMax' => 123,
'secondaryTenthPercentile' => 123,
'secondaryNinetiethPercentile' => 123,
'totalMin' => 123,
'totalAvg' => 123,
'totalMedian' => 123,
'totalMode' => 123,
'totalMax' => 123,
'totalTenthPercentile' => 123,
'totalNinetiethPercentile' => 123,
'errorMessage' => '<string>',
'analysisStarted' => '2023-11-07T05:31:56Z',
'analysisCompleted' => '2023-11-07T05:31:56Z',
'simulationCount' => 123,
'id' => '<string>',
'active' => true,
'created' => '2023-11-07T05:31:56Z',
'updated' => '2023-11-07T05:31:56Z',
'elapsedTimeInMilliSeconds' => 123
]),
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/analyses/{analysisId}"
payload := strings.NewReader("{\n \"record\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n },\n \"analysisInput\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"analysisInputValueList\": [\n {\n \"confidence\": 123,\n \"max\": 123,\n \"min\": 123,\n \"mostLikely\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"title\": \"<string>\",\n \"annualMin\": 123,\n \"annualAvg\": 123,\n \"annualMedian\": 123,\n \"annualMode\": 123,\n \"annualMax\": 123,\n \"annualTenthPercentile\": 123,\n \"annualNinetiethPercentile\": 123,\n \"primaryMin\": 123,\n \"primaryAvg\": 123,\n \"primaryMedian\": 123,\n \"primaryMode\": 123,\n \"primaryMax\": 123,\n \"primaryTenthPercentile\": 123,\n \"primaryNinetiethPercentile\": 123,\n \"secondaryMin\": 123,\n \"secondaryAvg\": 123,\n \"secondaryMedian\": 123,\n \"secondaryMode\": 123,\n \"secondaryMax\": 123,\n \"secondaryTenthPercentile\": 123,\n \"secondaryNinetiethPercentile\": 123,\n \"totalMin\": 123,\n \"totalAvg\": 123,\n \"totalMedian\": 123,\n \"totalMode\": 123,\n \"totalMax\": 123,\n \"totalTenthPercentile\": 123,\n \"totalNinetiethPercentile\": 123,\n \"errorMessage\": \"<string>\",\n \"analysisStarted\": \"2023-11-07T05:31:56Z\",\n \"analysisCompleted\": \"2023-11-07T05:31:56Z\",\n \"simulationCount\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"elapsedTimeInMilliSeconds\": 123\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"record\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n },\n \"analysisInput\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"analysisInputValueList\": [\n {\n \"confidence\": 123,\n \"max\": 123,\n \"min\": 123,\n \"mostLikely\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"title\": \"<string>\",\n \"annualMin\": 123,\n \"annualAvg\": 123,\n \"annualMedian\": 123,\n \"annualMode\": 123,\n \"annualMax\": 123,\n \"annualTenthPercentile\": 123,\n \"annualNinetiethPercentile\": 123,\n \"primaryMin\": 123,\n \"primaryAvg\": 123,\n \"primaryMedian\": 123,\n \"primaryMode\": 123,\n \"primaryMax\": 123,\n \"primaryTenthPercentile\": 123,\n \"primaryNinetiethPercentile\": 123,\n \"secondaryMin\": 123,\n \"secondaryAvg\": 123,\n \"secondaryMedian\": 123,\n \"secondaryMode\": 123,\n \"secondaryMax\": 123,\n \"secondaryTenthPercentile\": 123,\n \"secondaryNinetiethPercentile\": 123,\n \"totalMin\": 123,\n \"totalAvg\": 123,\n \"totalMedian\": 123,\n \"totalMode\": 123,\n \"totalMax\": 123,\n \"totalTenthPercentile\": 123,\n \"totalNinetiethPercentile\": 123,\n \"errorMessage\": \"<string>\",\n \"analysisStarted\": \"2023-11-07T05:31:56Z\",\n \"analysisCompleted\": \"2023-11-07T05:31:56Z\",\n \"simulationCount\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"elapsedTimeInMilliSeconds\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.logicgate.com/api/v1/analyses/{analysisId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"record\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"sequenceId\": 123,\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"stepDueDate\": \"2023-11-07T05:31:56Z\",\n \"userDate\": \"2023-11-07T05:31:56Z\",\n \"recordName\": \"<string>\",\n \"step\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"origin\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"priority\": 123,\n \"xpos\": 123,\n \"ypos\": 123,\n \"isPublic\": true,\n \"commentsEnabled\": true,\n \"documentsEnabled\": true,\n \"externalUserMfaRequired\": true,\n \"uxriEnabled\": true,\n \"autofillEnabled\": true,\n \"sla\": {\n \"enabled\": true,\n \"duration\": 123\n },\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"end\": true,\n \"contains\": \"<unknown>\",\n \"origin\": true,\n \"chain\": true\n },\n \"creator\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"user\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"secondaryAssignees\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n }\n ],\n \"userGroups\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"recordDefault\": true,\n \"title\": \"<string>\",\n \"automatedUserGroup\": true,\n \"automatedUserGroupFieldLabel\": \"<string>\"\n }\n ],\n \"currentValueMaps\": [\n {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"copyable\": true\n }\n ],\n \"assignee\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"discriminator\": \"<string>\",\n \"status\": \"<string>\",\n \"idOrTransientId\": \"<string>\",\n \"transientIdOrId\": \"<string>\",\n \"textOrNumericValue\": \"<string>\",\n \"empty\": true,\n \"email\": \"<string>\",\n \"company\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"mfaEnabled\": true,\n \"mfaSetup\": true,\n \"autoprovisioned\": true,\n \"scimStatus\": \"<string>\",\n \"automatedUser\": true,\n \"automatedUserFieldLabels\": [\n \"<string>\"\n ],\n \"lastLogin\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"accessType\": \"<string>\"\n },\n \"lastDeactivated\": \"2023-11-07T05:31:56Z\",\n \"external\": true,\n \"disabled\": true,\n \"serviceAccount\": true,\n \"superUser\": true,\n \"name\": \"<string>\",\n \"locked\": true\n },\n \"daysUntilDue\": {\n \"value\": 123\n },\n \"activeForRecord\": \"<unknown>\",\n \"lastUpdated\": \"2023-11-07T05:31:56Z\",\n \"viewableTitle\": \"<string>\",\n \"initialStateEndStep\": true,\n \"workflowDueDate\": \"2023-11-07T05:31:56Z\",\n \"name\": \"<string>\",\n \"isPublic\": true\n },\n \"analysisInput\": {\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"analysisInputValueList\": [\n {\n \"confidence\": 123,\n \"max\": 123,\n \"min\": 123,\n \"mostLikely\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"title\": \"<string>\",\n \"annualMin\": 123,\n \"annualAvg\": 123,\n \"annualMedian\": 123,\n \"annualMode\": 123,\n \"annualMax\": 123,\n \"annualTenthPercentile\": 123,\n \"annualNinetiethPercentile\": 123,\n \"primaryMin\": 123,\n \"primaryAvg\": 123,\n \"primaryMedian\": 123,\n \"primaryMode\": 123,\n \"primaryMax\": 123,\n \"primaryTenthPercentile\": 123,\n \"primaryNinetiethPercentile\": 123,\n \"secondaryMin\": 123,\n \"secondaryAvg\": 123,\n \"secondaryMedian\": 123,\n \"secondaryMode\": 123,\n \"secondaryMax\": 123,\n \"secondaryTenthPercentile\": 123,\n \"secondaryNinetiethPercentile\": 123,\n \"totalMin\": 123,\n \"totalAvg\": 123,\n \"totalMedian\": 123,\n \"totalMode\": 123,\n \"totalMax\": 123,\n \"totalTenthPercentile\": 123,\n \"totalNinetiethPercentile\": 123,\n \"errorMessage\": \"<string>\",\n \"analysisStarted\": \"2023-11-07T05:31:56Z\",\n \"analysisCompleted\": \"2023-11-07T05:31:56Z\",\n \"simulationCount\": 123,\n \"id\": \"<string>\",\n \"active\": true,\n \"created\": \"2023-11-07T05:31:56Z\",\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"elapsedTimeInMilliSeconds\": 123\n}"
response = http.request(request)
puts response.read_body{
"record": {
"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",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"user": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
},
"secondaryAssignees": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"mfaEnabled": true,
"mfaSetup": true,
"autoprovisioned": true,
"scimStatus": "<string>",
"automatedUser": true,
"automatedUserFieldLabels": [
"<string>"
],
"lastLogin": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"accessType": "<string>"
},
"lastDeactivated": "2023-11-07T05:31:56Z",
"external": true,
"disabled": true,
"serviceAccount": true,
"superUser": true,
"name": "<string>",
"locked": true
}
],
"userGroups": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"recordDefault": true,
"title": "<string>",
"automatedUserGroup": true,
"automatedUserGroupFieldLabel": "<string>"
}
],
"currentValueMaps": [
{
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"copyable": true
}
],
"assignee": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"discriminator": "<string>",
"status": "<string>",
"idOrTransientId": "<string>",
"transientIdOrId": "<string>",
"textOrNumericValue": "<string>",
"empty": true,
"email": "<string>",
"company": "<string>",
"imageUrl": "<string>",
"tier": "PRIMARY",
"pricingUserTier": "STANDARD",
"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
},
"analysisInput": {
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"analysisInputValueList": [
{
"confidence": 123,
"max": 123,
"min": 123,
"mostLikely": 123,
"analysisType": "CONTACT_FREQUENCY",
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}
]
},
"title": "<string>",
"annualMin": 123,
"annualAvg": 123,
"annualMedian": 123,
"annualMode": 123,
"annualMax": 123,
"annualTenthPercentile": 123,
"annualNinetiethPercentile": 123,
"primaryMin": 123,
"primaryAvg": 123,
"primaryMedian": 123,
"primaryMode": 123,
"primaryMax": 123,
"primaryTenthPercentile": 123,
"primaryNinetiethPercentile": 123,
"secondaryMin": 123,
"secondaryAvg": 123,
"secondaryMedian": 123,
"secondaryMode": 123,
"secondaryMax": 123,
"secondaryTenthPercentile": 123,
"secondaryNinetiethPercentile": 123,
"totalMin": 123,
"totalAvg": 123,
"totalMedian": 123,
"totalMode": 123,
"totalMax": 123,
"totalTenthPercentile": 123,
"totalNinetiethPercentile": 123,
"analysisStatus": "NOT_STARTED",
"errorMessage": "<string>",
"analysisStarted": "2023-11-07T05:31:56Z",
"analysisCompleted": "2023-11-07T05:31:56Z",
"simulationCount": 123,
"id": "<string>",
"active": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"elapsedTimeInMilliSeconds": 123
}Authorizations
ApiTokenbasic
Body
application/json
Response
200 - application/json
OK

