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": "8cebbe17-3602-4ba7-be78-f36ed216df54",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "2f586966-89aa-43c8-824c-de4aec811445",
        "Section": {
          "TaskTypeSectionId": "2ac6072f-60a9-4b71-a6d6-887f12f5c41b",
          "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": "2c7d1c96-4b95-4db2-a5d2-dab04a3a7e7a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "43151435-3e8f-4bf6-8008-6cb3f67516f2",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "75bc0d3e-0e22-4cf2-8d0e-e5a75eadf6cb",
          "CreateDate": "2026-04-09T08:31:44.9782907-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-09T08:31:44.9782907-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "41a70b35-fe1f-4bad-8fd9-a5e508f1e511",
            "FieldId": "617bf76f-0909-4cb1-afe1-21c96a94f874",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "41a70b35-fe1f-4bad-8fd9-a5e508f1e511",
            "FieldId": "617bf76f-0909-4cb1-afe1-21c96a94f874",
            "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": "2f586966-89aa-43c8-824c-de4aec811445",
        "Section": {
          "TaskTypeSectionId": "2ac6072f-60a9-4b71-a6d6-887f12f5c41b",
          "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": "2c7d1c96-4b95-4db2-a5d2-dab04a3a7e7a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "43151435-3e8f-4bf6-8008-6cb3f67516f2",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "75bc0d3e-0e22-4cf2-8d0e-e5a75eadf6cb",
          "CreateDate": "2026-04-09T08:31:44.9782907-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-09T08:31:44.9782907-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "41a70b35-fe1f-4bad-8fd9-a5e508f1e511",
            "FieldId": "617bf76f-0909-4cb1-afe1-21c96a94f874",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "41a70b35-fe1f-4bad-8fd9-a5e508f1e511",
            "FieldId": "617bf76f-0909-4cb1-afe1-21c96a94f874",
            "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": "84a80c39-0c73-4fbd-9135-f295dfe4ccb6",
    "CreateDate": "2026-04-09T08:31:44.9782907-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-04-09T08:31:44.9782907-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "dbe800d9-80ae-40f1-8e8c-eb7a4f680eea",
      "CompanyId": "5932e9da-9d2f-4ef7-a8d8-823a3bad622e",
      "TaskStatusTypeId": "8f20cf4f-a5a8-4e25-bb9b-fd616a9765a7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "982a324e-fa84-4d0b-a46e-5c423a20dfcd",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "dbe800d9-80ae-40f1-8e8c-eb7a4f680eea",
      "CompanyId": "5932e9da-9d2f-4ef7-a8d8-823a3bad622e",
      "TaskStatusTypeId": "8f20cf4f-a5a8-4e25-bb9b-fd616a9765a7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "982a324e-fa84-4d0b-a46e-5c423a20dfcd",
      "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": "8b09f862-62e6-40f7-a8c1-3f30f142fee1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "fe5572cb-f40c-4eb8-89ee-fbccfc13bc79",
        "Section": {
          "TaskTypeSectionId": "96682f33-b1dd-44f7-a1f5-f19c3c678162",
          "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": "8055d2ef-33f0-45a5-912d-3192242f7a7c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cb35de05-f4ad-453a-b98d-a94891f041ce",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "fbc2b12a-32a2-4d7c-8bbf-2a03aa006534",
          "CreateDate": "2026-04-09T08:31:44.9782907-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-09T08:31:44.9782907-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4af3afb4-34af-4d7f-a3ed-962e0ad299dd",
            "FieldId": "c7f8fba6-6654-4e50-b306-e5df1a560f25",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4af3afb4-34af-4d7f-a3ed-962e0ad299dd",
            "FieldId": "c7f8fba6-6654-4e50-b306-e5df1a560f25",
            "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": "fe5572cb-f40c-4eb8-89ee-fbccfc13bc79",
        "Section": {
          "TaskTypeSectionId": "96682f33-b1dd-44f7-a1f5-f19c3c678162",
          "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": "8055d2ef-33f0-45a5-912d-3192242f7a7c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cb35de05-f4ad-453a-b98d-a94891f041ce",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "fbc2b12a-32a2-4d7c-8bbf-2a03aa006534",
          "CreateDate": "2026-04-09T08:31:44.9782907-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-09T08:31:44.9782907-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "4af3afb4-34af-4d7f-a3ed-962e0ad299dd",
            "FieldId": "c7f8fba6-6654-4e50-b306-e5df1a560f25",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "4af3afb4-34af-4d7f-a3ed-962e0ad299dd",
            "FieldId": "c7f8fba6-6654-4e50-b306-e5df1a560f25",
            "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": "a86a4095-2692-4d02-831c-862715bf9f82",
    "CreateDate": "2026-04-09T08:31:44.9782907-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-04-09T08:31:44.9782907-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}