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": "6a9635c6-4d0d-4f44-bb68-afc1c311f958",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "f29248f2-5152-4af9-92f3-65019c45c075",
        "Section": {
          "TaskTypeSectionId": "4150fe2e-82ba-4690-aa88-91dba9094b01",
          "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": "f6ff25b2-7aac-40b1-a0f9-c1d9a868ffad",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "d262a86a-8050-4b4d-b01a-f35db0e5d394",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "88cdd464-e7e9-493c-be9d-8808c038e441",
          "CreateDate": "2026-11-05T08:37:43.1455788-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-05T08:37:43.1455788-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "76b23ed5-e310-452f-baa9-18ef5de4e351",
            "FieldId": "e4a8bcc1-389f-4b4b-b733-731eb3634f31",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "76b23ed5-e310-452f-baa9-18ef5de4e351",
            "FieldId": "e4a8bcc1-389f-4b4b-b733-731eb3634f31",
            "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": "f29248f2-5152-4af9-92f3-65019c45c075",
        "Section": {
          "TaskTypeSectionId": "4150fe2e-82ba-4690-aa88-91dba9094b01",
          "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": "f6ff25b2-7aac-40b1-a0f9-c1d9a868ffad",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "d262a86a-8050-4b4d-b01a-f35db0e5d394",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "88cdd464-e7e9-493c-be9d-8808c038e441",
          "CreateDate": "2026-11-05T08:37:43.1455788-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-05T08:37:43.1455788-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "76b23ed5-e310-452f-baa9-18ef5de4e351",
            "FieldId": "e4a8bcc1-389f-4b4b-b733-731eb3634f31",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "76b23ed5-e310-452f-baa9-18ef5de4e351",
            "FieldId": "e4a8bcc1-389f-4b4b-b733-731eb3634f31",
            "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": "b3f33815-2e71-495f-977f-5576a88ea414",
    "CreateDate": "2026-11-05T08:37:43.1455788-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-11-05T08:37:43.1455788-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "9d31518e-14f9-43d0-bd2e-e10497bf26e3",
      "CompanyId": "fbc677d3-011f-440d-9612-6c79f20ab678",
      "TaskStatusTypeId": "5b253952-c459-48a1-afb9-710bb0e330a3",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "7aa65791-8266-464c-bcff-420e50780eff",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "9d31518e-14f9-43d0-bd2e-e10497bf26e3",
      "CompanyId": "fbc677d3-011f-440d-9612-6c79f20ab678",
      "TaskStatusTypeId": "5b253952-c459-48a1-afb9-710bb0e330a3",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "7aa65791-8266-464c-bcff-420e50780eff",
      "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": "fcff0ad1-d70c-4534-a795-92a94a420e9e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "8e27af4e-1e1f-47b1-89d5-6bc5b12cc3a8",
        "Section": {
          "TaskTypeSectionId": "61e557e9-b4ab-467c-9fd8-e8ec11272696",
          "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": "ec0f527d-0688-4bd5-bc21-2b53a1a529c6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7e1f23f5-b6c6-4ae3-bf0d-dd685b6388f3",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1fbfc14e-83f1-486c-a8b1-46862a194b47",
          "CreateDate": "2026-11-05T08:37:43.1455788-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-05T08:37:43.1455788-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c9bc8ac3-fabb-43d8-82f1-170537ee76bc",
            "FieldId": "50fbd03d-913a-4651-9ff2-afe047f17d71",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c9bc8ac3-fabb-43d8-82f1-170537ee76bc",
            "FieldId": "50fbd03d-913a-4651-9ff2-afe047f17d71",
            "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": "8e27af4e-1e1f-47b1-89d5-6bc5b12cc3a8",
        "Section": {
          "TaskTypeSectionId": "61e557e9-b4ab-467c-9fd8-e8ec11272696",
          "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": "ec0f527d-0688-4bd5-bc21-2b53a1a529c6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7e1f23f5-b6c6-4ae3-bf0d-dd685b6388f3",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1fbfc14e-83f1-486c-a8b1-46862a194b47",
          "CreateDate": "2026-11-05T08:37:43.1455788-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-05T08:37:43.1455788-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c9bc8ac3-fabb-43d8-82f1-170537ee76bc",
            "FieldId": "50fbd03d-913a-4651-9ff2-afe047f17d71",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c9bc8ac3-fabb-43d8-82f1-170537ee76bc",
            "FieldId": "50fbd03d-913a-4651-9ff2-afe047f17d71",
            "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": "ed2b72b8-1cfc-4c5b-8645-d3298d1e23c4",
    "CreateDate": "2026-11-05T08:37:43.1455788-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-11-05T08:37:43.1455788-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}