Authorization: ********************
{
"searchFilters": [
{
"type": "REGEX",
"field": "string",
"value": "string"
}
],
"operator": "AND",
"sortQuery": [
{
"field": "string",
"sortDirection": "ASCENDING"
}
]
}
curl --location --request POST 'https://api.qal.eazy2biz.com/v1/workflows/filter' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"searchFilters": [
{
"type": "REGEX",
"field": "string",
"value": "string"
}
],
"operator": "AND",
"sortQuery": [
{
"field": "string",
"sortDirection": "ASCENDING"
}
]
}'
[
{
"_id": "string",
"access": {
"editors": [
"string"
],
"readers": [
"string"
]
},
"tags": [
{
"name": "string",
"colour": "string"
}
],
"fields": [
{
"_id": "string",
"name": "string",
"type": "NUMBER",
"ownerId": "string",
"helpText": "string",
"fieldConfigurations": {
"defaultValue": "string",
"groupCorrelationKey": "string",
"correlationKey": "string",
"otherConfigurations": {}
},
"validations": [
{
"fieldValidationType": "REQUIRED",
"validationValue": "string"
}
]
}
],
"stages": [
{
"_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"
}
],
"workflowBlueprint": {},
"details": {
"name": "string",
"companyId": 0,
"description": "string"
},
"metaData": {
"createdBy": "string",
"lastUpdatedBy": "string",
"createdDate": "2019-08-24T14:15:22Z",
"lastUpdatedDate": "2019-08-24T14:15:22Z",
"version": 0
},
"enabled": true
}
]