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": "d077edfb-44ed-472c-b3eb-5f900846c438",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "c3b96ea4-a2ef-436c-b975-ced709413411",
        "Section": {
          "TaskTypeSectionId": "ed241ca2-b519-4094-a2b5-1e198aef5d19",
          "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": "a5c545b1-43e4-4ead-93fd-89444354b1ac",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ac36ee50-93a2-49e2-b908-89b5f199e76a",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4157924a-d6b8-4ce6-ace6-a4ee09bf5a76",
          "CreateDate": "2025-12-17T23:26:21.5999984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-17T23:26:21.5999984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "aec343b7-105f-40b8-90b2-3b27be61a5d5",
            "FieldId": "03d4f01d-f92a-4a4d-9046-9a9131e27a06",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "aec343b7-105f-40b8-90b2-3b27be61a5d5",
            "FieldId": "03d4f01d-f92a-4a4d-9046-9a9131e27a06",
            "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": "c3b96ea4-a2ef-436c-b975-ced709413411",
        "Section": {
          "TaskTypeSectionId": "ed241ca2-b519-4094-a2b5-1e198aef5d19",
          "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": "a5c545b1-43e4-4ead-93fd-89444354b1ac",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ac36ee50-93a2-49e2-b908-89b5f199e76a",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4157924a-d6b8-4ce6-ace6-a4ee09bf5a76",
          "CreateDate": "2025-12-17T23:26:21.5999984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-17T23:26:21.5999984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "aec343b7-105f-40b8-90b2-3b27be61a5d5",
            "FieldId": "03d4f01d-f92a-4a4d-9046-9a9131e27a06",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "aec343b7-105f-40b8-90b2-3b27be61a5d5",
            "FieldId": "03d4f01d-f92a-4a4d-9046-9a9131e27a06",
            "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": "97169f9b-1570-4fb4-8ed1-9a6ab0743dac",
    "CreateDate": "2025-12-17T23:26:21.5999984-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-17T23:26:21.5999984-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "8bd2fc55-bbc1-404d-b1fd-20ddca4b76ab",
      "CompanyId": "be09598a-71f7-4a40-8088-eaba3b90d407",
      "TaskStatusTypeId": "45d4175d-2226-4f08-8ba7-ad4e4bfa3e51",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "a4d65a7d-8430-41cb-9819-d6310cedcf32",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "8bd2fc55-bbc1-404d-b1fd-20ddca4b76ab",
      "CompanyId": "be09598a-71f7-4a40-8088-eaba3b90d407",
      "TaskStatusTypeId": "45d4175d-2226-4f08-8ba7-ad4e4bfa3e51",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "a4d65a7d-8430-41cb-9819-d6310cedcf32",
      "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": "a68a5338-52b5-4e04-9388-7233d35162c4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "bb25ffd5-b924-4aad-84d8-7c2e042240d5",
        "Section": {
          "TaskTypeSectionId": "68532189-6679-47a1-b7b1-0cb9f0e0e151",
          "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": "5fafbce5-3423-4dbd-9d3b-6419697e580d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ef5466d7-2ffc-484b-9633-e553a70cf43b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4d6b5da2-9ca4-4413-b1f9-2dd7be4a33b1",
          "CreateDate": "2025-12-17T23:26:21.5999984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-17T23:26:21.5999984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "ac29e160-6134-46ac-9bd1-de8da989a4b4",
            "FieldId": "d56a97c3-f765-4a93-a481-5701172f5f8a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "ac29e160-6134-46ac-9bd1-de8da989a4b4",
            "FieldId": "d56a97c3-f765-4a93-a481-5701172f5f8a",
            "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": "bb25ffd5-b924-4aad-84d8-7c2e042240d5",
        "Section": {
          "TaskTypeSectionId": "68532189-6679-47a1-b7b1-0cb9f0e0e151",
          "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": "5fafbce5-3423-4dbd-9d3b-6419697e580d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ef5466d7-2ffc-484b-9633-e553a70cf43b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4d6b5da2-9ca4-4413-b1f9-2dd7be4a33b1",
          "CreateDate": "2025-12-17T23:26:21.5999984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-17T23:26:21.5999984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "ac29e160-6134-46ac-9bd1-de8da989a4b4",
            "FieldId": "d56a97c3-f765-4a93-a481-5701172f5f8a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "ac29e160-6134-46ac-9bd1-de8da989a4b4",
            "FieldId": "d56a97c3-f765-4a93-a481-5701172f5f8a",
            "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": "2e3440e2-7b59-4ae8-9261-22f30333d56b",
    "CreateDate": "2025-12-17T23:26:21.5999984-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-17T23:26:21.5999984-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}