200 |
Each workflow have following fields
- path
- versionId
- numOfOrders
- blocked
- failed
- inProgress
- pending
- prompting
- running
- scheduled
- suspended
- terminated
- waiting
|
|
application/json
model |
example
{
"title": "workflows order count",
"$schema": "http://json-schema.org/draft-04/schema#",
"javaType": "com.sos.joc.model.workflow.WorkflowsOrderCount",
"type": "object",
"properties": {
"deliveryDate": {
"description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
"type": "string",
"format": "date-time"
},
"surveyDate": {
"description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
"type": "string",
"format": "date-time"
},
"workflows": {
"type": "array",
"items": {
"type": "object",
"javaType": "com.sos.joc.model.workflow.WorkflowOrderCount",
"properties": {
"path": {
"description": "absolute path of an object.",
"type": "string",
"pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
"maxLength": 255,
"minLength": 1
},
"versionId": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"numOfOrders": {
"javaType": "com.sos.joc.model.order.OrdersSummary",
"type": "object",
"properties": {
"pending": {
"type": "integer",
"minimum": 0
},
"scheduled": {
"type": "integer",
"minimum": 0
},
"inProgress": {
"type": "integer",
"minimum": 0
},
"running": {
"type": "integer",
"minimum": 0
},
"prompting": {
"type": "integer",
"minimum": 0
},
"suspended": {
"type": "integer",
"minimum": 0
},
"waiting": {
"type": "integer",
"minimum": 0
},
"blocked": {
"type": "integer",
"minimum": 0
},
"failed": {
"type": "integer",
"minimum": 0
},
"terminated": {
"type": "integer",
"minimum": 0
}
}
}
},
"additionalProperties": false
}
},
"numOfAllOrders": {
"javaType": "com.sos.joc.model.order.OrdersSummary",
"type": "object",
"properties": {
"pending": {
"type": "integer",
"minimum": 0
},
"scheduled": {
"type": "integer",
"minimum": 0
},
"inProgress": {
"type": "integer",
"minimum": 0
},
"running": {
"type": "integer",
"minimum": 0
},
"prompting": {
"type": "integer",
"minimum": 0
},
"suspended": {
"type": "integer",
"minimum": 0
},
"waiting": {
"type": "integer",
"minimum": 0
},
"blocked": {
"type": "integer",
"minimum": 0
},
"failed": {
"type": "integer",
"minimum": 0
},
"terminated": {
"type": "integer",
"minimum": 0
}
}
}
},
"additionalProperties": false
}
{ "deliveryDate": "2021-10-05T13:54:10.791Z", "surveyDate": "2021-10-05T13:54:03.41Z", "workflows": [{ "numOfOrders": { "blocked": 0, "failed": 0, "inProgress": 0, "pending": 0, "prompting": 0, "running": 0, "scheduled": 1, "suspended": 0, "terminated": 0, "waiting": 0 }, "path": "jduScheduledWorkflowDaily", "versionId": "10ac4f2a-1977-4232-81cf-e90862477271" }, { "numOfOrders": { "blocked": 0, "failed": 0, "inProgress": 0, "pending": 0, "prompting": 0, "running": 0, "scheduled": 1, "suspended": 0, "terminated": 0, "waiting": 0 }, "path": "jduScheduledWorkflowForkList", "versionId": "10ac4f2a-1977-4232-81cf-e90862477271" }, { "numOfOrders": { "blocked": 0, "failed": 0, "inProgress": 0, "pending": 0, "prompting": 0, "running": 0, "scheduled": 0, "suspended": 0, "terminated": 0, "waiting": 0 }, "path": "jduScheduledWorkflowCyclic", "versionId": "10ac4f2a-1977-4232-81cf-e90862477271" }, { "numOfOrders": { "blocked": 0, "failed": 0, "inProgress": 0, "pending": 0, "prompting": 0, "running": 0, "scheduled": 0, "suspended": 0, "terminated": 0, "waiting": 0 }, "path": "jduScheduledWorkflowBusinessDays", "versionId": "10ac4f2a-1977-4232-81cf-e90862477271" }] }
{
"deliveryDate": "2021-10-05T13:54:10.791Z",
"surveyDate": "2021-10-05T13:54:03.41Z",
"workflows": [{
"numOfOrders": {
"blocked": 0,
"failed": 0,
"inProgress": 0,
"pending": 0,
"prompting": 0,
"running": 0,
"scheduled": 1,
"suspended": 0,
"terminated": 0,
"waiting": 0
},
"path": "jduScheduledWorkflowDaily",
"versionId": "10ac4f2a-1977-4232-81cf-e90862477271"
}, {
"numOfOrders": {
"blocked": 0,
"failed": 0,
"inProgress": 0,
"pending": 0,
"prompting": 0,
"running": 0,
"scheduled": 1,
"suspended": 0,
"terminated": 0,
"waiting": 0
},
"path": "jduScheduledWorkflowForkList",
"versionId": "10ac4f2a-1977-4232-81cf-e90862477271"
}, {
"numOfOrders": {
"blocked": 0,
"failed": 0,
"inProgress": 0,
"pending": 0,
"prompting": 0,
"running": 0,
"scheduled": 0,
"suspended": 0,
"terminated": 0,
"waiting": 0
},
"path": "jduScheduledWorkflowCyclic",
"versionId": "10ac4f2a-1977-4232-81cf-e90862477271"
}, {
"numOfOrders": {
"blocked": 0,
"failed": 0,
"inProgress": 0,
"pending": 0,
"prompting": 0,
"running": 0,
"scheduled": 0,
"suspended": 0,
"terminated": 0,
"waiting": 0
},
"path": "jduScheduledWorkflowBusinessDays",
"versionId": "10ac4f2a-1977-4232-81cf-e90862477271"
}]
}
|