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": "16ef223b-a1c9-4a87-8eb4-e6191ce87394",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "c5e44cf7-8db8-4467-84db-a2d346130a7d",
        "Section": {
          "TaskTypeSectionId": "1d9f81c8-e148-48c5-9ab6-0efc1bd9e06d",
          "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": "36f111dd-a66d-431b-b7be-b948ae66db25",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e7a75398-b738-41bf-9856-f083ad8749df",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ec112304-6f9a-4dfb-a605-fbac1d31e9d5",
          "CreateDate": "2026-08-11T22:22:57.0267769-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:57.0267769-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d60df594-2b88-4978-9263-d8dda37a0723",
            "FieldId": "9cc34364-a288-4b2a-92ed-727ddb1eb089",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d60df594-2b88-4978-9263-d8dda37a0723",
            "FieldId": "9cc34364-a288-4b2a-92ed-727ddb1eb089",
            "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": "c5e44cf7-8db8-4467-84db-a2d346130a7d",
        "Section": {
          "TaskTypeSectionId": "1d9f81c8-e148-48c5-9ab6-0efc1bd9e06d",
          "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": "36f111dd-a66d-431b-b7be-b948ae66db25",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e7a75398-b738-41bf-9856-f083ad8749df",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ec112304-6f9a-4dfb-a605-fbac1d31e9d5",
          "CreateDate": "2026-08-11T22:22:57.0267769-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:57.0267769-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d60df594-2b88-4978-9263-d8dda37a0723",
            "FieldId": "9cc34364-a288-4b2a-92ed-727ddb1eb089",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d60df594-2b88-4978-9263-d8dda37a0723",
            "FieldId": "9cc34364-a288-4b2a-92ed-727ddb1eb089",
            "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": "a3434a61-f4be-4013-8879-33233ee10093",
    "CreateDate": "2026-08-11T22:22:57.0267769-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-08-11T22:22:57.0267769-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "d72952cb-2c7e-4c92-8d25-d678c8cc7772",
      "CompanyId": "72a80586-8bb5-4fe0-a933-593b11819ee1",
      "TaskStatusTypeId": "55ac860b-1038-484f-b09d-a2fbbc588959",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "d386feb2-8117-4d29-b22c-dd60ab091165",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "d72952cb-2c7e-4c92-8d25-d678c8cc7772",
      "CompanyId": "72a80586-8bb5-4fe0-a933-593b11819ee1",
      "TaskStatusTypeId": "55ac860b-1038-484f-b09d-a2fbbc588959",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "d386feb2-8117-4d29-b22c-dd60ab091165",
      "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": "2612f497-c69b-49e7-81ba-c64cf34b0782",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "0e9c24cf-e414-4323-b77a-e652592c0be3",
        "Section": {
          "TaskTypeSectionId": "399e43c8-c017-4e21-911f-05f1d59f2f4f",
          "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": "e87e31cb-47ed-4ffa-bb99-7755f0d60fc6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b75c1dfb-bb12-460f-b81b-ee156d86108b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "632e0038-e770-4915-99d4-7b15bc852c82",
          "CreateDate": "2026-08-11T22:22:57.0267769-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:57.0267769-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7928d7a3-4de0-4ac8-9c66-803e467bf197",
            "FieldId": "4626d215-e564-46dc-bdff-06aa0f72a10f",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7928d7a3-4de0-4ac8-9c66-803e467bf197",
            "FieldId": "4626d215-e564-46dc-bdff-06aa0f72a10f",
            "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": "0e9c24cf-e414-4323-b77a-e652592c0be3",
        "Section": {
          "TaskTypeSectionId": "399e43c8-c017-4e21-911f-05f1d59f2f4f",
          "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": "e87e31cb-47ed-4ffa-bb99-7755f0d60fc6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b75c1dfb-bb12-460f-b81b-ee156d86108b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "632e0038-e770-4915-99d4-7b15bc852c82",
          "CreateDate": "2026-08-11T22:22:57.0267769-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:57.0267769-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7928d7a3-4de0-4ac8-9c66-803e467bf197",
            "FieldId": "4626d215-e564-46dc-bdff-06aa0f72a10f",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7928d7a3-4de0-4ac8-9c66-803e467bf197",
            "FieldId": "4626d215-e564-46dc-bdff-06aa0f72a10f",
            "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": "c48e6426-bd41-4f32-8c99-5a5e39b68ba3",
    "CreateDate": "2026-08-11T22:22:57.0267769-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-08-11T22:22:57.0267769-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}