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": "27e1633c-7d22-45a3-a26c-e30a28dbf720",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "931e27ab-6427-4d30-88ed-73736de8d23e",
        "Section": {
          "TaskTypeSectionId": "83cdb00d-a01b-47ed-9578-8897287a64cd",
          "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": "2a0fce79-7555-4dbd-a31e-2f466fe20071",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c6d83fa8-7039-4477-bb2d-b4eb27bad0cf",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "58f259ef-16de-4208-9781-09e1be40e899",
          "CreateDate": "2026-01-02T02:17:17.9837783-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-02T02:17:17.9837783-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "486beb43-093b-4d83-a3de-6c2f58e6c871",
            "FieldId": "39bf3993-54f6-48e3-9ba6-07aa4c798c1c",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "486beb43-093b-4d83-a3de-6c2f58e6c871",
            "FieldId": "39bf3993-54f6-48e3-9ba6-07aa4c798c1c",
            "FieldName": "sample string 1",
            "FieldLable": "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": "931e27ab-6427-4d30-88ed-73736de8d23e",
        "Section": {
          "TaskTypeSectionId": "83cdb00d-a01b-47ed-9578-8897287a64cd",
          "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": "2a0fce79-7555-4dbd-a31e-2f466fe20071",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c6d83fa8-7039-4477-bb2d-b4eb27bad0cf",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "58f259ef-16de-4208-9781-09e1be40e899",
          "CreateDate": "2026-01-02T02:17:17.9837783-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-02T02:17:17.9837783-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "486beb43-093b-4d83-a3de-6c2f58e6c871",
            "FieldId": "39bf3993-54f6-48e3-9ba6-07aa4c798c1c",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "486beb43-093b-4d83-a3de-6c2f58e6c871",
            "FieldId": "39bf3993-54f6-48e3-9ba6-07aa4c798c1c",
            "FieldName": "sample string 1",
            "FieldLable": "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": "32050725-341e-4efd-a88b-2d898fc53598",
    "CreateDate": "2026-01-02T02:17:17.9837783-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-02T02:17:17.9837783-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "9eed9d57-5599-4ee2-aa54-802bf2e25540",
      "CompanyId": "c4e7dba1-92a0-4c2c-ab24-3d137ba427cc",
      "TaskStatusTypeId": "ea4219d6-f558-4bf4-b21f-7e1221b18788",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "feae0ff4-d5c6-45c0-9a54-ca75f14ac81d",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "9eed9d57-5599-4ee2-aa54-802bf2e25540",
      "CompanyId": "c4e7dba1-92a0-4c2c-ab24-3d137ba427cc",
      "TaskStatusTypeId": "ea4219d6-f558-4bf4-b21f-7e1221b18788",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "feae0ff4-d5c6-45c0-9a54-ca75f14ac81d",
      "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": "d7aa93f6-b00b-4799-ae13-0ea88ddbc6ac",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "d108d2b8-d7f5-4484-846f-a2a1cf3f4bb2",
        "Section": {
          "TaskTypeSectionId": "640475db-69e5-4c15-b586-0e88d63c166a",
          "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": "fbd760e0-2776-41a6-81a2-acf2c4d611f2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c7ae47ef-9661-439c-bfb3-26399c7bda10",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "bd80637c-1a4a-496f-9975-4bad9b862a64",
          "CreateDate": "2026-01-02T02:17:17.9837783-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-02T02:17:17.9837783-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4a688cdd-8149-41df-8466-7f61e85150be",
            "FieldId": "ec6e7171-c396-40ba-a54b-33cf0e20144d",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4a688cdd-8149-41df-8466-7f61e85150be",
            "FieldId": "ec6e7171-c396-40ba-a54b-33cf0e20144d",
            "FieldName": "sample string 1",
            "FieldLable": "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": "d108d2b8-d7f5-4484-846f-a2a1cf3f4bb2",
        "Section": {
          "TaskTypeSectionId": "640475db-69e5-4c15-b586-0e88d63c166a",
          "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": "fbd760e0-2776-41a6-81a2-acf2c4d611f2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c7ae47ef-9661-439c-bfb3-26399c7bda10",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "bd80637c-1a4a-496f-9975-4bad9b862a64",
          "CreateDate": "2026-01-02T02:17:17.9837783-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-02T02:17:17.9837783-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4a688cdd-8149-41df-8466-7f61e85150be",
            "FieldId": "ec6e7171-c396-40ba-a54b-33cf0e20144d",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4a688cdd-8149-41df-8466-7f61e85150be",
            "FieldId": "ec6e7171-c396-40ba-a54b-33cf0e20144d",
            "FieldName": "sample string 1",
            "FieldLable": "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": "05c947b9-e0b3-4b06-8828-acacc50cd09b",
    "CreateDate": "2026-01-02T02:17:17.9837783-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-02T02:17:17.9837783-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}