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": "0d09e0ed-1920-41ec-9b81-621083101d54",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "b892319c-358b-432b-a2ae-63e346dbda45",
        "Section": {
          "TaskTypeSectionId": "e9d5492c-a57f-4e27-89ac-af86f7a07dba",
          "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": "d4c36505-c2f6-45ef-b1df-7978d8dbe901",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5728e8c1-acbe-4d80-901c-7374ea08a713",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d6841c31-d486-4bf4-b666-450538d5815e",
          "CreateDate": "2026-10-27T23:44:21.1370035-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-27T23:44:21.1370035-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "420d4faa-1e59-48dc-8d11-5f09819a9e39",
            "FieldId": "b431d9c1-e920-4a15-8586-b8a888b0793a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "420d4faa-1e59-48dc-8d11-5f09819a9e39",
            "FieldId": "b431d9c1-e920-4a15-8586-b8a888b0793a",
            "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": "b892319c-358b-432b-a2ae-63e346dbda45",
        "Section": {
          "TaskTypeSectionId": "e9d5492c-a57f-4e27-89ac-af86f7a07dba",
          "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": "d4c36505-c2f6-45ef-b1df-7978d8dbe901",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5728e8c1-acbe-4d80-901c-7374ea08a713",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d6841c31-d486-4bf4-b666-450538d5815e",
          "CreateDate": "2026-10-27T23:44:21.1370035-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-27T23:44:21.1370035-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "420d4faa-1e59-48dc-8d11-5f09819a9e39",
            "FieldId": "b431d9c1-e920-4a15-8586-b8a888b0793a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "420d4faa-1e59-48dc-8d11-5f09819a9e39",
            "FieldId": "b431d9c1-e920-4a15-8586-b8a888b0793a",
            "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": "40528809-00c3-4d10-a5a9-432a8c1036a9",
    "CreateDate": "2026-10-27T23:44:21.1370035-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-10-27T23:44:21.1370035-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "d04492d9-4338-42b4-b94d-b81ab46d366c",
      "CompanyId": "81b68570-4376-4343-b1ab-666232478c85",
      "TaskStatusTypeId": "f789bb07-679c-4af3-bb83-9128e01298fd",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "8e93eb87-66b1-42c1-b26f-0087e4ea25eb",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "d04492d9-4338-42b4-b94d-b81ab46d366c",
      "CompanyId": "81b68570-4376-4343-b1ab-666232478c85",
      "TaskStatusTypeId": "f789bb07-679c-4af3-bb83-9128e01298fd",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "8e93eb87-66b1-42c1-b26f-0087e4ea25eb",
      "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": "5d0aedf2-6e35-4b8a-bce2-c3267d056f1e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "0f41d927-b4bb-4fe2-8270-a0582773d47a",
        "Section": {
          "TaskTypeSectionId": "2355a1c8-91b8-42e4-89c5-124c435e94cf",
          "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": "d9c00a45-c00d-4819-9374-5201a5693452",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "043c34fd-5f65-40bc-8bf2-4f17fff9f901",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dba4030d-c13d-4e6b-8a14-6b96e1d300f9",
          "CreateDate": "2026-10-27T23:44:21.1370035-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-27T23:44:21.1370035-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "48853db1-975a-4a52-82c6-428d825dce81",
            "FieldId": "96677891-0b9f-487a-be69-503e21a1f210",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "48853db1-975a-4a52-82c6-428d825dce81",
            "FieldId": "96677891-0b9f-487a-be69-503e21a1f210",
            "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": "0f41d927-b4bb-4fe2-8270-a0582773d47a",
        "Section": {
          "TaskTypeSectionId": "2355a1c8-91b8-42e4-89c5-124c435e94cf",
          "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": "d9c00a45-c00d-4819-9374-5201a5693452",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "043c34fd-5f65-40bc-8bf2-4f17fff9f901",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dba4030d-c13d-4e6b-8a14-6b96e1d300f9",
          "CreateDate": "2026-10-27T23:44:21.1370035-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-27T23:44:21.1370035-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "48853db1-975a-4a52-82c6-428d825dce81",
            "FieldId": "96677891-0b9f-487a-be69-503e21a1f210",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "48853db1-975a-4a52-82c6-428d825dce81",
            "FieldId": "96677891-0b9f-487a-be69-503e21a1f210",
            "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": "37d84b0e-e124-4652-bf0d-cbe89172ed49",
    "CreateDate": "2026-10-27T23:44:21.1370035-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-10-27T23:44:21.1370035-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}