GET TaskTypes?take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}

Retrieves task types for the given parameters. All parameters are optional.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
take

Number of task types to retrieve. Default is all task types

integer

None.

skip

Number of task types to skip before retrieval

integer

Default value is 0

sort

List of sorting rules to describe how to sort the task types before retrieval

Collection of Sort

None.

Operator

string

None.

Field

string

None.

Value

string

None.

Logic

string

None.

Filters

Collection of Filter

None.

Body Parameters

None.

Response Information

Resource Description

On success, a list of task types.

NameDescriptionTypeAdditional information
Data

Collection of TaskType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "TaskTypeId": "7208ece3-f997-4e91-bacf-eee5819a697a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Fields": [
        {
          "TaskTypeFieldId": "6bac1d5f-d416-4d21-bc72-651785ee2305",
          "Section": {
            "TaskTypeSectionId": "7e3859b4-e38f-45cf-9bd8-0e53e01d6756",
            "Name": "sample string 1",
            "Label": "sample string 2",
            "DisplayOrder": 1,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 4",
            "SourceSystemId": "sample string 5"
          },
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DataType": {
            "DataTypeId": "6f63c1d6-b56f-4a6f-84fc-5c4d63ff0de8",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "ec60118a-e541-4aa5-921f-7fcaaec57dfb",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "65d7f68f-495d-4a1d-8b00-7b7668630371",
            "CreateDate": "2022-11-26T22:56:19.7968488-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-26T22:56:19.7968488-08:00",
            "LastModifiedUser": "sample string 6"
          },
          "DisplayOrder": 1,
          "MinValue": 1.0,
          "MaxValue": 1.0,
          "MinLength": 1,
          "MaxLength": 1,
          "HasValidValues": true,
          "ValidValues": [
            "sample string 1",
            "sample string 2"
          ],
          "ValueExpression": "sample string 5",
          "RequiredExpression": "sample string 6",
          "IsAttachment": true,
          "DefaultValueExpression": "sample string 8",
          "IsMultiline": true,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 11",
          "SourceSystemId": "sample string 12"
        },
        {
          "TaskTypeFieldId": "6bac1d5f-d416-4d21-bc72-651785ee2305",
          "Section": {
            "TaskTypeSectionId": "7e3859b4-e38f-45cf-9bd8-0e53e01d6756",
            "Name": "sample string 1",
            "Label": "sample string 2",
            "DisplayOrder": 1,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 4",
            "SourceSystemId": "sample string 5"
          },
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DataType": {
            "DataTypeId": "6f63c1d6-b56f-4a6f-84fc-5c4d63ff0de8",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "ec60118a-e541-4aa5-921f-7fcaaec57dfb",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "65d7f68f-495d-4a1d-8b00-7b7668630371",
            "CreateDate": "2022-11-26T22:56:19.7968488-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-26T22:56:19.7968488-08:00",
            "LastModifiedUser": "sample string 6"
          },
          "DisplayOrder": 1,
          "MinValue": 1.0,
          "MaxValue": 1.0,
          "MinLength": 1,
          "MaxLength": 1,
          "HasValidValues": true,
          "ValidValues": [
            "sample string 1",
            "sample string 2"
          ],
          "ValueExpression": "sample string 5",
          "RequiredExpression": "sample string 6",
          "IsAttachment": true,
          "DefaultValueExpression": "sample string 8",
          "IsMultiline": true,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 11",
          "SourceSystemId": "sample string 12"
        }
      ],
      "SourceSystemId": "sample string 3",
      "CompanyId": "96a9a17c-d3ce-4532-9290-d1c1a3a14957",
      "CreateDate": "2022-11-26T22:56:19.7968488-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2022-11-26T22:56:19.7968488-08:00",
      "LastModifiedUser": "sample string 6"
    },
    {
      "TaskTypeId": "7208ece3-f997-4e91-bacf-eee5819a697a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Fields": [
        {
          "TaskTypeFieldId": "6bac1d5f-d416-4d21-bc72-651785ee2305",
          "Section": {
            "TaskTypeSectionId": "7e3859b4-e38f-45cf-9bd8-0e53e01d6756",
            "Name": "sample string 1",
            "Label": "sample string 2",
            "DisplayOrder": 1,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 4",
            "SourceSystemId": "sample string 5"
          },
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DataType": {
            "DataTypeId": "6f63c1d6-b56f-4a6f-84fc-5c4d63ff0de8",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "ec60118a-e541-4aa5-921f-7fcaaec57dfb",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "65d7f68f-495d-4a1d-8b00-7b7668630371",
            "CreateDate": "2022-11-26T22:56:19.7968488-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-26T22:56:19.7968488-08:00",
            "LastModifiedUser": "sample string 6"
          },
          "DisplayOrder": 1,
          "MinValue": 1.0,
          "MaxValue": 1.0,
          "MinLength": 1,
          "MaxLength": 1,
          "HasValidValues": true,
          "ValidValues": [
            "sample string 1",
            "sample string 2"
          ],
          "ValueExpression": "sample string 5",
          "RequiredExpression": "sample string 6",
          "IsAttachment": true,
          "DefaultValueExpression": "sample string 8",
          "IsMultiline": true,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 11",
          "SourceSystemId": "sample string 12"
        },
        {
          "TaskTypeFieldId": "6bac1d5f-d416-4d21-bc72-651785ee2305",
          "Section": {
            "TaskTypeSectionId": "7e3859b4-e38f-45cf-9bd8-0e53e01d6756",
            "Name": "sample string 1",
            "Label": "sample string 2",
            "DisplayOrder": 1,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 4",
            "SourceSystemId": "sample string 5"
          },
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Description": "sample string 3",
          "DataType": {
            "DataTypeId": "6f63c1d6-b56f-4a6f-84fc-5c4d63ff0de8",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "ec60118a-e541-4aa5-921f-7fcaaec57dfb",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "65d7f68f-495d-4a1d-8b00-7b7668630371",
            "CreateDate": "2022-11-26T22:56:19.7968488-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-26T22:56:19.7968488-08:00",
            "LastModifiedUser": "sample string 6"
          },
          "DisplayOrder": 1,
          "MinValue": 1.0,
          "MaxValue": 1.0,
          "MinLength": 1,
          "MaxLength": 1,
          "HasValidValues": true,
          "ValidValues": [
            "sample string 1",
            "sample string 2"
          ],
          "ValueExpression": "sample string 5",
          "RequiredExpression": "sample string 6",
          "IsAttachment": true,
          "DefaultValueExpression": "sample string 8",
          "IsMultiline": true,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 11",
          "SourceSystemId": "sample string 12"
        }
      ],
      "SourceSystemId": "sample string 3",
      "CompanyId": "96a9a17c-d3ce-4532-9290-d1c1a3a14957",
      "CreateDate": "2022-11-26T22:56:19.7968488-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2022-11-26T22:56:19.7968488-08:00",
      "LastModifiedUser": "sample string 6"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}