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": "06269095-df69-44fa-b0f0-f4769067bd7e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "f04eb58b-50a7-4cd0-8b29-1ad11216c869",
        "Section": {
          "TaskTypeSectionId": "a0b57839-3fc9-4e24-ac32-cbef7bdc9354",
          "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": "c0d40757-4bfe-4f73-82c0-9a91dfbc78ae",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a1eb3da0-73ce-49ee-be86-41411c05d0b3",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "2ec1b043-c7d1-48a8-a193-67a07138cc15",
          "CreateDate": "2026-01-27T03:24:29.5586349-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-27T03:24:29.5586349-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "333c490c-a0b8-4905-acec-61294b0f23d3",
            "FieldId": "871daa4b-aec8-4ba4-8cac-d964bc8ed162",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "333c490c-a0b8-4905-acec-61294b0f23d3",
            "FieldId": "871daa4b-aec8-4ba4-8cac-d964bc8ed162",
            "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": "f04eb58b-50a7-4cd0-8b29-1ad11216c869",
        "Section": {
          "TaskTypeSectionId": "a0b57839-3fc9-4e24-ac32-cbef7bdc9354",
          "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": "c0d40757-4bfe-4f73-82c0-9a91dfbc78ae",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a1eb3da0-73ce-49ee-be86-41411c05d0b3",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "2ec1b043-c7d1-48a8-a193-67a07138cc15",
          "CreateDate": "2026-01-27T03:24:29.5586349-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-27T03:24:29.5586349-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "333c490c-a0b8-4905-acec-61294b0f23d3",
            "FieldId": "871daa4b-aec8-4ba4-8cac-d964bc8ed162",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "333c490c-a0b8-4905-acec-61294b0f23d3",
            "FieldId": "871daa4b-aec8-4ba4-8cac-d964bc8ed162",
            "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": "2f0c3285-dbdf-4576-916b-869c0dd9dd15",
    "CreateDate": "2026-01-27T03:24:29.5586349-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-27T03:24:29.5586349-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "aa7d8ecf-c925-40ec-92c4-7f1a26cfa98f",
      "CompanyId": "7e7f1f84-e09b-4c0e-9ab1-770b0fc0cb63",
      "TaskStatusTypeId": "b52d593d-bc11-48cb-859d-34d99a545ef7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "98a15817-66a0-4d15-96ac-ac3be7dc0301",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "aa7d8ecf-c925-40ec-92c4-7f1a26cfa98f",
      "CompanyId": "7e7f1f84-e09b-4c0e-9ab1-770b0fc0cb63",
      "TaskStatusTypeId": "b52d593d-bc11-48cb-859d-34d99a545ef7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "98a15817-66a0-4d15-96ac-ac3be7dc0301",
      "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": "2cf7c4e9-8631-4021-a152-045fabdb23e2",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "897cec6d-a086-4eba-a837-8163f6dc79ce",
        "Section": {
          "TaskTypeSectionId": "4caa86d6-35f4-486c-a0b7-d27c9d4d5db5",
          "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": "5f047a2c-d3f7-436c-8de3-89a9c3754256",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "37a9cb66-e2f2-4f6d-9adb-921e425f02bd",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "9ee923cd-3ba3-4583-bcab-361ab680fd8c",
          "CreateDate": "2026-01-27T03:24:29.5586349-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-27T03:24:29.5586349-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d44e4ee5-3769-4511-82ce-ed654401b041",
            "FieldId": "aef7ebf5-4968-40d2-a019-4edff1cf22fd",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d44e4ee5-3769-4511-82ce-ed654401b041",
            "FieldId": "aef7ebf5-4968-40d2-a019-4edff1cf22fd",
            "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": "897cec6d-a086-4eba-a837-8163f6dc79ce",
        "Section": {
          "TaskTypeSectionId": "4caa86d6-35f4-486c-a0b7-d27c9d4d5db5",
          "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": "5f047a2c-d3f7-436c-8de3-89a9c3754256",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "37a9cb66-e2f2-4f6d-9adb-921e425f02bd",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "9ee923cd-3ba3-4583-bcab-361ab680fd8c",
          "CreateDate": "2026-01-27T03:24:29.5586349-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-27T03:24:29.5586349-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d44e4ee5-3769-4511-82ce-ed654401b041",
            "FieldId": "aef7ebf5-4968-40d2-a019-4edff1cf22fd",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d44e4ee5-3769-4511-82ce-ed654401b041",
            "FieldId": "aef7ebf5-4968-40d2-a019-4edff1cf22fd",
            "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": "8f4feeb2-0346-4515-a3a9-9300b00dd906",
    "CreateDate": "2026-01-27T03:24:29.5586349-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-27T03:24:29.5586349-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}