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": "85cc8f43-ed69-486c-8916-911b5857ca44",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "fd12ac28-2e8f-4547-8f52-2a13d09a734f",
        "Section": {
          "TaskTypeSectionId": "9c0de136-7adc-4b7b-9d59-27fba9f8ee39",
          "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": "2b473b21-ed34-475b-88bd-25ddceca80c5",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c5f649e7-6e78-43f0-a2ff-8d1adc3e3090",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "fec5927c-82aa-454e-900b-1b9a673c0fb2",
          "CreateDate": "2025-07-05T10:03:27.763088-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-05T10:03:27.763088-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7a528f99-cf32-4d57-8379-7325aa218f47",
            "FieldId": "43564d21-8b25-46f6-8a5f-005a5edc6b19",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7a528f99-cf32-4d57-8379-7325aa218f47",
            "FieldId": "43564d21-8b25-46f6-8a5f-005a5edc6b19",
            "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": "fd12ac28-2e8f-4547-8f52-2a13d09a734f",
        "Section": {
          "TaskTypeSectionId": "9c0de136-7adc-4b7b-9d59-27fba9f8ee39",
          "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": "2b473b21-ed34-475b-88bd-25ddceca80c5",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c5f649e7-6e78-43f0-a2ff-8d1adc3e3090",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "fec5927c-82aa-454e-900b-1b9a673c0fb2",
          "CreateDate": "2025-07-05T10:03:27.763088-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-05T10:03:27.763088-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7a528f99-cf32-4d57-8379-7325aa218f47",
            "FieldId": "43564d21-8b25-46f6-8a5f-005a5edc6b19",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7a528f99-cf32-4d57-8379-7325aa218f47",
            "FieldId": "43564d21-8b25-46f6-8a5f-005a5edc6b19",
            "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": "c45d2b67-db7a-4f62-8059-4cb73ca2d97a",
    "CreateDate": "2025-07-05T10:03:27.763088-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-07-05T10:03:27.763088-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "43ca4a7d-c1c8-4600-8f3c-298fb979b28c",
      "CompanyId": "33cd2ad9-3220-4d45-ae87-b8630dba47c8",
      "TaskStatusTypeId": "915aac8a-75b3-406e-bef1-1bb2fa0d4935",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "6b698fb8-5ab2-4843-bb9d-fc3cc334e276",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "43ca4a7d-c1c8-4600-8f3c-298fb979b28c",
      "CompanyId": "33cd2ad9-3220-4d45-ae87-b8630dba47c8",
      "TaskStatusTypeId": "915aac8a-75b3-406e-bef1-1bb2fa0d4935",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "6b698fb8-5ab2-4843-bb9d-fc3cc334e276",
      "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": "07ab8b81-9d35-410b-bf3e-ed2b612cabd9",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "9ecca332-2ebd-41f4-b0f6-6cc2161ec499",
        "Section": {
          "TaskTypeSectionId": "1b51f9f6-77f0-44a3-ad3b-08c3fbae0ce4",
          "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": "2370361e-f0d3-4d3e-97b5-53c122677edb",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2bbb5d42-346d-4395-88a5-f8c05787e9f0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1f7620e9-608b-4581-9b65-19ebcfd2dea5",
          "CreateDate": "2025-07-05T10:03:27.7787702-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-05T10:03:27.7787702-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f1c8fd01-28c7-4163-a6a2-87c9c47a0499",
            "FieldId": "a6cb14e4-bd29-4446-8a3c-4f6f0c79330a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f1c8fd01-28c7-4163-a6a2-87c9c47a0499",
            "FieldId": "a6cb14e4-bd29-4446-8a3c-4f6f0c79330a",
            "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": "9ecca332-2ebd-41f4-b0f6-6cc2161ec499",
        "Section": {
          "TaskTypeSectionId": "1b51f9f6-77f0-44a3-ad3b-08c3fbae0ce4",
          "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": "2370361e-f0d3-4d3e-97b5-53c122677edb",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "2bbb5d42-346d-4395-88a5-f8c05787e9f0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1f7620e9-608b-4581-9b65-19ebcfd2dea5",
          "CreateDate": "2025-07-05T10:03:27.7787702-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-05T10:03:27.7787702-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f1c8fd01-28c7-4163-a6a2-87c9c47a0499",
            "FieldId": "a6cb14e4-bd29-4446-8a3c-4f6f0c79330a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f1c8fd01-28c7-4163-a6a2-87c9c47a0499",
            "FieldId": "a6cb14e4-bd29-4446-8a3c-4f6f0c79330a",
            "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": "86a56ca5-6866-4d89-addb-4cae28558e22",
    "CreateDate": "2025-07-05T10:03:27.7787702-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-07-05T10:03:27.7787702-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}