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": "84ccac3e-8d2a-4077-8407-cca0357dc97f",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "28a3bf4d-8345-413b-a4df-969a0dc18c17",
        "Section": {
          "TaskTypeSectionId": "18f79a64-4a2a-4036-bfb5-ae4565c5414d",
          "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": "4b32e11b-9bd9-4539-a745-a0921fcebd8e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "4f36e3d6-a633-43be-861c-4e7b9662d2cc",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "23254fea-dff0-4d9b-9b37-9fedd9b9035b",
          "CreateDate": "2026-01-09T07:19:58.9717271-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-09T07:19:58.9717271-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4542cdec-0cbf-4d85-b2fb-b1c9f1878577",
            "FieldId": "2715a55b-625f-4297-81f4-406439fde7a1",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4542cdec-0cbf-4d85-b2fb-b1c9f1878577",
            "FieldId": "2715a55b-625f-4297-81f4-406439fde7a1",
            "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": "28a3bf4d-8345-413b-a4df-969a0dc18c17",
        "Section": {
          "TaskTypeSectionId": "18f79a64-4a2a-4036-bfb5-ae4565c5414d",
          "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": "4b32e11b-9bd9-4539-a745-a0921fcebd8e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "4f36e3d6-a633-43be-861c-4e7b9662d2cc",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "23254fea-dff0-4d9b-9b37-9fedd9b9035b",
          "CreateDate": "2026-01-09T07:19:58.9717271-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-09T07:19:58.9717271-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4542cdec-0cbf-4d85-b2fb-b1c9f1878577",
            "FieldId": "2715a55b-625f-4297-81f4-406439fde7a1",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4542cdec-0cbf-4d85-b2fb-b1c9f1878577",
            "FieldId": "2715a55b-625f-4297-81f4-406439fde7a1",
            "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": "00c3bdae-da55-4c94-8b88-b294c1873d06",
    "CreateDate": "2026-01-09T07:19:58.9717271-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-09T07:19:58.9717271-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "f497f379-1b7f-49d0-83e5-89778c8e3076",
      "CompanyId": "6b31aba6-611d-4ba1-87e7-af0640aef59d",
      "TaskStatusTypeId": "9e7a0e19-0b73-417b-b47f-415cc77a7c0b",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "4804ff9a-2d59-4048-9486-20df0414ac7d",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "f497f379-1b7f-49d0-83e5-89778c8e3076",
      "CompanyId": "6b31aba6-611d-4ba1-87e7-af0640aef59d",
      "TaskStatusTypeId": "9e7a0e19-0b73-417b-b47f-415cc77a7c0b",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "4804ff9a-2d59-4048-9486-20df0414ac7d",
      "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": "12e4f610-825c-4359-a605-d8718e80be9e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "56732735-bdf1-4dac-b203-d1d74f583f22",
        "Section": {
          "TaskTypeSectionId": "133f929e-c6a4-414d-bbf4-3a1ef693e55e",
          "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": "61e46599-d162-44ad-8922-ebf209fd5986",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2c5fbb47-7ab7-496e-a1a8-3da085255f8e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7d8b3402-dd53-4ea9-a91a-7e849569c413",
          "CreateDate": "2026-01-09T07:19:58.9717271-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-09T07:19:58.9717271-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "2ac4f8eb-8d6d-41c7-99e7-e2fc864f468d",
            "FieldId": "15fe9c3b-4c6e-4d7b-ac23-394b28cb0949",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "2ac4f8eb-8d6d-41c7-99e7-e2fc864f468d",
            "FieldId": "15fe9c3b-4c6e-4d7b-ac23-394b28cb0949",
            "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": "56732735-bdf1-4dac-b203-d1d74f583f22",
        "Section": {
          "TaskTypeSectionId": "133f929e-c6a4-414d-bbf4-3a1ef693e55e",
          "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": "61e46599-d162-44ad-8922-ebf209fd5986",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2c5fbb47-7ab7-496e-a1a8-3da085255f8e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7d8b3402-dd53-4ea9-a91a-7e849569c413",
          "CreateDate": "2026-01-09T07:19:58.9717271-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-09T07:19:58.9717271-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "2ac4f8eb-8d6d-41c7-99e7-e2fc864f468d",
            "FieldId": "15fe9c3b-4c6e-4d7b-ac23-394b28cb0949",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "2ac4f8eb-8d6d-41c7-99e7-e2fc864f468d",
            "FieldId": "15fe9c3b-4c6e-4d7b-ac23-394b28cb0949",
            "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": "17c4f1a9-03e2-4b4e-9dd5-d461c8da366a",
    "CreateDate": "2026-01-09T07:19:58.9717271-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-09T07:19:58.9717271-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}