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": "4edf5100-d89b-43aa-a5b9-d87a0a0a1f50",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "3cdcae4f-f453-4d0b-8a6a-942bf560265b",
        "Section": {
          "TaskTypeSectionId": "e4392dd3-00ed-4622-b57b-12f63f73e78d",
          "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": "af1b71fd-84fd-4e1b-a916-9a2de33e72ef",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b40e95bd-1c05-456c-8e16-68503dbae4f0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "92556a4c-0050-41a1-9223-d0710b2ce1e8",
          "CreateDate": "2026-09-06T10:31:20.5467509-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-06T10:31:20.5467509-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "400c9d25-a483-4adf-bdd9-67ca750b4b79",
            "FieldId": "4e13c47b-2124-4de2-afd0-938fe4e49b1d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "400c9d25-a483-4adf-bdd9-67ca750b4b79",
            "FieldId": "4e13c47b-2124-4de2-afd0-938fe4e49b1d",
            "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": "3cdcae4f-f453-4d0b-8a6a-942bf560265b",
        "Section": {
          "TaskTypeSectionId": "e4392dd3-00ed-4622-b57b-12f63f73e78d",
          "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": "af1b71fd-84fd-4e1b-a916-9a2de33e72ef",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b40e95bd-1c05-456c-8e16-68503dbae4f0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "92556a4c-0050-41a1-9223-d0710b2ce1e8",
          "CreateDate": "2026-09-06T10:31:20.5467509-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-06T10:31:20.5467509-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "400c9d25-a483-4adf-bdd9-67ca750b4b79",
            "FieldId": "4e13c47b-2124-4de2-afd0-938fe4e49b1d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "400c9d25-a483-4adf-bdd9-67ca750b4b79",
            "FieldId": "4e13c47b-2124-4de2-afd0-938fe4e49b1d",
            "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": "4c79f47e-af20-4458-acea-bfd47fc69fe0",
    "CreateDate": "2026-09-06T10:31:20.5467509-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-06T10:31:20.5467509-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "efadb645-334d-4bda-818c-560c5088697e",
      "CompanyId": "ac7cf80e-e75e-400f-8f96-dabed3d8ee98",
      "TaskStatusTypeId": "8136b6c9-b9f4-44b7-aa3e-0c80664e319d",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "f86407a1-84ee-47cd-a3f9-bf974576eae3",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "efadb645-334d-4bda-818c-560c5088697e",
      "CompanyId": "ac7cf80e-e75e-400f-8f96-dabed3d8ee98",
      "TaskStatusTypeId": "8136b6c9-b9f4-44b7-aa3e-0c80664e319d",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "f86407a1-84ee-47cd-a3f9-bf974576eae3",
      "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": "14a9916e-9f3e-47c1-a269-abfb0d8e9882",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "646ccdce-30ba-47e2-9e0c-0240a11146d4",
        "Section": {
          "TaskTypeSectionId": "6a8cda5e-f6d6-48e7-b75b-29e33b5abfd1",
          "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": "a1d233be-018c-43e6-84da-8637bf3581f5",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "514d9af5-e73c-4930-92bb-eb2502d52a27",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "a6298564-0f5b-48ff-b014-6a443b466874",
          "CreateDate": "2026-09-06T10:31:20.5467509-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-06T10:31:20.5467509-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "dec7627d-4534-44e9-8487-a793f173e42b",
            "FieldId": "51f4a1be-ba7a-42f0-be1f-387793d92186",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "dec7627d-4534-44e9-8487-a793f173e42b",
            "FieldId": "51f4a1be-ba7a-42f0-be1f-387793d92186",
            "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": "646ccdce-30ba-47e2-9e0c-0240a11146d4",
        "Section": {
          "TaskTypeSectionId": "6a8cda5e-f6d6-48e7-b75b-29e33b5abfd1",
          "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": "a1d233be-018c-43e6-84da-8637bf3581f5",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "514d9af5-e73c-4930-92bb-eb2502d52a27",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "a6298564-0f5b-48ff-b014-6a443b466874",
          "CreateDate": "2026-09-06T10:31:20.5467509-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-06T10:31:20.5467509-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "dec7627d-4534-44e9-8487-a793f173e42b",
            "FieldId": "51f4a1be-ba7a-42f0-be1f-387793d92186",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "dec7627d-4534-44e9-8487-a793f173e42b",
            "FieldId": "51f4a1be-ba7a-42f0-be1f-387793d92186",
            "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": "656995c8-6244-4538-ad98-5ed09fccd16c",
    "CreateDate": "2026-09-06T10:31:20.5467509-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-06T10:31:20.5467509-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}