POST {repositoryId}/HumanTask/Catalog/Count

Returns the number of elements in the catalog for HumanTask resources.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

Optional filtering parameters:
- "ModelUrl" (defaults to "HumanTaskCatalog")
- "SimpleFilter" (alternative to Filter)
- "Filter" (alternative to SimpleFilter)

See Invocation details

Dictionary of string [key] and Object [value]

Request Formats

application/json, text/json

Sample:
{
  "Key 1": {},
  "Key 2": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>Key 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>Key 2</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>

application/x-www-form-urlencoded

Sample:

Response Information

Resource Description

The requested element count.

Dictionary of string [key] and integer [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": 2,
  "sample string 3": 4
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringint>
    <Key>sample string 1</Key>
    <Value>2</Value>
  </KeyValueOfstringint>
  <KeyValueOfstringint>
    <Key>sample string 3</Key>
    <Value>4</Value>
  </KeyValueOfstringint>
</ArrayOfKeyValueOfstringint>