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": "fe43c048-72f6-4d22-a80b-9bdea98a1352",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "36aba138-387a-49c9-b69f-632f3e533306",
        "Section": {
          "TaskTypeSectionId": "b723ed41-4c6d-4927-aa9c-b7c93ee25cb6",
          "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": "46652ba2-36b4-4eda-9aea-2cc45547f974",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b466d2ef-c377-448d-9a93-58c22f84d0ea",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5744890a-5ce5-4f58-b758-29179a41389d",
          "CreateDate": "2025-09-13T18:27:31.3378974-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-13T18:27:31.3378974-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "af34a4d2-238e-49a0-85dd-296cbc0d3755",
            "FieldId": "ab5ca6c0-55f5-40b0-8f69-1545192e8255",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "af34a4d2-238e-49a0-85dd-296cbc0d3755",
            "FieldId": "ab5ca6c0-55f5-40b0-8f69-1545192e8255",
            "FieldName": "sample string 1",
            "FieldLable": "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": "36aba138-387a-49c9-b69f-632f3e533306",
        "Section": {
          "TaskTypeSectionId": "b723ed41-4c6d-4927-aa9c-b7c93ee25cb6",
          "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": "46652ba2-36b4-4eda-9aea-2cc45547f974",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b466d2ef-c377-448d-9a93-58c22f84d0ea",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5744890a-5ce5-4f58-b758-29179a41389d",
          "CreateDate": "2025-09-13T18:27:31.3378974-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-13T18:27:31.3378974-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "af34a4d2-238e-49a0-85dd-296cbc0d3755",
            "FieldId": "ab5ca6c0-55f5-40b0-8f69-1545192e8255",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "af34a4d2-238e-49a0-85dd-296cbc0d3755",
            "FieldId": "ab5ca6c0-55f5-40b0-8f69-1545192e8255",
            "FieldName": "sample string 1",
            "FieldLable": "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": "6d7c7c2d-d1ec-4d80-9777-73d279645013",
    "CreateDate": "2025-09-13T18:27:31.3378974-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-09-13T18:27:31.3378974-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "676985f8-bb2e-442c-bdfb-4a44f1cd0adf",
      "CompanyId": "595cc236-5a72-4bdb-ab53-0a12afacb883",
      "TaskStatusTypeId": "4f6b5b56-5e9b-4608-91e8-4db99e005894",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "7c5f6e64-54bd-4837-8cfe-cb32cea6841b",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "676985f8-bb2e-442c-bdfb-4a44f1cd0adf",
      "CompanyId": "595cc236-5a72-4bdb-ab53-0a12afacb883",
      "TaskStatusTypeId": "4f6b5b56-5e9b-4608-91e8-4db99e005894",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "7c5f6e64-54bd-4837-8cfe-cb32cea6841b",
      "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": "f68b0838-a55b-4406-84e4-521d9a975e6a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "184a22c2-f9c8-4b88-a90e-10d91c1baeac",
        "Section": {
          "TaskTypeSectionId": "a818931a-fe35-4a32-85d0-925422595a96",
          "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": "5e266e8a-39e7-4d6e-9421-de710a8b1ba0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f748805b-f960-49c0-9447-4794638dcd57",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "a251d3b1-0fb7-4887-980b-e15f376de7dd",
          "CreateDate": "2025-09-13T18:27:31.3378974-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-13T18:27:31.3378974-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "8a5b975c-91fa-4027-8a31-631e912b9a88",
            "FieldId": "77489c75-d607-402d-b02e-fc6847a6ba7c",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "8a5b975c-91fa-4027-8a31-631e912b9a88",
            "FieldId": "77489c75-d607-402d-b02e-fc6847a6ba7c",
            "FieldName": "sample string 1",
            "FieldLable": "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": "184a22c2-f9c8-4b88-a90e-10d91c1baeac",
        "Section": {
          "TaskTypeSectionId": "a818931a-fe35-4a32-85d0-925422595a96",
          "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": "5e266e8a-39e7-4d6e-9421-de710a8b1ba0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f748805b-f960-49c0-9447-4794638dcd57",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "a251d3b1-0fb7-4887-980b-e15f376de7dd",
          "CreateDate": "2025-09-13T18:27:31.3378974-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-09-13T18:27:31.3378974-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "8a5b975c-91fa-4027-8a31-631e912b9a88",
            "FieldId": "77489c75-d607-402d-b02e-fc6847a6ba7c",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "8a5b975c-91fa-4027-8a31-631e912b9a88",
            "FieldId": "77489c75-d607-402d-b02e-fc6847a6ba7c",
            "FieldName": "sample string 1",
            "FieldLable": "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": "42cfe832-167e-4fc9-aaad-482b21417330",
    "CreateDate": "2025-09-13T18:27:31.3378974-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-09-13T18:27:31.3378974-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}