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": "cc9b7d0d-471d-4886-8ced-c59b7128d909",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "245165b9-d651-4c3a-a23e-d2cb05ecb9bc",
        "Section": {
          "TaskTypeSectionId": "d0c907b4-4316-4da5-9dbe-5bb564371e3c",
          "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": "f11a4781-2b27-44c4-9aeb-a683373c880f",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f62eb428-a8c8-44b0-acf2-bcebbf969cb6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "bb8855bc-5c1e-4249-ba7a-2af06f7771bd",
          "CreateDate": "2026-01-15T11:08:36.4013952-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-15T11:08:36.4013952-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7528334c-18dd-4e4a-9d8c-ec19f9998172",
            "FieldId": "26ed4b08-5cec-4dfb-bd5e-12901081e6c4",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7528334c-18dd-4e4a-9d8c-ec19f9998172",
            "FieldId": "26ed4b08-5cec-4dfb-bd5e-12901081e6c4",
            "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": "245165b9-d651-4c3a-a23e-d2cb05ecb9bc",
        "Section": {
          "TaskTypeSectionId": "d0c907b4-4316-4da5-9dbe-5bb564371e3c",
          "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": "f11a4781-2b27-44c4-9aeb-a683373c880f",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f62eb428-a8c8-44b0-acf2-bcebbf969cb6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "bb8855bc-5c1e-4249-ba7a-2af06f7771bd",
          "CreateDate": "2026-01-15T11:08:36.4013952-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-15T11:08:36.4013952-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7528334c-18dd-4e4a-9d8c-ec19f9998172",
            "FieldId": "26ed4b08-5cec-4dfb-bd5e-12901081e6c4",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7528334c-18dd-4e4a-9d8c-ec19f9998172",
            "FieldId": "26ed4b08-5cec-4dfb-bd5e-12901081e6c4",
            "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": "072cb481-f4ba-4004-a2f6-228a33a0b39f",
    "CreateDate": "2026-01-15T11:08:36.4013952-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-15T11:08:36.4013952-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "21bbdf0f-f295-4801-b8c1-b6d3cc613248",
      "CompanyId": "1d9cc643-9770-4529-89e7-a9780545865b",
      "TaskStatusTypeId": "d3350a28-6b11-4e5e-b24b-ef4ae8d20e31",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "a5e95c7d-b49d-4628-abd9-8ff6364effdb",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "21bbdf0f-f295-4801-b8c1-b6d3cc613248",
      "CompanyId": "1d9cc643-9770-4529-89e7-a9780545865b",
      "TaskStatusTypeId": "d3350a28-6b11-4e5e-b24b-ef4ae8d20e31",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "a5e95c7d-b49d-4628-abd9-8ff6364effdb",
      "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": "0d971c8f-9e68-4e41-b224-06f2fe8c533e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "bd43b769-dbd0-4935-bed8-ad989bfa1d49",
        "Section": {
          "TaskTypeSectionId": "af04935d-1683-485b-8aa6-3c0590ecb976",
          "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": "7859ad58-b60e-4928-9c73-4abb0f7122be",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "0a497b5c-66b4-45ff-a8ea-b4df93e6e128",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4108f08c-87ee-41f4-b24c-c864133bc328",
          "CreateDate": "2026-01-15T11:08:36.4013952-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-15T11:08:36.4013952-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "631d8f29-3f08-41f1-ba3e-760e808f76e7",
            "FieldId": "97cca82f-6952-444c-bdc8-7f4db8cd9cec",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "631d8f29-3f08-41f1-ba3e-760e808f76e7",
            "FieldId": "97cca82f-6952-444c-bdc8-7f4db8cd9cec",
            "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": "bd43b769-dbd0-4935-bed8-ad989bfa1d49",
        "Section": {
          "TaskTypeSectionId": "af04935d-1683-485b-8aa6-3c0590ecb976",
          "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": "7859ad58-b60e-4928-9c73-4abb0f7122be",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "0a497b5c-66b4-45ff-a8ea-b4df93e6e128",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4108f08c-87ee-41f4-b24c-c864133bc328",
          "CreateDate": "2026-01-15T11:08:36.4013952-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-15T11:08:36.4013952-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "631d8f29-3f08-41f1-ba3e-760e808f76e7",
            "FieldId": "97cca82f-6952-444c-bdc8-7f4db8cd9cec",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "631d8f29-3f08-41f1-ba3e-760e808f76e7",
            "FieldId": "97cca82f-6952-444c-bdc8-7f4db8cd9cec",
            "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": "806e0c34-6892-4d55-abce-702080d8d955",
    "CreateDate": "2026-01-15T11:08:36.4013952-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-15T11:08:36.4013952-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}