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": "8bd1b683-1e13-4c62-9a22-18731494bac6",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "67fbdb27-5258-4470-9fd6-8a544dafa693",
        "Section": {
          "TaskTypeSectionId": "14600955-89ba-429c-9ae2-3db24dd5b45e",
          "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": "651e83dd-fd4e-4e20-bf46-dbb0714e6459",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cea56510-eb8c-411b-a34a-43a598922374",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7bc97d6f-3c87-4391-ab97-bf74da6ddd77",
          "CreateDate": "2026-03-29T02:56:54.9320456-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-29T02:56:54.9320456-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "dd86ca3a-ced1-40d6-a7f9-76845256c19e",
            "FieldId": "afe8b5b5-59d2-487d-b4d4-0659320cd7e3",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "dd86ca3a-ced1-40d6-a7f9-76845256c19e",
            "FieldId": "afe8b5b5-59d2-487d-b4d4-0659320cd7e3",
            "FieldName": "sample string 1",
            "FieldLable": "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": "67fbdb27-5258-4470-9fd6-8a544dafa693",
        "Section": {
          "TaskTypeSectionId": "14600955-89ba-429c-9ae2-3db24dd5b45e",
          "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": "651e83dd-fd4e-4e20-bf46-dbb0714e6459",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cea56510-eb8c-411b-a34a-43a598922374",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7bc97d6f-3c87-4391-ab97-bf74da6ddd77",
          "CreateDate": "2026-03-29T02:56:54.9320456-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-29T02:56:54.9320456-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "dd86ca3a-ced1-40d6-a7f9-76845256c19e",
            "FieldId": "afe8b5b5-59d2-487d-b4d4-0659320cd7e3",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "dd86ca3a-ced1-40d6-a7f9-76845256c19e",
            "FieldId": "afe8b5b5-59d2-487d-b4d4-0659320cd7e3",
            "FieldName": "sample string 1",
            "FieldLable": "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": "82c1889e-1817-437b-ab29-e9a9eb7b22c3",
    "CreateDate": "2026-03-29T02:56:54.9320456-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-03-29T02:56:54.9320456-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "d21717e7-e79b-4c79-bbe8-5cc4df644567",
      "CompanyId": "583f0e24-0d56-4e2e-94e4-7683039770a6",
      "TaskStatusTypeId": "bcafdc1f-3264-43f0-bc14-d9208106e746",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "353666ca-6606-43e7-a53a-6920a420c56c",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "d21717e7-e79b-4c79-bbe8-5cc4df644567",
      "CompanyId": "583f0e24-0d56-4e2e-94e4-7683039770a6",
      "TaskStatusTypeId": "bcafdc1f-3264-43f0-bc14-d9208106e746",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "353666ca-6606-43e7-a53a-6920a420c56c",
      "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": "264131d2-6dbc-488a-8b3d-9c6823e6a922",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "cd6b2933-b979-41fb-aaa3-1f4908232862",
        "Section": {
          "TaskTypeSectionId": "052f2ba3-efbb-4412-a718-b2f6b8ef7614",
          "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": "66f295a8-5905-42d5-9f80-ebab0e0535fa",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "eebeac99-1a31-4211-8f29-725289b70c53",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6dfaea69-786d-420f-a0bf-926fe443a52a",
          "CreateDate": "2026-03-29T02:56:54.9320456-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-29T02:56:54.9320456-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "fe4c69cb-af0b-4404-9b2b-342c6f005620",
            "FieldId": "3bb174c5-ea1f-450f-a0cd-cdb616fc65a7",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "fe4c69cb-af0b-4404-9b2b-342c6f005620",
            "FieldId": "3bb174c5-ea1f-450f-a0cd-cdb616fc65a7",
            "FieldName": "sample string 1",
            "FieldLable": "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": "cd6b2933-b979-41fb-aaa3-1f4908232862",
        "Section": {
          "TaskTypeSectionId": "052f2ba3-efbb-4412-a718-b2f6b8ef7614",
          "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": "66f295a8-5905-42d5-9f80-ebab0e0535fa",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "eebeac99-1a31-4211-8f29-725289b70c53",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6dfaea69-786d-420f-a0bf-926fe443a52a",
          "CreateDate": "2026-03-29T02:56:54.9320456-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-29T02:56:54.9320456-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "fe4c69cb-af0b-4404-9b2b-342c6f005620",
            "FieldId": "3bb174c5-ea1f-450f-a0cd-cdb616fc65a7",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "fe4c69cb-af0b-4404-9b2b-342c6f005620",
            "FieldId": "3bb174c5-ea1f-450f-a0cd-cdb616fc65a7",
            "FieldName": "sample string 1",
            "FieldLable": "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": "98d27124-65fe-499e-b559-4330dd314b9c",
    "CreateDate": "2026-03-29T02:56:54.9320456-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-03-29T02:56:54.9320456-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}