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": "080b341e-cd50-4032-b2f9-040523dc95db",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "87c96663-4830-4ba4-a4f7-064821a4e2a9",
        "Section": {
          "TaskTypeSectionId": "4ed8980f-259e-4f3b-bcef-6aaf626411ef",
          "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": "c859436e-2de5-499d-b971-6e8a316d63dc",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "6adbc167-2cc2-4130-aee7-77fc917df7cf",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "69b89160-3730-48fb-b3a4-9736cdc8705d",
          "CreateDate": "2026-02-08T08:40:29.546685-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T08:40:29.546685-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "14c8222a-c350-4288-8f9e-f725e03fc359",
            "FieldId": "2003eb8d-caed-4a1f-ac1b-5e6552bd3dc8",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "14c8222a-c350-4288-8f9e-f725e03fc359",
            "FieldId": "2003eb8d-caed-4a1f-ac1b-5e6552bd3dc8",
            "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": "87c96663-4830-4ba4-a4f7-064821a4e2a9",
        "Section": {
          "TaskTypeSectionId": "4ed8980f-259e-4f3b-bcef-6aaf626411ef",
          "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": "c859436e-2de5-499d-b971-6e8a316d63dc",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "6adbc167-2cc2-4130-aee7-77fc917df7cf",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "69b89160-3730-48fb-b3a4-9736cdc8705d",
          "CreateDate": "2026-02-08T08:40:29.546685-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T08:40:29.546685-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "14c8222a-c350-4288-8f9e-f725e03fc359",
            "FieldId": "2003eb8d-caed-4a1f-ac1b-5e6552bd3dc8",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "14c8222a-c350-4288-8f9e-f725e03fc359",
            "FieldId": "2003eb8d-caed-4a1f-ac1b-5e6552bd3dc8",
            "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": "2744cf71-ce05-4969-a5b4-78120203fe8c",
    "CreateDate": "2026-02-08T08:40:29.546685-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-02-08T08:40:29.546685-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "ed68867c-c894-4cb0-ad75-f6ea43111caa",
      "CompanyId": "73463c3e-9eaa-432b-98d4-9da4e88cf455",
      "TaskStatusTypeId": "973516d7-788c-4f52-bca0-a30469ec4216",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "c54eed5d-8cc9-4d14-b7d0-7270349c9b1c",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "ed68867c-c894-4cb0-ad75-f6ea43111caa",
      "CompanyId": "73463c3e-9eaa-432b-98d4-9da4e88cf455",
      "TaskStatusTypeId": "973516d7-788c-4f52-bca0-a30469ec4216",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "c54eed5d-8cc9-4d14-b7d0-7270349c9b1c",
      "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": "508340e9-4751-401a-a270-c1d202b25e50",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "ac610589-6855-4535-831c-0d4272b7a3d0",
        "Section": {
          "TaskTypeSectionId": "54f66e53-904c-489c-856d-cfa8eb960a2c",
          "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": "c28199d9-bc10-4832-aaf3-c8620f37266b",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "4dd7b09d-2abd-410d-ab46-4dbbfb7b2e77",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4c93f5ae-320b-4f1e-8ea8-b323714d7b21",
          "CreateDate": "2026-02-08T08:40:29.577933-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T08:40:29.577933-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a31749c9-b858-40f6-89d8-3990c5a267ae",
            "FieldId": "ecbf58a3-eadc-4ceb-894b-3d5c01075fbb",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a31749c9-b858-40f6-89d8-3990c5a267ae",
            "FieldId": "ecbf58a3-eadc-4ceb-894b-3d5c01075fbb",
            "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": "ac610589-6855-4535-831c-0d4272b7a3d0",
        "Section": {
          "TaskTypeSectionId": "54f66e53-904c-489c-856d-cfa8eb960a2c",
          "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": "c28199d9-bc10-4832-aaf3-c8620f37266b",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "4dd7b09d-2abd-410d-ab46-4dbbfb7b2e77",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4c93f5ae-320b-4f1e-8ea8-b323714d7b21",
          "CreateDate": "2026-02-08T08:40:29.577933-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-08T08:40:29.577933-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a31749c9-b858-40f6-89d8-3990c5a267ae",
            "FieldId": "ecbf58a3-eadc-4ceb-894b-3d5c01075fbb",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a31749c9-b858-40f6-89d8-3990c5a267ae",
            "FieldId": "ecbf58a3-eadc-4ceb-894b-3d5c01075fbb",
            "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": "8995ede1-6d70-4973-adc1-980b5d3ee5a6",
    "CreateDate": "2026-02-08T08:40:29.577933-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-02-08T08:40:29.577933-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}