Skip to main content
Version: 2.2.1

INSTANCE-ATTRIBUTE

This method returns data of a workflow and an attribute using a REST endpoint.

GET /apigateway/se/exp/chatbot/api/instance-attribute.php

Query parameters:

Query parametersTypeRequiredDescription
cdProductNumericYesProcess automation component code (39 for Workflow)
idInstanceStringYesProcess instance ID # (WFPROCESS.IDPROCESS)
cdAttributeNumericYesPrimary key of the attribute (ADATTRIBUTE.CDATTRIBUTE)
fgLanguageNumericNoAttribute language code

Example request:

curl -X GET 'https://my-domain.softexpert.com/apigateway/se/exp/chatbot/api/instance-attribute.php?cdProduct=39&idInstance=420008&cdAttribute=410' \
-H 'Authorization: <your_api_token>' \

Example response:

200 OK

{
"success": true,
"response": {
"oid": "574721",
"identifier": "420008",
"title": "Your Title Instance",
"processStatus": "Progress",
"deadline": "In day",
"slaStatus": "Not applicable",
"instanceStatus": " - ",
"automationProductCode": 39,
"fgStatus": 1,
"fgSlaStatus": null,
"fgDeadline": 1,
"attribute_410": {
"attributeOid": 410,
"dataType": 1,
"multivalued": false,
"title": "Component",
"type": 1,
"value": [
{
"value": "13",
"label": "Performance",
"title": "Performance",
"type": "1"
}
]
}
}
}