GET api/Processes/List?onlyCount={onlyCount}

LIST processes or count processes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
onlyCount

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Workflows
NameDescriptionTypeAdditional information
itemCount

integer

None.

workflows

Collection of WorkflowData

None.

Response Formats

application/json, text/json

Sample:
{
  "itemCount": 1,
  "workflows": [
    {
      "id": "sample string 1",
      "dataFields": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "name": "sample string 2",
      "folder": "sample string 3",
      "systemName": "sample string 4",
      "folio": "sample string 5"
    },
    {
      "id": "sample string 1",
      "dataFields": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "name": "sample string 2",
      "folder": "sample string 3",
      "systemName": "sample string 4",
      "folio": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<ProcessesModel.Workflows xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models">
  <itemCount>1</itemCount>
  <workflows>
    <ProcessesModel.WorkflowData>
      <dataFields xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </dataFields>
      <folder>sample string 3</folder>
      <folio>sample string 5</folio>
      <id>sample string 1</id>
      <name>sample string 2</name>
      <systemName>sample string 4</systemName>
    </ProcessesModel.WorkflowData>
    <ProcessesModel.WorkflowData>
      <dataFields xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </dataFields>
      <folder>sample string 3</folder>
      <folio>sample string 5</folio>
      <id>sample string 1</id>
      <name>sample string 2</name>
      <systemName>sample string 4</systemName>
    </ProcessesModel.WorkflowData>
  </workflows>
</ProcessesModel.Workflows>