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": "8dbe8f6a-1488-4999-bb07-caacb319e35a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "0a38dd4a-3184-4daa-9575-b7f157c8eaa0",
        "Section": {
          "TaskTypeSectionId": "85279dd7-d716-4253-9b7e-0c5cfc291485",
          "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": "f320e365-9613-474f-9ff4-53bed9408d88",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a836e51d-b17c-4623-86c3-5ae88a801b61",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8c2f9981-dd99-4206-99d7-127f3845f4cb",
          "CreateDate": "2025-09-17T09:48:28.1930573-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-17T09:48:28.1930573-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "66342571-c7e5-47b2-bf69-c38cdbb4a1ac",
            "FieldId": "d4d0c78e-f820-42f3-9ad5-02e342cb9f16",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "66342571-c7e5-47b2-bf69-c38cdbb4a1ac",
            "FieldId": "d4d0c78e-f820-42f3-9ad5-02e342cb9f16",
            "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": "0a38dd4a-3184-4daa-9575-b7f157c8eaa0",
        "Section": {
          "TaskTypeSectionId": "85279dd7-d716-4253-9b7e-0c5cfc291485",
          "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": "f320e365-9613-474f-9ff4-53bed9408d88",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a836e51d-b17c-4623-86c3-5ae88a801b61",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8c2f9981-dd99-4206-99d7-127f3845f4cb",
          "CreateDate": "2025-09-17T09:48:28.1930573-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-17T09:48:28.1930573-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "66342571-c7e5-47b2-bf69-c38cdbb4a1ac",
            "FieldId": "d4d0c78e-f820-42f3-9ad5-02e342cb9f16",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "66342571-c7e5-47b2-bf69-c38cdbb4a1ac",
            "FieldId": "d4d0c78e-f820-42f3-9ad5-02e342cb9f16",
            "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": "068138ad-45db-46b3-8b86-db742e59bff3",
    "CreateDate": "2025-09-17T09:48:28.1930573-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-09-17T09:48:28.1930573-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "140c070d-fa0c-49d7-925d-eb8140460db8",
      "CompanyId": "de1a6d3a-1b4c-4d41-bd37-7be5ba5dcd1e",
      "TaskStatusTypeId": "29375d54-b14d-4f1f-8b2f-e26a39323698",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "8966195e-f8d1-4192-80db-f4583bf0272c",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "140c070d-fa0c-49d7-925d-eb8140460db8",
      "CompanyId": "de1a6d3a-1b4c-4d41-bd37-7be5ba5dcd1e",
      "TaskStatusTypeId": "29375d54-b14d-4f1f-8b2f-e26a39323698",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "8966195e-f8d1-4192-80db-f4583bf0272c",
      "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": "058ecc5d-261a-41e7-b4b2-3a42940d408a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "1dc2ef91-c012-4c4b-9e14-40af735bebe3",
        "Section": {
          "TaskTypeSectionId": "412f0e1b-e945-4809-a48c-641c21b6eca0",
          "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": "e52ad011-c5e7-40b1-bc75-2eda331f907f",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "0b84ba92-ebb6-41ca-afe0-3431e8996263",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3d955be8-0d86-4341-a779-4dfdaefbdaec",
          "CreateDate": "2025-09-17T09:48:28.1930573-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-17T09:48:28.1930573-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d5ea226b-527f-4f28-820b-3d5e882dd75b",
            "FieldId": "1937fb19-a86e-4d5a-a80b-c804c0392d8d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d5ea226b-527f-4f28-820b-3d5e882dd75b",
            "FieldId": "1937fb19-a86e-4d5a-a80b-c804c0392d8d",
            "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": "1dc2ef91-c012-4c4b-9e14-40af735bebe3",
        "Section": {
          "TaskTypeSectionId": "412f0e1b-e945-4809-a48c-641c21b6eca0",
          "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": "e52ad011-c5e7-40b1-bc75-2eda331f907f",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "0b84ba92-ebb6-41ca-afe0-3431e8996263",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3d955be8-0d86-4341-a779-4dfdaefbdaec",
          "CreateDate": "2025-09-17T09:48:28.1930573-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-17T09:48:28.1930573-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d5ea226b-527f-4f28-820b-3d5e882dd75b",
            "FieldId": "1937fb19-a86e-4d5a-a80b-c804c0392d8d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d5ea226b-527f-4f28-820b-3d5e882dd75b",
            "FieldId": "1937fb19-a86e-4d5a-a80b-c804c0392d8d",
            "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": "65420074-95e5-4b38-86f1-80cf358e1ffd",
    "CreateDate": "2025-09-17T09:48:28.1930573-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-09-17T09:48:28.1930573-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}