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": "086498c8-4c72-497f-a46b-d21d4a64d117",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "3f607c3f-a7aa-4f10-9afc-639436a4f6d5",
        "Section": {
          "TaskTypeSectionId": "127dfa30-bca3-458d-82a4-59a65eb65537",
          "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": "96a7cf32-426e-4a37-90ec-1c6382e694d3",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "312cb8bd-1cbf-40ac-9577-c30a911a1a2e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c17ca030-19ee-4591-a897-b2293fcb931c",
          "CreateDate": "2026-06-17T17:23:38.2625948-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:38.2625948-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "9e8348c6-5a72-47c3-bfa7-addc3d9e443a",
            "FieldId": "71f5166e-34ee-4acc-9399-4aaa5de33d2b",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "9e8348c6-5a72-47c3-bfa7-addc3d9e443a",
            "FieldId": "71f5166e-34ee-4acc-9399-4aaa5de33d2b",
            "FieldName": "sample string 1",
            "FieldLable": "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": "3f607c3f-a7aa-4f10-9afc-639436a4f6d5",
        "Section": {
          "TaskTypeSectionId": "127dfa30-bca3-458d-82a4-59a65eb65537",
          "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": "96a7cf32-426e-4a37-90ec-1c6382e694d3",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "312cb8bd-1cbf-40ac-9577-c30a911a1a2e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c17ca030-19ee-4591-a897-b2293fcb931c",
          "CreateDate": "2026-06-17T17:23:38.2625948-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:38.2625948-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "9e8348c6-5a72-47c3-bfa7-addc3d9e443a",
            "FieldId": "71f5166e-34ee-4acc-9399-4aaa5de33d2b",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "9e8348c6-5a72-47c3-bfa7-addc3d9e443a",
            "FieldId": "71f5166e-34ee-4acc-9399-4aaa5de33d2b",
            "FieldName": "sample string 1",
            "FieldLable": "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": "8b2d2e2e-c0e5-48af-b1ba-da35ad286409",
    "CreateDate": "2026-06-17T17:23:38.2625948-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-06-17T17:23:38.2625948-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "b69216ad-b138-432f-a097-0eef5458625a",
      "CompanyId": "a5e105f1-dcdf-43ea-9950-d81a2e7a8ae1",
      "TaskStatusTypeId": "398d519e-2492-4ade-8f5d-35a7ec74abed",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "3c6f2de8-f070-4d57-b586-7647ac426f87",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "b69216ad-b138-432f-a097-0eef5458625a",
      "CompanyId": "a5e105f1-dcdf-43ea-9950-d81a2e7a8ae1",
      "TaskStatusTypeId": "398d519e-2492-4ade-8f5d-35a7ec74abed",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "3c6f2de8-f070-4d57-b586-7647ac426f87",
      "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": "63791301-33ff-43d3-811a-7403d9a196e9",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "308c8322-2561-474b-b08a-94c71182f8c4",
        "Section": {
          "TaskTypeSectionId": "bec893ac-614b-43e5-8222-67a530a194d7",
          "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": "4141f1ff-ef85-4b05-9770-1911d4009a6b",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9efb95b4-a1bd-4105-b602-68fd9ee3e84c",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c82607d5-7438-4515-9080-2447236d5fb4",
          "CreateDate": "2026-06-17T17:23:38.2625948-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:38.2625948-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "973b5662-d46f-4616-b3dc-4c867107e59a",
            "FieldId": "cd1195bd-e60f-455b-9377-ba9efa012996",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "973b5662-d46f-4616-b3dc-4c867107e59a",
            "FieldId": "cd1195bd-e60f-455b-9377-ba9efa012996",
            "FieldName": "sample string 1",
            "FieldLable": "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": "308c8322-2561-474b-b08a-94c71182f8c4",
        "Section": {
          "TaskTypeSectionId": "bec893ac-614b-43e5-8222-67a530a194d7",
          "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": "4141f1ff-ef85-4b05-9770-1911d4009a6b",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9efb95b4-a1bd-4105-b602-68fd9ee3e84c",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c82607d5-7438-4515-9080-2447236d5fb4",
          "CreateDate": "2026-06-17T17:23:38.2625948-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:38.2625948-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "973b5662-d46f-4616-b3dc-4c867107e59a",
            "FieldId": "cd1195bd-e60f-455b-9377-ba9efa012996",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "973b5662-d46f-4616-b3dc-4c867107e59a",
            "FieldId": "cd1195bd-e60f-455b-9377-ba9efa012996",
            "FieldName": "sample string 1",
            "FieldLable": "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": "951f89f3-dd12-431f-b646-6c9a699da9dd",
    "CreateDate": "2026-06-17T17:23:38.2625948-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-06-17T17:23:38.2625948-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}