POST TaskTypes

Request Information

URI Parameters

None.

Body Parameters

TaskTypeParams
NameDescriptionTypeAdditional information
Task

TaskType

None.

Associations

Collection of TaskStatusTypeTaskType

None.

Request Formats

application/json, text/json

Sample:
{
  "Task": {
    "TaskTypeId": "6f57514a-e556-4308-939a-59c1432c29e4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "e29cb3d3-6a09-450f-a08d-201c87984421",
        "Section": {
          "TaskTypeSectionId": "cc99aae4-286d-4d4a-a3f1-1663685e2942",
          "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": "8f11ede0-1308-4f40-8124-c91d4b2c0064",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "06067664-4d74-4b75-9915-1842274719be",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4a647fde-c928-4848-8a25-2acf7dbfd141",
          "CreateDate": "2026-02-08T18:38:05.8799691-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T18:38:05.8799691-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7037502c-6d92-46f2-9a02-b0387fdd4965",
            "FieldId": "c77eed40-3286-4341-84e5-c475ae2dbf01",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7037502c-6d92-46f2-9a02-b0387fdd4965",
            "FieldId": "c77eed40-3286-4341-84e5-c475ae2dbf01",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "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": "e29cb3d3-6a09-450f-a08d-201c87984421",
        "Section": {
          "TaskTypeSectionId": "cc99aae4-286d-4d4a-a3f1-1663685e2942",
          "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": "8f11ede0-1308-4f40-8124-c91d4b2c0064",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "06067664-4d74-4b75-9915-1842274719be",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4a647fde-c928-4848-8a25-2acf7dbfd141",
          "CreateDate": "2026-02-08T18:38:05.8799691-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T18:38:05.8799691-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7037502c-6d92-46f2-9a02-b0387fdd4965",
            "FieldId": "c77eed40-3286-4341-84e5-c475ae2dbf01",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7037502c-6d92-46f2-9a02-b0387fdd4965",
            "FieldId": "c77eed40-3286-4341-84e5-c475ae2dbf01",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "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 4",
    "CompanyId": "95743b86-a82c-4486-9450-057739d785f3",
    "CreateDate": "2026-02-08T18:38:05.8799691-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-02-08T18:38:05.8799691-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "549ef7c4-a560-4030-b87b-ba411378d4b2",
      "CompanyId": "bb56ce5c-a042-492e-974b-4e2ee2c4f563",
      "TaskStatusTypeId": "3d29de26-a4ac-4d16-90d6-c542b406feb5",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "cb97256b-d8cc-45f6-ae94-8940cbed15ae",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "549ef7c4-a560-4030-b87b-ba411378d4b2",
      "CompanyId": "bb56ce5c-a042-492e-974b-4e2ee2c4f563",
      "TaskStatusTypeId": "3d29de26-a4ac-4d16-90d6-c542b406feb5",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "cb97256b-d8cc-45f6-ae94-8940cbed15ae",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    }
  ]
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

TaskType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "TaskTypeId": "56db0931-506a-4b95-95ed-aa2134b72c7e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "017fe4f5-724e-40bc-9f7d-43e5b2223c07",
        "Section": {
          "TaskTypeSectionId": "5bd35816-32ae-4085-9288-9d8cb697c38c",
          "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": "23f93d97-d582-45cb-837a-c6b73eda3664",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ec1be329-4826-4135-aba1-b4c6dc7500b7",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "177211e8-4944-4329-b50d-982d05ae03bb",
          "CreateDate": "2026-02-08T18:38:05.8799691-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T18:38:05.8799691-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "541ccc0e-a037-45f4-9059-aebbe68888bc",
            "FieldId": "a20c3605-cc9a-4d40-87c8-13a4f75fce8a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "541ccc0e-a037-45f4-9059-aebbe68888bc",
            "FieldId": "a20c3605-cc9a-4d40-87c8-13a4f75fce8a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "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": "017fe4f5-724e-40bc-9f7d-43e5b2223c07",
        "Section": {
          "TaskTypeSectionId": "5bd35816-32ae-4085-9288-9d8cb697c38c",
          "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": "23f93d97-d582-45cb-837a-c6b73eda3664",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ec1be329-4826-4135-aba1-b4c6dc7500b7",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "177211e8-4944-4329-b50d-982d05ae03bb",
          "CreateDate": "2026-02-08T18:38:05.8799691-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T18:38:05.8799691-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "541ccc0e-a037-45f4-9059-aebbe68888bc",
            "FieldId": "a20c3605-cc9a-4d40-87c8-13a4f75fce8a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "541ccc0e-a037-45f4-9059-aebbe68888bc",
            "FieldId": "a20c3605-cc9a-4d40-87c8-13a4f75fce8a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "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 4",
    "CompanyId": "0a437b59-5145-4a8b-963e-d73c1dd3eac9",
    "CreateDate": "2026-02-08T18:38:05.8799691-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-02-08T18:38:05.8799691-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}