Authorization: ********************
curl --location --request GET 'https://api.qal.eazy2biz.com/v1/stages/ID of workflow' \
--header 'Authorization;'
[
{
"_id": "string",
"details": {
"name": "string",
"companyId": 0,
"description": "string"
},
"workflowId": "string",
"fieldAccessMap": {},
"type": "FORM_STAGE",
"dueInDays": "string",
"assignee": {
"type": 0,
"assignees": [
"string"
],
"userGroupIds": [
"string"
],
"formFieldId": "string"
},
"actions": {
"stage_entry": [
{
"type": "SYSTEM_DEFINED",
"conditions": {
"logicalOp": "and",
"type": "MASTER",
"subExpressions": [
{
"firstValue": "string",
"op": " <",
"secondValue": "string"
}
]
},
"actionResults": [
{
"_id": "string",
"type": "STAGE_MOVEMENT",
"resultDetails": {
"activityType": "AUDIT",
"entityType": "WORKFLOW",
"entityId": "string",
"entityClassId": "string",
"message": "string",
"creatingLocalUserId": "string"
}
}
]
}
],
"stage_exit": [
{
"type": "SYSTEM_DEFINED",
"conditions": {
"logicalOp": "and",
"type": "MASTER",
"subExpressions": [
{
"firstValue": "string",
"op": " <",
"secondValue": "string"
}
]
},
"actionResults": [
{
"_id": "string",
"type": "STAGE_MOVEMENT",
"resultDetails": {
"activityType": "AUDIT",
"entityType": "WORKFLOW",
"entityId": "string",
"entityClassId": "string",
"message": "string",
"creatingLocalUserId": "string"
}
}
]
}
],
"field_update": [
{
"type": "SYSTEM_DEFINED",
"conditions": {
"logicalOp": "and",
"type": "MASTER",
"subExpressions": [
{
"firstValue": "string",
"op": " <",
"secondValue": "string"
}
]
},
"actionResults": [
{
"_id": "string",
"type": "STAGE_MOVEMENT",
"resultDetails": {
"activityType": "AUDIT",
"entityType": "WORKFLOW",
"entityId": "string",
"entityClassId": "string",
"message": "string",
"creatingLocalUserId": "string"
}
}
]
}
],
"sla_breach": [
{
"type": "SYSTEM_DEFINED",
"conditions": {
"logicalOp": "and",
"type": "MASTER",
"subExpressions": [
{
"firstValue": "string",
"op": " <",
"secondValue": "string"
}
]
},
"actionResults": [
{
"_id": "string",
"type": "STAGE_MOVEMENT",
"resultDetails": {
"activityType": "AUDIT",
"entityType": "WORKFLOW",
"entityId": "string",
"entityClassId": "string",
"message": "string",
"creatingLocalUserId": "string"
}
}
]
}
]
},
"nextStage": "string"
}
]