Return a list of instances by type for processes where the current user has monitor permissions.
name | type | required | description |
---|---|---|---|
start | numeric | no | Start index of the record to return. Defaults to 0. |
count | numeric | no | Max number of records to return. Defaults to 15. |
sort | string | no | Property of the instance to sort by (ID, Name, CreatedDate, etc. Defaults to CreatedDate.) |
dir | string | no | Sort direction (ASC,DESC) Defaults to DESC. |
process_sid | string | no | filter instances by a particular process |
instance_name | string | no | filter instances by a particular Instance name |
last_milestone | string | no | filter instances by a the value of the last milestone that was reached |
submitted_range_start | string | no | filter instances and return those which were started on or after a certain date (UTC) Format - 2013-01-15 |
submitted_range_end | string | no | filter instances and return those which were started on or before a certain date (UTC) Format - 2013-01-15 |
id_range_start | int | no | filter instances and return those which have an ID greater than or equal to the value passed |
id_range_end | int | no | filter instances and return those which have an ID less than or equal to the value passed |
Append your key and the token obtained from either Access/exchange-token or Access/impersonate to the querystring (key=mykey&token=kj123khb123hb123hb123jh123) or to the headers (Authorization:Bearer kj123khb123hb123hb123jh123) of your request.
{ "total": 779, "items": [ { "r": 1, "sid": "14efaa2a-781d-4f6d-87a4-1be8a03cd04d", "id": 1864, "name": "Capital Expenditure Request (CER)", "process_id": 345, "process_sid": "a2acae5b-0934-4ff9-8259-ba9da5facb8a", "process_name": "Capital Expenditure Request (CER)", "publish_status": "Development", "last_milestone": "CER Approved", "last_milestone_date": "2013-06-27T15:44:53.627Z", "state": "Started", "requester_sid": "4e99e0dd-b3b3-4d5d-826d-3d5ae62a16cf", "start_date": "2013-06-21T18:15:24.580Z", "end_date": null, "created_date": "2013-06-21T18:15:24.580Z", "created_by": "4e99e0dd-b3b3-4d5d-826d-3d5ae62a16cf", "modified_date": "2013-06-27T15:44:53.627Z", "modified_by": "4e99e0dd-b3b3-4d5d-826d-3d5ae62a16cf", "deleted_date": null, "deleted_by": null, "requester_name": "iapprove demo", "client_name": "iapprove demo" } ] }