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": "6cd979d1-922d-4ab1-bac0-4ba21b84767b",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "383cdee1-c911-45e6-ab2f-c193891d69fe",
        "Section": {
          "TaskTypeSectionId": "f98ecef4-0344-41d3-845e-89e1bfe36300",
          "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": "5850e249-7add-4275-ad58-baf5650c0cd4",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "bed93c17-f158-42f6-9ed0-fc714b013cac",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f6230d46-7b65-4e23-9f0d-32a4b652bb77",
          "CreateDate": "2025-12-01T23:20:41.6987734-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T23:20:41.6987734-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "26754759-94b4-4037-8a9b-42ba26b2161f",
            "FieldId": "7fde2bd8-8f0f-4c0e-ac72-23598356a922",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "26754759-94b4-4037-8a9b-42ba26b2161f",
            "FieldId": "7fde2bd8-8f0f-4c0e-ac72-23598356a922",
            "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": "383cdee1-c911-45e6-ab2f-c193891d69fe",
        "Section": {
          "TaskTypeSectionId": "f98ecef4-0344-41d3-845e-89e1bfe36300",
          "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": "5850e249-7add-4275-ad58-baf5650c0cd4",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "bed93c17-f158-42f6-9ed0-fc714b013cac",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f6230d46-7b65-4e23-9f0d-32a4b652bb77",
          "CreateDate": "2025-12-01T23:20:41.6987734-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T23:20:41.6987734-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "26754759-94b4-4037-8a9b-42ba26b2161f",
            "FieldId": "7fde2bd8-8f0f-4c0e-ac72-23598356a922",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "26754759-94b4-4037-8a9b-42ba26b2161f",
            "FieldId": "7fde2bd8-8f0f-4c0e-ac72-23598356a922",
            "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": "f54c1357-9a14-4bb1-9216-6eee10173489",
    "CreateDate": "2025-12-01T23:20:41.6987734-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-01T23:20:41.6987734-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "16a3cb37-7601-4ca1-99d7-5dfbb67586d3",
      "CompanyId": "15b3517a-e0bd-49a9-8b0e-982d0d8a1c27",
      "TaskStatusTypeId": "7d6fc1ba-82bb-4ec4-9f26-b2a178fe44e7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "b689acc8-cae6-4426-b222-695a990a6c7e",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "16a3cb37-7601-4ca1-99d7-5dfbb67586d3",
      "CompanyId": "15b3517a-e0bd-49a9-8b0e-982d0d8a1c27",
      "TaskStatusTypeId": "7d6fc1ba-82bb-4ec4-9f26-b2a178fe44e7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "b689acc8-cae6-4426-b222-695a990a6c7e",
      "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": "57e0d81c-cbb7-49fc-a5e6-3a14473b15a8",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "9d4cb613-114a-4199-9a64-479b36ad72ae",
        "Section": {
          "TaskTypeSectionId": "efcc5a9b-742e-45d5-8868-2cf17665c8c9",
          "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": "cdf8dc95-0212-4b12-b293-f0fb9e55dd76",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "912d1c52-0b7d-4cdd-afdf-2e371a656452",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "24324b03-1f9b-4d52-a217-0a46a7fa33e0",
          "CreateDate": "2025-12-01T23:20:41.6987734-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T23:20:41.6987734-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "8bfc5bb7-a047-4caa-be97-7102f2f148c0",
            "FieldId": "576d6f42-7c64-46d8-874f-4138e55ba748",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "8bfc5bb7-a047-4caa-be97-7102f2f148c0",
            "FieldId": "576d6f42-7c64-46d8-874f-4138e55ba748",
            "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": "9d4cb613-114a-4199-9a64-479b36ad72ae",
        "Section": {
          "TaskTypeSectionId": "efcc5a9b-742e-45d5-8868-2cf17665c8c9",
          "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": "cdf8dc95-0212-4b12-b293-f0fb9e55dd76",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "912d1c52-0b7d-4cdd-afdf-2e371a656452",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "24324b03-1f9b-4d52-a217-0a46a7fa33e0",
          "CreateDate": "2025-12-01T23:20:41.6987734-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T23:20:41.6987734-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "8bfc5bb7-a047-4caa-be97-7102f2f148c0",
            "FieldId": "576d6f42-7c64-46d8-874f-4138e55ba748",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "8bfc5bb7-a047-4caa-be97-7102f2f148c0",
            "FieldId": "576d6f42-7c64-46d8-874f-4138e55ba748",
            "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": "35bf4cd5-d302-47a7-a6e8-eb55b9fcc86b",
    "CreateDate": "2025-12-01T23:20:41.6987734-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-01T23:20:41.6987734-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}