PUT TaskTypes

Updates the given task type.

Request Information

URI Parameters

None.

Body Parameters

Task - Task type to update. Associations - List of associations between task types and task status types.

TaskTypeParams
NameDescriptionTypeAdditional information
Task

TaskType

None.

Associations

Collection of TaskStatusTypeTaskType

None.

Request Formats

application/json, text/json

Sample:
{
  "Task": {
    "TaskTypeId": "fecb3dae-5634-4536-a820-e3e7dc811c34",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "49f2af10-a1dc-4bdb-8d55-660bc0981ff5",
        "Section": {
          "TaskTypeSectionId": "662e362c-46a3-4b13-a115-e683f9e01822",
          "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": "024fcd68-7285-429a-989c-94605a55c012",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f4790574-9687-4b63-9224-bf742b783cea",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "b20aecb4-65dc-42ac-a772-20721bd15b33",
          "CreateDate": "2026-04-12T11:42:08.2006257-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-12T11:42:08.2006257-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "bd9c07ec-93cb-47d7-8049-0bdaea59372c",
            "FieldId": "f6812a96-8d35-429d-b738-e2f053755e91",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "bd9c07ec-93cb-47d7-8049-0bdaea59372c",
            "FieldId": "f6812a96-8d35-429d-b738-e2f053755e91",
            "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": "49f2af10-a1dc-4bdb-8d55-660bc0981ff5",
        "Section": {
          "TaskTypeSectionId": "662e362c-46a3-4b13-a115-e683f9e01822",
          "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": "024fcd68-7285-429a-989c-94605a55c012",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f4790574-9687-4b63-9224-bf742b783cea",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "b20aecb4-65dc-42ac-a772-20721bd15b33",
          "CreateDate": "2026-04-12T11:42:08.2006257-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-12T11:42:08.2006257-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "bd9c07ec-93cb-47d7-8049-0bdaea59372c",
            "FieldId": "f6812a96-8d35-429d-b738-e2f053755e91",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "bd9c07ec-93cb-47d7-8049-0bdaea59372c",
            "FieldId": "f6812a96-8d35-429d-b738-e2f053755e91",
            "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": "fb88fbf2-7851-47cc-9d27-82e25c8dd7f6",
    "CreateDate": "2026-04-12T11:42:08.2006257-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-04-12T11:42:08.2006257-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "b4527939-b43b-44b6-bc2e-cfb65547515a",
      "CompanyId": "fbb2912b-c881-4c4a-a96d-229aa538f8ac",
      "TaskStatusTypeId": "aa82a8a4-e0d3-4ae6-b65c-7016ec18cb19",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "9f759c0e-7fd4-4b50-9e9c-e93be5cf423b",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "b4527939-b43b-44b6-bc2e-cfb65547515a",
      "CompanyId": "fbb2912b-c881-4c4a-a96d-229aa538f8ac",
      "TaskStatusTypeId": "aa82a8a4-e0d3-4ae6-b65c-7016ec18cb19",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "9f759c0e-7fd4-4b50-9e9c-e93be5cf423b",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    }
  ]
}

Response Information

Resource Description

On success, the updated task type.

NameDescriptionTypeAdditional information
Data

TaskType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "TaskTypeId": "5ea0826e-bb58-4f17-b346-a023789070a1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "86db196f-703a-4d24-a9f4-bb57e2047a55",
        "Section": {
          "TaskTypeSectionId": "e649c8e1-1b28-45b9-8d2c-98c7857f5a66",
          "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": "01896f8f-ced6-4ef6-9bac-a23f56e772fd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e8504b22-52d1-40a3-9e4c-c21e8c44e475",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c3f4ecf6-51d7-49c7-9ae6-cd10f4ab7a83",
          "CreateDate": "2026-04-12T11:42:08.2006257-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-12T11:42:08.2006257-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c5bf217b-c84d-4e2f-948f-6cf09510033b",
            "FieldId": "17d0935f-951f-404b-bf01-02a89c307614",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c5bf217b-c84d-4e2f-948f-6cf09510033b",
            "FieldId": "17d0935f-951f-404b-bf01-02a89c307614",
            "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": "86db196f-703a-4d24-a9f4-bb57e2047a55",
        "Section": {
          "TaskTypeSectionId": "e649c8e1-1b28-45b9-8d2c-98c7857f5a66",
          "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": "01896f8f-ced6-4ef6-9bac-a23f56e772fd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e8504b22-52d1-40a3-9e4c-c21e8c44e475",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c3f4ecf6-51d7-49c7-9ae6-cd10f4ab7a83",
          "CreateDate": "2026-04-12T11:42:08.2006257-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-12T11:42:08.2006257-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c5bf217b-c84d-4e2f-948f-6cf09510033b",
            "FieldId": "17d0935f-951f-404b-bf01-02a89c307614",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c5bf217b-c84d-4e2f-948f-6cf09510033b",
            "FieldId": "17d0935f-951f-404b-bf01-02a89c307614",
            "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": "4658c2fb-6797-43f6-900e-ff6f3474f920",
    "CreateDate": "2026-04-12T11:42:08.2006257-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-04-12T11:42:08.2006257-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}