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": "ae9c8df3-02c5-483a-b0fd-a6e4984f52da",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "f8195a9e-fc1f-4d92-9982-2a4c81a31607",
        "Section": {
          "TaskTypeSectionId": "6b9b6fb3-c39c-497f-a380-779fd1e5b067",
          "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": "f2c65019-24d6-4b6b-9481-8fa308df13bd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "28d2679b-0b91-49df-9435-130951a7e2b9",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6a463c72-a82c-4334-9e14-f7573b3023ca",
          "CreateDate": "2025-10-10T11:21:46.4586848-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-10T11:21:46.4586848-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "de7262d9-dad0-45fa-baa6-30ce54e1d391",
            "FieldId": "ef0d11b8-4d23-43dc-8c5a-2c8ae502b6b2",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "de7262d9-dad0-45fa-baa6-30ce54e1d391",
            "FieldId": "ef0d11b8-4d23-43dc-8c5a-2c8ae502b6b2",
            "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": "f8195a9e-fc1f-4d92-9982-2a4c81a31607",
        "Section": {
          "TaskTypeSectionId": "6b9b6fb3-c39c-497f-a380-779fd1e5b067",
          "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": "f2c65019-24d6-4b6b-9481-8fa308df13bd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "28d2679b-0b91-49df-9435-130951a7e2b9",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6a463c72-a82c-4334-9e14-f7573b3023ca",
          "CreateDate": "2025-10-10T11:21:46.4586848-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-10T11:21:46.4586848-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "de7262d9-dad0-45fa-baa6-30ce54e1d391",
            "FieldId": "ef0d11b8-4d23-43dc-8c5a-2c8ae502b6b2",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "de7262d9-dad0-45fa-baa6-30ce54e1d391",
            "FieldId": "ef0d11b8-4d23-43dc-8c5a-2c8ae502b6b2",
            "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": "826f69a8-4107-4f4f-b165-74a07c1cfef9",
    "CreateDate": "2025-10-10T11:21:46.4586848-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-10-10T11:21:46.4586848-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "65956ca3-c00a-41ea-8c6c-e780460104c4",
      "CompanyId": "f136aa42-4444-420d-b9a7-871adc90f2ab",
      "TaskStatusTypeId": "9f4f6027-8245-44ba-9a7d-2520c7e56120",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "64653874-9201-4166-bb5d-cce18f56885f",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "65956ca3-c00a-41ea-8c6c-e780460104c4",
      "CompanyId": "f136aa42-4444-420d-b9a7-871adc90f2ab",
      "TaskStatusTypeId": "9f4f6027-8245-44ba-9a7d-2520c7e56120",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "64653874-9201-4166-bb5d-cce18f56885f",
      "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": "1dc39219-38ec-44e6-8eed-b7ad1c4b1a7b",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "cc1dfda8-debc-4084-b0d3-6cc5d9f680d8",
        "Section": {
          "TaskTypeSectionId": "cef411cd-9642-4f0f-a79d-76bbc556ccc8",
          "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": "d65e0378-6aee-460d-955e-9988a2773f85",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7eaa7469-defd-4eed-b952-55eb5f4a1b19",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3075b9c1-382f-4de5-a29e-9a46599788ff",
          "CreateDate": "2025-10-10T11:21:46.4743594-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-10T11:21:46.4743594-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3b440df4-03ed-44f2-8f4b-01a8d57dfe73",
            "FieldId": "456dba35-99e6-4348-bdd2-4428355b1245",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3b440df4-03ed-44f2-8f4b-01a8d57dfe73",
            "FieldId": "456dba35-99e6-4348-bdd2-4428355b1245",
            "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": "cc1dfda8-debc-4084-b0d3-6cc5d9f680d8",
        "Section": {
          "TaskTypeSectionId": "cef411cd-9642-4f0f-a79d-76bbc556ccc8",
          "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": "d65e0378-6aee-460d-955e-9988a2773f85",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7eaa7469-defd-4eed-b952-55eb5f4a1b19",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3075b9c1-382f-4de5-a29e-9a46599788ff",
          "CreateDate": "2025-10-10T11:21:46.4743594-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-10T11:21:46.4743594-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3b440df4-03ed-44f2-8f4b-01a8d57dfe73",
            "FieldId": "456dba35-99e6-4348-bdd2-4428355b1245",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3b440df4-03ed-44f2-8f4b-01a8d57dfe73",
            "FieldId": "456dba35-99e6-4348-bdd2-4428355b1245",
            "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": "583a13aa-1a81-4628-81e4-a38dd1ef1bd1",
    "CreateDate": "2025-10-10T11:21:46.4743594-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-10-10T11:21:46.4743594-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}