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": "334dfbae-ec94-47d9-81f7-5da00f133f36",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "f7573e59-b3e9-4ccc-9c73-bbe6104dd646",
        "Section": {
          "TaskTypeSectionId": "7fe379f4-f60f-4132-bdc3-3d76b4e7df9e",
          "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": "3b421bc8-4a5c-4eec-b480-dfa24723deb2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "dc16bfe1-bf42-4d78-a61c-a6ba37927ff9",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8d717fcb-9c9f-4063-8fb1-020a2b84173f",
          "CreateDate": "2025-10-13T15:17:43.651555-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-13T15:17:43.651555-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "1053501b-c5a1-4d13-87b8-124c56f9283d",
            "FieldId": "38c2019c-41a4-4f2e-a8ee-c35f612c19c4",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "1053501b-c5a1-4d13-87b8-124c56f9283d",
            "FieldId": "38c2019c-41a4-4f2e-a8ee-c35f612c19c4",
            "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": "f7573e59-b3e9-4ccc-9c73-bbe6104dd646",
        "Section": {
          "TaskTypeSectionId": "7fe379f4-f60f-4132-bdc3-3d76b4e7df9e",
          "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": "3b421bc8-4a5c-4eec-b480-dfa24723deb2",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "dc16bfe1-bf42-4d78-a61c-a6ba37927ff9",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8d717fcb-9c9f-4063-8fb1-020a2b84173f",
          "CreateDate": "2025-10-13T15:17:43.651555-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-13T15:17:43.651555-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "1053501b-c5a1-4d13-87b8-124c56f9283d",
            "FieldId": "38c2019c-41a4-4f2e-a8ee-c35f612c19c4",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "1053501b-c5a1-4d13-87b8-124c56f9283d",
            "FieldId": "38c2019c-41a4-4f2e-a8ee-c35f612c19c4",
            "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": "ee5b5083-a94d-482d-b5a2-458c85145079",
    "CreateDate": "2025-10-13T15:17:43.651555-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-10-13T15:17:43.651555-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "118732c3-4322-41d7-886c-906ec10e0606",
      "CompanyId": "e1e183f9-b526-4cd5-aa6f-edd2dc194255",
      "TaskStatusTypeId": "874058aa-fbad-4646-9c0f-71aef240f92c",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "788918b2-ea43-44b7-9f50-aac11caa6e2e",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "118732c3-4322-41d7-886c-906ec10e0606",
      "CompanyId": "e1e183f9-b526-4cd5-aa6f-edd2dc194255",
      "TaskStatusTypeId": "874058aa-fbad-4646-9c0f-71aef240f92c",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "788918b2-ea43-44b7-9f50-aac11caa6e2e",
      "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": "d58f232a-784d-47f2-8f54-a87ba66d4f69",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "e35eddb9-74ef-412f-8292-b6617a105cf6",
        "Section": {
          "TaskTypeSectionId": "a91100de-31aa-422b-aa20-e473bb5e1b9f",
          "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": "db94560d-c278-4074-b88b-8ed35c7c5a67",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "061d77b5-69fa-4961-8304-ae670013d521",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8b7e5fc0-97ca-47c0-ae67-1545c42fdf0e",
          "CreateDate": "2025-10-13T15:17:43.651555-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-13T15:17:43.651555-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "bcb69a79-63b0-4344-9365-ab0740263d35",
            "FieldId": "69f2c68f-5532-4211-8227-0865b28e9aef",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "bcb69a79-63b0-4344-9365-ab0740263d35",
            "FieldId": "69f2c68f-5532-4211-8227-0865b28e9aef",
            "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": "e35eddb9-74ef-412f-8292-b6617a105cf6",
        "Section": {
          "TaskTypeSectionId": "a91100de-31aa-422b-aa20-e473bb5e1b9f",
          "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": "db94560d-c278-4074-b88b-8ed35c7c5a67",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "061d77b5-69fa-4961-8304-ae670013d521",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8b7e5fc0-97ca-47c0-ae67-1545c42fdf0e",
          "CreateDate": "2025-10-13T15:17:43.651555-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-10-13T15:17:43.651555-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "bcb69a79-63b0-4344-9365-ab0740263d35",
            "FieldId": "69f2c68f-5532-4211-8227-0865b28e9aef",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "bcb69a79-63b0-4344-9365-ab0740263d35",
            "FieldId": "69f2c68f-5532-4211-8227-0865b28e9aef",
            "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": "b80ade95-cc7b-4967-9ddc-68bc95c4e73b",
    "CreateDate": "2025-10-13T15:17:43.651555-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-10-13T15:17:43.651555-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}