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": "96189a8f-6f5f-4059-a70d-8882d830b436",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "81756b58-b50d-46de-beb8-d068511604c8",
        "Section": {
          "TaskTypeSectionId": "7047d4c8-c027-4733-912e-431b092ec625",
          "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": "47dc82e9-000b-45dd-a688-a53303123bf2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "02edc64e-3445-47ad-9638-e5ff600d4da1",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f63063e7-15f8-4e9c-a621-919782cd0cd9",
          "CreateDate": "2026-02-20T06:16:16.0715809-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-20T06:16:16.0715809-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "9d8933b9-e7cb-45ff-994b-2c98ba24a6b0",
            "FieldId": "be5f27e6-a9e2-4e2f-a6fc-ea0a0faf8c82",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "9d8933b9-e7cb-45ff-994b-2c98ba24a6b0",
            "FieldId": "be5f27e6-a9e2-4e2f-a6fc-ea0a0faf8c82",
            "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": "81756b58-b50d-46de-beb8-d068511604c8",
        "Section": {
          "TaskTypeSectionId": "7047d4c8-c027-4733-912e-431b092ec625",
          "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": "47dc82e9-000b-45dd-a688-a53303123bf2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "02edc64e-3445-47ad-9638-e5ff600d4da1",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f63063e7-15f8-4e9c-a621-919782cd0cd9",
          "CreateDate": "2026-02-20T06:16:16.0715809-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-20T06:16:16.0715809-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "9d8933b9-e7cb-45ff-994b-2c98ba24a6b0",
            "FieldId": "be5f27e6-a9e2-4e2f-a6fc-ea0a0faf8c82",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "9d8933b9-e7cb-45ff-994b-2c98ba24a6b0",
            "FieldId": "be5f27e6-a9e2-4e2f-a6fc-ea0a0faf8c82",
            "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": "8982b19c-9ebe-48db-8534-2a1d53d22e3a",
    "CreateDate": "2026-02-20T06:16:16.0715809-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-02-20T06:16:16.0715809-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "5a08c234-a0f7-474d-a183-8d7506bc760b",
      "CompanyId": "e1b0190e-755c-41ea-ab8a-cbcc0ef2f08b",
      "TaskStatusTypeId": "bc0115a9-44de-4f00-852f-8fba7d303348",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "f85da9b9-fad0-4345-a041-5dbdcf9ef3d4",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "5a08c234-a0f7-474d-a183-8d7506bc760b",
      "CompanyId": "e1b0190e-755c-41ea-ab8a-cbcc0ef2f08b",
      "TaskStatusTypeId": "bc0115a9-44de-4f00-852f-8fba7d303348",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "f85da9b9-fad0-4345-a041-5dbdcf9ef3d4",
      "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": "5e444f2d-8e59-4cd2-a6a0-0bc0f1aed4c6",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "e3c971ca-9382-4d89-a2ea-9e429f8725b4",
        "Section": {
          "TaskTypeSectionId": "0571da8a-73ae-4680-ab6d-7b1bdf744441",
          "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": "6b987363-74e3-493b-99ff-b4eaeeaad2b9",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "607c26a3-8e70-4af0-bd4e-e6f74a631d61",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1c3c7324-caca-437c-b9b2-0971cee479c8",
          "CreateDate": "2026-02-20T06:16:16.0715809-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-20T06:16:16.0715809-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "866f994d-4b00-4154-b665-9952d6e8a631",
            "FieldId": "9d18eb64-4382-4145-99de-a56a4e524266",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "866f994d-4b00-4154-b665-9952d6e8a631",
            "FieldId": "9d18eb64-4382-4145-99de-a56a4e524266",
            "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": "e3c971ca-9382-4d89-a2ea-9e429f8725b4",
        "Section": {
          "TaskTypeSectionId": "0571da8a-73ae-4680-ab6d-7b1bdf744441",
          "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": "6b987363-74e3-493b-99ff-b4eaeeaad2b9",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "607c26a3-8e70-4af0-bd4e-e6f74a631d61",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1c3c7324-caca-437c-b9b2-0971cee479c8",
          "CreateDate": "2026-02-20T06:16:16.0715809-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-02-20T06:16:16.0715809-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "866f994d-4b00-4154-b665-9952d6e8a631",
            "FieldId": "9d18eb64-4382-4145-99de-a56a4e524266",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "866f994d-4b00-4154-b665-9952d6e8a631",
            "FieldId": "9d18eb64-4382-4145-99de-a56a4e524266",
            "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": "12956e47-bf91-460b-8458-ad6f1e5b7b23",
    "CreateDate": "2026-02-20T06:16:16.0715809-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-02-20T06:16:16.0715809-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}