Optimize 10.7 | webMethods Optimize Documentation | Administering webMethods Optimize | For Developers | Optimize REST Services API | Process Analytics REST API Services | Stage Instances
 
Stage Instances
This service returns stage instance data for a specified process and time range. A set of stage model IDs may also be specified. Results may also be filtered by multiple stage statuses: started, completed, incomplete or breached. An "incomplete" status is a defined as a stage that was started but not completed before the process ended. If no status is given, then all stages that were active during the specified time range are returned.
The URL format is as follows:
http://${optimize host}:${port}/services/rest/api/ProcessAnalytics/StageInstances?processModelId=${processModelId}&stageIds=${stageIds}&startTime=${startTime}&endTime=${endTime}&status=${status}&maxResults=${maxResults}
Example:
http://localhost:12503/services/rest/api/ProcessAnalytics/StageInstances?
processModelId=ProcessModels/otc_bus_stages&startTime=1407996000000&endTime=
1408049935760&status=
RUNNING,COMPLETE&stageIds=18227992-9deb-46b3-b0f7-618ffa2948a5,67c79edc
-7498-41c9-a695-b646652572cb&maxResults=10