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": "e35f4230-4ffd-427d-bb9d-e1db7ecb6057",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "b59a3e41-8308-4d01-b021-2f7115000de3",
        "Section": {
          "TaskTypeSectionId": "d83c180a-8d8e-4a37-8efb-927d674ab1d4",
          "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": "5b1805b2-c138-4310-b348-569432ed80d2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5729f06b-eb35-4781-8128-101d8615fb20",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "febad84b-0eb1-460e-82d8-66246b8ace5d",
          "CreateDate": "2026-03-01T02:04:51.0539618-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-01T02:04:51.0539618-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "1aafb5b0-c669-4f52-b7dd-e0b36ce10f97",
            "FieldId": "0e6abfa1-441e-414b-89b2-28e0ae0d246e",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "1aafb5b0-c669-4f52-b7dd-e0b36ce10f97",
            "FieldId": "0e6abfa1-441e-414b-89b2-28e0ae0d246e",
            "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": "b59a3e41-8308-4d01-b021-2f7115000de3",
        "Section": {
          "TaskTypeSectionId": "d83c180a-8d8e-4a37-8efb-927d674ab1d4",
          "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": "5b1805b2-c138-4310-b348-569432ed80d2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5729f06b-eb35-4781-8128-101d8615fb20",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "febad84b-0eb1-460e-82d8-66246b8ace5d",
          "CreateDate": "2026-03-01T02:04:51.0539618-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-01T02:04:51.0539618-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "1aafb5b0-c669-4f52-b7dd-e0b36ce10f97",
            "FieldId": "0e6abfa1-441e-414b-89b2-28e0ae0d246e",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "1aafb5b0-c669-4f52-b7dd-e0b36ce10f97",
            "FieldId": "0e6abfa1-441e-414b-89b2-28e0ae0d246e",
            "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": "91a359d7-5c35-4be8-9ebe-9492ec8acd4d",
    "CreateDate": "2026-03-01T02:04:51.0539618-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-03-01T02:04:51.0539618-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "1b46ff4b-02b9-4670-a130-30db49173f1b",
      "CompanyId": "187d1a72-b5cc-43cd-811b-8df8b756c283",
      "TaskStatusTypeId": "6e2a6490-f61b-4e6b-a98f-182be1889d78",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "12a7a5a8-023d-4a2e-bfd5-a89866cd6850",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "1b46ff4b-02b9-4670-a130-30db49173f1b",
      "CompanyId": "187d1a72-b5cc-43cd-811b-8df8b756c283",
      "TaskStatusTypeId": "6e2a6490-f61b-4e6b-a98f-182be1889d78",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "12a7a5a8-023d-4a2e-bfd5-a89866cd6850",
      "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": "abbf9747-6691-43a7-a172-36857aa1cc1e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "6c7f11de-8bf3-47f6-bcb8-3d53a0fd74ad",
        "Section": {
          "TaskTypeSectionId": "31e8fca0-e0e5-4df3-8cb0-e0e8c776e507",
          "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": "6a57e56c-76b7-4f7b-a7b2-e628d13416de",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e4432964-8e9c-4b97-b5e8-3007f2ae65b6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ae40bddd-8715-4ff4-a755-d9a4714626ef",
          "CreateDate": "2026-03-01T02:04:51.0851486-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-01T02:04:51.0851486-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c2260246-c103-40b5-bde1-adcf40ff12ab",
            "FieldId": "2a871b0c-ea0f-4989-af74-a9cf982ea208",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c2260246-c103-40b5-bde1-adcf40ff12ab",
            "FieldId": "2a871b0c-ea0f-4989-af74-a9cf982ea208",
            "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": "6c7f11de-8bf3-47f6-bcb8-3d53a0fd74ad",
        "Section": {
          "TaskTypeSectionId": "31e8fca0-e0e5-4df3-8cb0-e0e8c776e507",
          "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": "6a57e56c-76b7-4f7b-a7b2-e628d13416de",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e4432964-8e9c-4b97-b5e8-3007f2ae65b6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ae40bddd-8715-4ff4-a755-d9a4714626ef",
          "CreateDate": "2026-03-01T02:04:51.0851486-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-01T02:04:51.0851486-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c2260246-c103-40b5-bde1-adcf40ff12ab",
            "FieldId": "2a871b0c-ea0f-4989-af74-a9cf982ea208",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c2260246-c103-40b5-bde1-adcf40ff12ab",
            "FieldId": "2a871b0c-ea0f-4989-af74-a9cf982ea208",
            "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": "ca42298d-197a-4493-8b50-f70bc4f5c880",
    "CreateDate": "2026-03-01T02:04:51.0851486-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-03-01T02:04:51.0851486-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}