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": "b306d152-75e6-4e22-b5f1-5d38357d8641",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "aba6e7a3-60c9-467d-9f72-9890202f4ce3",
        "Section": {
          "TaskTypeSectionId": "3948bee2-af28-4256-aba7-eebe4793db67",
          "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": "70199e1a-f820-4cfc-986f-0de831b2900c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "564244fa-cdbc-4d90-b7b3-5220979c53e7",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "49e6d57f-1456-4ce8-917e-06ebc7d00ef9",
          "CreateDate": "2025-12-06T11:34:00.9597192-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-06T11:34:00.9597192-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "cfc0c7d7-8977-4683-a49a-143c507f14f0",
            "FieldId": "0f391706-c999-4fe2-b783-d5c9e80b0224",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "cfc0c7d7-8977-4683-a49a-143c507f14f0",
            "FieldId": "0f391706-c999-4fe2-b783-d5c9e80b0224",
            "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": "aba6e7a3-60c9-467d-9f72-9890202f4ce3",
        "Section": {
          "TaskTypeSectionId": "3948bee2-af28-4256-aba7-eebe4793db67",
          "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": "70199e1a-f820-4cfc-986f-0de831b2900c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "564244fa-cdbc-4d90-b7b3-5220979c53e7",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "49e6d57f-1456-4ce8-917e-06ebc7d00ef9",
          "CreateDate": "2025-12-06T11:34:00.9597192-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-06T11:34:00.9597192-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "cfc0c7d7-8977-4683-a49a-143c507f14f0",
            "FieldId": "0f391706-c999-4fe2-b783-d5c9e80b0224",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "cfc0c7d7-8977-4683-a49a-143c507f14f0",
            "FieldId": "0f391706-c999-4fe2-b783-d5c9e80b0224",
            "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": "c82048e4-2d13-4644-8daf-873151eb8d5d",
    "CreateDate": "2025-12-06T11:34:00.9597192-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-06T11:34:00.9597192-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "fc0c4915-1ac4-400e-b56d-bbfe625d2a8c",
      "CompanyId": "842c4380-d9b7-40ec-b86f-21d6cc08adc2",
      "TaskStatusTypeId": "00eaadd8-085c-4e49-a67c-41eff59c0644",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "be8cee4c-b9e0-4263-945f-1b0371f00c9a",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "fc0c4915-1ac4-400e-b56d-bbfe625d2a8c",
      "CompanyId": "842c4380-d9b7-40ec-b86f-21d6cc08adc2",
      "TaskStatusTypeId": "00eaadd8-085c-4e49-a67c-41eff59c0644",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "be8cee4c-b9e0-4263-945f-1b0371f00c9a",
      "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": "aabcf05f-bc88-4098-8f59-54c6669a1e25",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "3f4c3612-a8c0-454c-a546-f8abe56a6947",
        "Section": {
          "TaskTypeSectionId": "fd52f611-352a-41d7-9278-eb9be3e92cb4",
          "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": "51bfcfbc-119f-408e-a857-d320d272b29f",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "213a4838-e927-45f3-8075-998396fcb0bb",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ab5f7fc8-8d30-47f4-8546-4ca215599997",
          "CreateDate": "2025-12-06T11:34:00.9597192-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-06T11:34:00.9597192-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4aa2ce92-d31d-4e58-babf-e10142d92d7b",
            "FieldId": "d178380c-91a8-4e11-9a7d-cf1d41636807",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4aa2ce92-d31d-4e58-babf-e10142d92d7b",
            "FieldId": "d178380c-91a8-4e11-9a7d-cf1d41636807",
            "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": "3f4c3612-a8c0-454c-a546-f8abe56a6947",
        "Section": {
          "TaskTypeSectionId": "fd52f611-352a-41d7-9278-eb9be3e92cb4",
          "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": "51bfcfbc-119f-408e-a857-d320d272b29f",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "213a4838-e927-45f3-8075-998396fcb0bb",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "ab5f7fc8-8d30-47f4-8546-4ca215599997",
          "CreateDate": "2025-12-06T11:34:00.9597192-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-06T11:34:00.9597192-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4aa2ce92-d31d-4e58-babf-e10142d92d7b",
            "FieldId": "d178380c-91a8-4e11-9a7d-cf1d41636807",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4aa2ce92-d31d-4e58-babf-e10142d92d7b",
            "FieldId": "d178380c-91a8-4e11-9a7d-cf1d41636807",
            "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": "86467682-0e44-4987-bbe3-b70a187e0be0",
    "CreateDate": "2025-12-06T11:34:00.9597192-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-06T11:34:00.9597192-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}