REST API - listAdhocActivities (using global data reference)

The table summarizes the REST API - listAdhocActivities.

Request

Format
GET <baseurl>/process/adhoc/listbyref/<globaldataref>
Path parameters globaldataref: Can be obtained from findCaseByCID or findCaseByCriteria.

Response

JSON Returns a JSON representation of the content in the listAdhocActivitiesResponse element.
XML Returns the content in the listAdhocActivitiesResponse element (from the ProcessManagement schema).

Example

Request
GET <baseurl>/process/adhoc/listbyref/BDS-1-com.example.claimbom.Policy-8-0
Response
{
"xml-fragment":{
  "activity":[
    {
      "@name":"AdHoc14",
      "processID":"pvm:0a12d",
      "enabled":false,
      "inProgress":false,
      "repeatable":true,
      "automatic":false,
      "completedCount":1
    },
    {
      "@name":"AdHoc13",
      "processID":"pvm:0a12d",
      "enabled":false,
      "inProgress":false,
      "repeatable":true,
      "automatic":false,
      "completedCount":1
    }
  ]
 }
}