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": "d4d5820a-c296-4e45-8c1b-54433ef10345",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "b45e4947-2247-4651-b0a5-73ba7dface15",
        "Section": {
          "TaskTypeSectionId": "46e7a8c8-f232-45d1-a503-a483531bc499",
          "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": "94e19b5b-b5f4-4365-a9a1-b109f28226d0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2fe86864-9ab8-4df6-8ed8-629092f9f7d4",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "22406aee-9037-4371-bbe4-2f2d53e76a64",
          "CreateDate": "2025-11-19T14:52:57.520342-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-19T14:52:57.520342-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "15fd0764-9606-4c90-a0b6-6c706228bb4a",
            "FieldId": "4434ec1c-9875-40fe-a75a-7663b4570194",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "15fd0764-9606-4c90-a0b6-6c706228bb4a",
            "FieldId": "4434ec1c-9875-40fe-a75a-7663b4570194",
            "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": "b45e4947-2247-4651-b0a5-73ba7dface15",
        "Section": {
          "TaskTypeSectionId": "46e7a8c8-f232-45d1-a503-a483531bc499",
          "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": "94e19b5b-b5f4-4365-a9a1-b109f28226d0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2fe86864-9ab8-4df6-8ed8-629092f9f7d4",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "22406aee-9037-4371-bbe4-2f2d53e76a64",
          "CreateDate": "2025-11-19T14:52:57.520342-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-19T14:52:57.520342-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "15fd0764-9606-4c90-a0b6-6c706228bb4a",
            "FieldId": "4434ec1c-9875-40fe-a75a-7663b4570194",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "15fd0764-9606-4c90-a0b6-6c706228bb4a",
            "FieldId": "4434ec1c-9875-40fe-a75a-7663b4570194",
            "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": "c5d635be-7ee2-4c07-8e2b-bb5757c148f9",
    "CreateDate": "2025-11-19T14:52:57.520342-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-11-19T14:52:57.520342-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "9a85d466-2a25-4b53-a28c-56cfbbc3afa7",
      "CompanyId": "89775c15-9e43-4ca7-a6ea-bbacfab1726f",
      "TaskStatusTypeId": "7c66333e-620b-4d8b-bf7b-3a8ec7f4967f",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "c0975025-42ea-4c82-b694-c16e15bb7034",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "9a85d466-2a25-4b53-a28c-56cfbbc3afa7",
      "CompanyId": "89775c15-9e43-4ca7-a6ea-bbacfab1726f",
      "TaskStatusTypeId": "7c66333e-620b-4d8b-bf7b-3a8ec7f4967f",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "c0975025-42ea-4c82-b694-c16e15bb7034",
      "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": "ba8a50a9-1997-4b89-b89c-dc7125ba8894",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "059d8a04-da0f-452a-b59b-a83620e0d1f6",
        "Section": {
          "TaskTypeSectionId": "4b2682c7-a431-44ca-94f5-cd737377876e",
          "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": "229ba900-b966-4109-8af3-768a50edf29a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "fcdbea34-8d56-466b-ab3e-7974cfaa5219",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "70d06a6e-f261-4af6-9e96-6a9ab7ff5470",
          "CreateDate": "2025-11-19T14:52:57.520342-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-19T14:52:57.520342-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "b89d3eca-5c84-4598-bed8-76d333b1c0a9",
            "FieldId": "0ea15ca3-f2b4-4028-9628-b45463a4ce50",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "b89d3eca-5c84-4598-bed8-76d333b1c0a9",
            "FieldId": "0ea15ca3-f2b4-4028-9628-b45463a4ce50",
            "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": "059d8a04-da0f-452a-b59b-a83620e0d1f6",
        "Section": {
          "TaskTypeSectionId": "4b2682c7-a431-44ca-94f5-cd737377876e",
          "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": "229ba900-b966-4109-8af3-768a50edf29a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "fcdbea34-8d56-466b-ab3e-7974cfaa5219",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "70d06a6e-f261-4af6-9e96-6a9ab7ff5470",
          "CreateDate": "2025-11-19T14:52:57.520342-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-19T14:52:57.520342-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "b89d3eca-5c84-4598-bed8-76d333b1c0a9",
            "FieldId": "0ea15ca3-f2b4-4028-9628-b45463a4ce50",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "b89d3eca-5c84-4598-bed8-76d333b1c0a9",
            "FieldId": "0ea15ca3-f2b4-4028-9628-b45463a4ce50",
            "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": "753ff181-14b3-49ba-8e6a-40d7aa818182",
    "CreateDate": "2025-11-19T14:52:57.520342-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-11-19T14:52:57.520342-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}