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": "d73c8a9e-3253-45c9-b72b-cefc3680db99",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "e0515a47-7d02-4983-892d-4f51bfdf057e",
        "Section": {
          "TaskTypeSectionId": "a5f2ad52-8014-4746-ace2-83c7568b9d11",
          "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": "bb47cf81-f0c7-4d07-9cfd-4fd5e4f94dd6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "54bd6935-8f17-4f48-a589-f67e3122d583",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "bc218788-af08-4837-a1be-85f2bd754d7d",
          "CreateDate": "2026-10-09T11:51:33.6908466-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "fe53a377-fb00-47df-b7fc-5d0d32f6acf8",
            "FieldId": "5ffc0235-9bc9-493f-bfc7-0186a0c745df",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "fe53a377-fb00-47df-b7fc-5d0d32f6acf8",
            "FieldId": "5ffc0235-9bc9-493f-bfc7-0186a0c745df",
            "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": "e0515a47-7d02-4983-892d-4f51bfdf057e",
        "Section": {
          "TaskTypeSectionId": "a5f2ad52-8014-4746-ace2-83c7568b9d11",
          "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": "bb47cf81-f0c7-4d07-9cfd-4fd5e4f94dd6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "54bd6935-8f17-4f48-a589-f67e3122d583",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "bc218788-af08-4837-a1be-85f2bd754d7d",
          "CreateDate": "2026-10-09T11:51:33.6908466-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "fe53a377-fb00-47df-b7fc-5d0d32f6acf8",
            "FieldId": "5ffc0235-9bc9-493f-bfc7-0186a0c745df",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "fe53a377-fb00-47df-b7fc-5d0d32f6acf8",
            "FieldId": "5ffc0235-9bc9-493f-bfc7-0186a0c745df",
            "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": "2654cb54-c33e-4c03-a616-4a04693d1f6a",
    "CreateDate": "2026-10-09T11:51:33.6908466-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "999bd2c9-fb5a-4405-8aa7-76e71fd01efe",
      "CompanyId": "0b2f034a-4c77-4040-83f2-b2863dc70243",
      "TaskStatusTypeId": "7951514c-cfe4-46f4-b75b-67ed1a351fed",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "cea36ad6-276c-4f35-bf8b-2329b8872ec1",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "999bd2c9-fb5a-4405-8aa7-76e71fd01efe",
      "CompanyId": "0b2f034a-4c77-4040-83f2-b2863dc70243",
      "TaskStatusTypeId": "7951514c-cfe4-46f4-b75b-67ed1a351fed",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "cea36ad6-276c-4f35-bf8b-2329b8872ec1",
      "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": "2b6b4a36-7128-48c3-b3fc-da259e4e4c1f",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "3eddf6d2-5db7-4e58-9551-f039c8d28e5f",
        "Section": {
          "TaskTypeSectionId": "5c816c3c-0c5b-4f86-81c1-9c33337248b0",
          "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": "ee86285c-ebef-465a-8013-323298ea92cb",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "910f4d45-a1a5-4d20-a256-b611aebd8054",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5061945f-997c-4af1-a75a-b07cb5022b0a",
          "CreateDate": "2026-10-09T11:51:33.6908466-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a3dedf62-591a-4ad9-be7c-f8a176ec611b",
            "FieldId": "8c619b3d-2087-4a94-8e49-592ddbd01c5a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a3dedf62-591a-4ad9-be7c-f8a176ec611b",
            "FieldId": "8c619b3d-2087-4a94-8e49-592ddbd01c5a",
            "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": "3eddf6d2-5db7-4e58-9551-f039c8d28e5f",
        "Section": {
          "TaskTypeSectionId": "5c816c3c-0c5b-4f86-81c1-9c33337248b0",
          "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": "ee86285c-ebef-465a-8013-323298ea92cb",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "910f4d45-a1a5-4d20-a256-b611aebd8054",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5061945f-997c-4af1-a75a-b07cb5022b0a",
          "CreateDate": "2026-10-09T11:51:33.6908466-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a3dedf62-591a-4ad9-be7c-f8a176ec611b",
            "FieldId": "8c619b3d-2087-4a94-8e49-592ddbd01c5a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a3dedf62-591a-4ad9-be7c-f8a176ec611b",
            "FieldId": "8c619b3d-2087-4a94-8e49-592ddbd01c5a",
            "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": "bdb3ee59-a266-4857-adcf-3bb3151ec5c3",
    "CreateDate": "2026-10-09T11:51:33.6908466-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}