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": "424f6440-c70d-4cc7-8a90-978d8f8af02a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "cc6368be-5750-4881-81b0-a8956c6e4598",
        "Section": {
          "TaskTypeSectionId": "b30f6aa5-333c-4118-9502-116bafa75e64",
          "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": "c4f80568-13a6-49c8-a56e-ed3bddb47311",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "83c910de-a842-4867-bdd5-068e93e53cac",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6cbe23ac-0f18-400f-abb0-5faf19e7b48b",
          "CreateDate": "2025-07-18T02:43:48.9563911-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-18T02:43:48.9563911-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "631ff8dd-0427-4e0d-90fb-77d5ecae2cfd",
            "FieldId": "80999e7b-899e-48a2-ace5-1c9fc1197f5b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "631ff8dd-0427-4e0d-90fb-77d5ecae2cfd",
            "FieldId": "80999e7b-899e-48a2-ace5-1c9fc1197f5b",
            "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": "cc6368be-5750-4881-81b0-a8956c6e4598",
        "Section": {
          "TaskTypeSectionId": "b30f6aa5-333c-4118-9502-116bafa75e64",
          "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": "c4f80568-13a6-49c8-a56e-ed3bddb47311",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "83c910de-a842-4867-bdd5-068e93e53cac",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6cbe23ac-0f18-400f-abb0-5faf19e7b48b",
          "CreateDate": "2025-07-18T02:43:48.9563911-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-18T02:43:48.9563911-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "631ff8dd-0427-4e0d-90fb-77d5ecae2cfd",
            "FieldId": "80999e7b-899e-48a2-ace5-1c9fc1197f5b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "631ff8dd-0427-4e0d-90fb-77d5ecae2cfd",
            "FieldId": "80999e7b-899e-48a2-ace5-1c9fc1197f5b",
            "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": "0eebeb33-d02d-40c7-a77b-c04b5a5df477",
    "CreateDate": "2025-07-18T02:43:48.9563911-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-07-18T02:43:48.9563911-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "c863a64e-c640-4ec5-ba13-d4f8fd431ef3",
      "CompanyId": "348a1f6a-5cda-4cad-bfba-015f74165d28",
      "TaskStatusTypeId": "933e2df4-db9e-494d-9127-077b726f6cd7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "355bda27-9ebe-493b-8c4e-8e2b576061d5",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "c863a64e-c640-4ec5-ba13-d4f8fd431ef3",
      "CompanyId": "348a1f6a-5cda-4cad-bfba-015f74165d28",
      "TaskStatusTypeId": "933e2df4-db9e-494d-9127-077b726f6cd7",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "355bda27-9ebe-493b-8c4e-8e2b576061d5",
      "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": "a4668b86-59bf-453e-b2e2-7d6824bc6f81",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "5735e7ad-9616-476a-96a6-81432f611f75",
        "Section": {
          "TaskTypeSectionId": "ec0f2495-6505-4d2a-be7e-b0280c680749",
          "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": "fca14666-6717-45ec-8ec6-25d943e5ac15",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ea5517f0-7402-4e90-a090-fbb0d87de27b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7b6908a6-bf3e-45c7-ba4d-7a3bc1559550",
          "CreateDate": "2025-07-18T02:43:48.9563911-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-18T02:43:48.9563911-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3fe43bed-f31a-408e-8ac2-7a3a85807f4c",
            "FieldId": "c44ec951-5cd5-48ec-b4fb-1390fee32dc3",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3fe43bed-f31a-408e-8ac2-7a3a85807f4c",
            "FieldId": "c44ec951-5cd5-48ec-b4fb-1390fee32dc3",
            "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": "5735e7ad-9616-476a-96a6-81432f611f75",
        "Section": {
          "TaskTypeSectionId": "ec0f2495-6505-4d2a-be7e-b0280c680749",
          "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": "fca14666-6717-45ec-8ec6-25d943e5ac15",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ea5517f0-7402-4e90-a090-fbb0d87de27b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7b6908a6-bf3e-45c7-ba4d-7a3bc1559550",
          "CreateDate": "2025-07-18T02:43:48.9563911-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-18T02:43:48.9563911-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3fe43bed-f31a-408e-8ac2-7a3a85807f4c",
            "FieldId": "c44ec951-5cd5-48ec-b4fb-1390fee32dc3",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3fe43bed-f31a-408e-8ac2-7a3a85807f4c",
            "FieldId": "c44ec951-5cd5-48ec-b4fb-1390fee32dc3",
            "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": "64d69a28-41cb-4853-9844-d498790adf28",
    "CreateDate": "2025-07-18T02:43:48.9563911-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-07-18T02:43:48.9563911-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}