REST API - requestProcessDurationMeasure
The table summarizes the REST API - requestProcessDurationMeasure
Request
Format | POST <baseurl>/statistics/measures/get/process/duration/<start>/<end> |
Path parameters | start, end: Required start and end dates for the measure. |
Query parameters |
|
Body | processTemplateIds element (mandatory): This is an array of process template IDs. |
Response
JSON | Returns a JSON representation of the content of a ProcessDurationMeasures element. |
XML | Returns the content of a ProcessDurationMeasures element (from the EventCollectorMeasuresService schema). |
Example
Request | POST <baseurl>/statistics/measures/get/process/duration/2013-01-28T00:00/2013-01-30T00:00 |
Request body | <ProcessTemplateIds> <id> <processTemplateName>CMISSampleProcess</processTemplateName> </id> </ProcessTemplateIds> |
Response | { "measure": { "index": "0", "isConsolidatedMeasure": "false", "id": { "processTemplateName": "CMISSampleProcess" }, "period": [ { "index": "0", "duration": { "startDate": "2013-01-28T00:00:00.000Z" }, "entry": [ { "index": "0", "value": "0", "type": "PROCESS_TOTAL" }, { . . . "index": "47", "duration": { "startDate": "2013-01-29T23:00:00.000Z" }, "entry": [ { "index": "0", "value": "0", "type": "PROCESS_TOTAL" }, { "index": "1", "value": "0", "type": "PROCESS_TOTAL_TIME" }, . . . { "index": "9", "value": "0", "type": "WORKITEM_ACTION_AVERAGE_TIME" }, { "index": "10", "value": "0", "type": "WORKITEM_WORKINGTIME_TOTAL_TIME" }, { "index": "11", "value": "0", "type": "WORKITEM_WORKINGTIME_AVERAGE_TIME" } ] } ] } } |
Copyright © Cloud Software Group, Inc. All rights reserved.