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": "7a359e4b-63af-4d85-80aa-b903e33fa279",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "93ecfd4b-5949-40c4-bacb-8ffd9e5a5f79",
        "Section": {
          "TaskTypeSectionId": "6e06c42e-c04b-48bf-9508-cf4f4159f7b5",
          "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": "8e82f8c3-192c-4fa4-9eff-8717a67bcf15",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2cf41dd5-8308-4d86-a0f2-2dd3789dd260",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "945eb686-2db2-42f6-bca7-7386f059ed27",
          "CreateDate": "2026-05-29T17:32:29.5784165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-29T17:32:29.5784165-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d34a0f9a-c294-49a0-973b-e12e428029ce",
            "FieldId": "ebd6896f-312c-46ef-a273-5ea6e9b110c1",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d34a0f9a-c294-49a0-973b-e12e428029ce",
            "FieldId": "ebd6896f-312c-46ef-a273-5ea6e9b110c1",
            "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": "93ecfd4b-5949-40c4-bacb-8ffd9e5a5f79",
        "Section": {
          "TaskTypeSectionId": "6e06c42e-c04b-48bf-9508-cf4f4159f7b5",
          "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": "8e82f8c3-192c-4fa4-9eff-8717a67bcf15",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2cf41dd5-8308-4d86-a0f2-2dd3789dd260",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "945eb686-2db2-42f6-bca7-7386f059ed27",
          "CreateDate": "2026-05-29T17:32:29.5784165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-29T17:32:29.5784165-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d34a0f9a-c294-49a0-973b-e12e428029ce",
            "FieldId": "ebd6896f-312c-46ef-a273-5ea6e9b110c1",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d34a0f9a-c294-49a0-973b-e12e428029ce",
            "FieldId": "ebd6896f-312c-46ef-a273-5ea6e9b110c1",
            "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": "356c6347-f7f1-499d-b99d-f07fd96cddf0",
    "CreateDate": "2026-05-29T17:32:29.5784165-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-05-29T17:32:29.5784165-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "50583fc4-782f-4324-ab3d-68d2576313d6",
      "CompanyId": "3f903241-88e1-48a5-a898-3021f1a7be92",
      "TaskStatusTypeId": "f37cbc30-5fae-40be-84c6-9dc2acfe2e73",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "a24dc114-a58c-45ec-917b-02ed614129f8",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "50583fc4-782f-4324-ab3d-68d2576313d6",
      "CompanyId": "3f903241-88e1-48a5-a898-3021f1a7be92",
      "TaskStatusTypeId": "f37cbc30-5fae-40be-84c6-9dc2acfe2e73",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "a24dc114-a58c-45ec-917b-02ed614129f8",
      "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": "f07d2433-9e06-4d2d-9e8d-a2f3b161cd92",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "791cff3c-c1ed-4660-82d7-8643abb40483",
        "Section": {
          "TaskTypeSectionId": "36f5bf6a-7360-418a-9f59-8d0f393d3d4c",
          "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": "0b630e56-7a7a-4107-839a-d27cb6b296fa",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cee6f16a-09da-49ff-ad67-19c0c3d13102",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ae1963c8-cbf0-4e0d-8844-a4a8e357d3d5",
          "CreateDate": "2026-05-29T17:32:29.5784165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-29T17:32:29.5784165-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "28cacd3e-9f3f-4413-a0f3-957a4f26344e",
            "FieldId": "97959d52-1484-40d9-81bd-742953cf52eb",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "28cacd3e-9f3f-4413-a0f3-957a4f26344e",
            "FieldId": "97959d52-1484-40d9-81bd-742953cf52eb",
            "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": "791cff3c-c1ed-4660-82d7-8643abb40483",
        "Section": {
          "TaskTypeSectionId": "36f5bf6a-7360-418a-9f59-8d0f393d3d4c",
          "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": "0b630e56-7a7a-4107-839a-d27cb6b296fa",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cee6f16a-09da-49ff-ad67-19c0c3d13102",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ae1963c8-cbf0-4e0d-8844-a4a8e357d3d5",
          "CreateDate": "2026-05-29T17:32:29.5784165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-29T17:32:29.5784165-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "28cacd3e-9f3f-4413-a0f3-957a4f26344e",
            "FieldId": "97959d52-1484-40d9-81bd-742953cf52eb",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "28cacd3e-9f3f-4413-a0f3-957a4f26344e",
            "FieldId": "97959d52-1484-40d9-81bd-742953cf52eb",
            "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": "a6d4c0ae-dd50-4789-8177-961bfe56fa54",
    "CreateDate": "2026-05-29T17:32:29.5784165-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-05-29T17:32:29.5784165-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}