REST API - queryProcessInstances
The table summarizes the REST API - queryProcessInstances.
Request
| Format |
GET <baseurl>/process/query/instance/<query>/<pagesize> |
| Path parameters |
|
| Query parameters |
|
Response
| JSON | Returns a JSON representation of the content of the queryProcessInstancesOutput element. |
| XML | Returns the content of the a queryProcessInstancesOutput element (from the ProcessManagement schema). |
Example
| Request |
GET <baseurl>/process/query/instance/SELECT%20ContactName%20FROM%20process%20WHERE%20INSTANCE.PRIORITY%20%3E%201/0?statusmode=ACTIVE |
| Response |
{
"xml-fragment":
{
"processInstances":
{
"processInstance":
[
{
"customAttributes":
{
"customAttribute":
{
"name": "ContactName",
"value": "Billy Smith"
}
}
},
{
"customAttributes":
{
"customAttribute":
{
"name": "ContactName",
"value": "Nancy Marshall"
}
}
},
]
},
"pagingID": 0
}
}
|
