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": "aa0c9f49-c986-4f1f-bd7d-aa0367e4437e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "9eaffb02-b5b6-42ec-a4b5-9ab0dcffcfa7",
        "Section": {
          "TaskTypeSectionId": "47716523-7f9f-4761-ad1b-0c7dc6e87655",
          "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": "eae9b12a-d6bc-4bcc-9098-9826ac7d751b",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f1b130c2-ad90-4c6e-938b-08934feb2516",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "53c4629c-3a07-470d-9060-23e10d15135d",
          "CreateDate": "2026-01-26T03:12:27.5082606-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-26T03:12:27.5082606-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "225cbab3-afe3-48c3-ad73-4dc1e15b3058",
            "FieldId": "1af2988a-71d9-41d8-91a9-b5418f74da71",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "225cbab3-afe3-48c3-ad73-4dc1e15b3058",
            "FieldId": "1af2988a-71d9-41d8-91a9-b5418f74da71",
            "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": "9eaffb02-b5b6-42ec-a4b5-9ab0dcffcfa7",
        "Section": {
          "TaskTypeSectionId": "47716523-7f9f-4761-ad1b-0c7dc6e87655",
          "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": "eae9b12a-d6bc-4bcc-9098-9826ac7d751b",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f1b130c2-ad90-4c6e-938b-08934feb2516",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "53c4629c-3a07-470d-9060-23e10d15135d",
          "CreateDate": "2026-01-26T03:12:27.5082606-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-26T03:12:27.5082606-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "225cbab3-afe3-48c3-ad73-4dc1e15b3058",
            "FieldId": "1af2988a-71d9-41d8-91a9-b5418f74da71",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "225cbab3-afe3-48c3-ad73-4dc1e15b3058",
            "FieldId": "1af2988a-71d9-41d8-91a9-b5418f74da71",
            "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": "02f70dbd-93e7-4078-9634-7029192e79e9",
    "CreateDate": "2026-01-26T03:12:27.5082606-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-26T03:12:27.5082606-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "0012c952-d67c-4155-96fc-29cc7eb54238",
      "CompanyId": "a0891efa-aa2b-471d-8757-cc643b88ef01",
      "TaskStatusTypeId": "adbb3ff5-12d6-45f5-958d-79da6d954324",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "ec988c9f-fb77-4e4d-8336-094ecb56c65a",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "0012c952-d67c-4155-96fc-29cc7eb54238",
      "CompanyId": "a0891efa-aa2b-471d-8757-cc643b88ef01",
      "TaskStatusTypeId": "adbb3ff5-12d6-45f5-958d-79da6d954324",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "ec988c9f-fb77-4e4d-8336-094ecb56c65a",
      "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": "3c138e0d-63b9-42dd-91ca-7df2c15205b4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "20b520b6-0da1-4837-a847-f678abfcab4e",
        "Section": {
          "TaskTypeSectionId": "73f7d6af-e070-404e-8601-994c292368f3",
          "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": "fd490d71-3e8d-4b1d-a3ad-3c5edbf03dd6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "822d76c1-ed79-497d-a086-7adb759f9e39",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5c040c9a-896e-487b-88d4-69edd0f5cfc2",
          "CreateDate": "2026-01-26T03:12:27.5082606-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-26T03:12:27.5082606-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7ed2d9cd-1821-41fe-afd5-26d86a853524",
            "FieldId": "b182a7f0-5108-45b1-b69c-4cc3bfd820cf",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7ed2d9cd-1821-41fe-afd5-26d86a853524",
            "FieldId": "b182a7f0-5108-45b1-b69c-4cc3bfd820cf",
            "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": "20b520b6-0da1-4837-a847-f678abfcab4e",
        "Section": {
          "TaskTypeSectionId": "73f7d6af-e070-404e-8601-994c292368f3",
          "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": "fd490d71-3e8d-4b1d-a3ad-3c5edbf03dd6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "822d76c1-ed79-497d-a086-7adb759f9e39",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5c040c9a-896e-487b-88d4-69edd0f5cfc2",
          "CreateDate": "2026-01-26T03:12:27.5082606-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-26T03:12:27.5082606-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7ed2d9cd-1821-41fe-afd5-26d86a853524",
            "FieldId": "b182a7f0-5108-45b1-b69c-4cc3bfd820cf",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7ed2d9cd-1821-41fe-afd5-26d86a853524",
            "FieldId": "b182a7f0-5108-45b1-b69c-4cc3bfd820cf",
            "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": "dc324a41-68fc-4807-9fb5-aefe17fb3ada",
    "CreateDate": "2026-01-26T03:12:27.5082606-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-26T03:12:27.5082606-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}