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": "9a969701-e97b-4b6b-8432-cbecc60501b0",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "905779de-ccf0-40ce-ad05-de0b67039b11",
        "Section": {
          "TaskTypeSectionId": "ba5433b8-c7ae-4406-8c06-3cdacf9de992",
          "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": "e7dfe7c0-d41a-4e5d-bc2d-0dcba98b26fd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "1a1ffd89-3ce3-42f6-8e36-8b56de499490",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d1224f4b-dc49-4f76-9668-2bb795f46e5f",
          "CreateDate": "2026-01-30T04:30:31.1809865-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-30T04:30:31.1809865-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a084a38b-e1f0-4b68-be76-dac12b84e5af",
            "FieldId": "954ed465-6e71-4122-ada4-865397628eb6",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a084a38b-e1f0-4b68-be76-dac12b84e5af",
            "FieldId": "954ed465-6e71-4122-ada4-865397628eb6",
            "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": "905779de-ccf0-40ce-ad05-de0b67039b11",
        "Section": {
          "TaskTypeSectionId": "ba5433b8-c7ae-4406-8c06-3cdacf9de992",
          "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": "e7dfe7c0-d41a-4e5d-bc2d-0dcba98b26fd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "1a1ffd89-3ce3-42f6-8e36-8b56de499490",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d1224f4b-dc49-4f76-9668-2bb795f46e5f",
          "CreateDate": "2026-01-30T04:30:31.1809865-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-30T04:30:31.1809865-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a084a38b-e1f0-4b68-be76-dac12b84e5af",
            "FieldId": "954ed465-6e71-4122-ada4-865397628eb6",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a084a38b-e1f0-4b68-be76-dac12b84e5af",
            "FieldId": "954ed465-6e71-4122-ada4-865397628eb6",
            "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": "8c733b2a-b0a5-468f-8ec4-09e5b713a8f8",
    "CreateDate": "2026-01-30T04:30:31.1809865-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-30T04:30:31.1809865-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "a6183be2-1a02-4c65-943d-b6471ad4cf4c",
      "CompanyId": "e027fcbc-b98b-4463-9a95-8591e85bc967",
      "TaskStatusTypeId": "59542f51-3316-4ca6-ac33-9d746af587c4",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "50e13ea7-166e-4f29-b745-2c90852fc6a9",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "a6183be2-1a02-4c65-943d-b6471ad4cf4c",
      "CompanyId": "e027fcbc-b98b-4463-9a95-8591e85bc967",
      "TaskStatusTypeId": "59542f51-3316-4ca6-ac33-9d746af587c4",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "50e13ea7-166e-4f29-b745-2c90852fc6a9",
      "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": "1299ff6d-cf32-4b39-86cc-5a1db51e9887",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "ef8be5fe-6ee2-49f7-b536-95d5b6ece881",
        "Section": {
          "TaskTypeSectionId": "eb8bcbfd-ba12-4045-a0d7-8110eb0e0c21",
          "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": "027a44cb-2ee0-4fcd-96c3-74309a8b725c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a520a9d1-c827-4ff9-9e7f-343538231ce6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1dfba60d-a86e-4cc5-abdd-6a090ddd0947",
          "CreateDate": "2026-01-30T04:30:31.1809865-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-30T04:30:31.1809865-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f1aebc9d-0a4c-4c93-827f-86ea63eb8f03",
            "FieldId": "66aae799-d8a4-47c5-aaee-7d3afa625638",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f1aebc9d-0a4c-4c93-827f-86ea63eb8f03",
            "FieldId": "66aae799-d8a4-47c5-aaee-7d3afa625638",
            "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": "ef8be5fe-6ee2-49f7-b536-95d5b6ece881",
        "Section": {
          "TaskTypeSectionId": "eb8bcbfd-ba12-4045-a0d7-8110eb0e0c21",
          "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": "027a44cb-2ee0-4fcd-96c3-74309a8b725c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a520a9d1-c827-4ff9-9e7f-343538231ce6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1dfba60d-a86e-4cc5-abdd-6a090ddd0947",
          "CreateDate": "2026-01-30T04:30:31.1809865-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-30T04:30:31.1809865-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f1aebc9d-0a4c-4c93-827f-86ea63eb8f03",
            "FieldId": "66aae799-d8a4-47c5-aaee-7d3afa625638",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f1aebc9d-0a4c-4c93-827f-86ea63eb8f03",
            "FieldId": "66aae799-d8a4-47c5-aaee-7d3afa625638",
            "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": "974e4146-6f42-4c5e-ad84-f480076addc1",
    "CreateDate": "2026-01-30T04:30:31.1809865-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-30T04:30:31.1809865-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}