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": "6b72caff-31fb-4094-8cf5-354c1c8fce06",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "e323462d-c61c-467c-aba1-7e5e01a24889",
        "Section": {
          "TaskTypeSectionId": "4b6a0023-f0ba-4422-b125-471ef4455efb",
          "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": "c4b05762-b3ad-4718-a377-d57fe5fea8d9",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "264ebe82-c95a-4b6a-8051-60620a982d03",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "b6d6b319-9f7b-46d6-9a4d-1b8dd2013189",
          "CreateDate": "2025-12-01T10:42:54.200577-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T10:42:54.200577-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "bd3f4832-a273-400d-89c9-ac8fe901798c",
            "FieldId": "aa4cce8c-a4b9-42a1-866a-13b65391bf4f",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "bd3f4832-a273-400d-89c9-ac8fe901798c",
            "FieldId": "aa4cce8c-a4b9-42a1-866a-13b65391bf4f",
            "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": "e323462d-c61c-467c-aba1-7e5e01a24889",
        "Section": {
          "TaskTypeSectionId": "4b6a0023-f0ba-4422-b125-471ef4455efb",
          "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": "c4b05762-b3ad-4718-a377-d57fe5fea8d9",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "264ebe82-c95a-4b6a-8051-60620a982d03",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "b6d6b319-9f7b-46d6-9a4d-1b8dd2013189",
          "CreateDate": "2025-12-01T10:42:54.200577-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T10:42:54.200577-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "bd3f4832-a273-400d-89c9-ac8fe901798c",
            "FieldId": "aa4cce8c-a4b9-42a1-866a-13b65391bf4f",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "bd3f4832-a273-400d-89c9-ac8fe901798c",
            "FieldId": "aa4cce8c-a4b9-42a1-866a-13b65391bf4f",
            "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": "feeab6a5-ece7-4d61-b104-02482b812927",
    "CreateDate": "2025-12-01T10:42:54.200577-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-01T10:42:54.200577-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "a5a27bcd-9ebc-4200-968b-f19e81d652c2",
      "CompanyId": "519a937e-8326-4290-af2d-f11617b543be",
      "TaskStatusTypeId": "751f2dc7-6a1a-4a19-9e8f-eb8e6c2609d6",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "e659dbaa-e28e-45b6-82a4-94fffc297bf0",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "a5a27bcd-9ebc-4200-968b-f19e81d652c2",
      "CompanyId": "519a937e-8326-4290-af2d-f11617b543be",
      "TaskStatusTypeId": "751f2dc7-6a1a-4a19-9e8f-eb8e6c2609d6",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "e659dbaa-e28e-45b6-82a4-94fffc297bf0",
      "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": "7d6db894-2d18-4175-9bf4-e7eb82287130",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "26ba5654-21a3-47a2-ab5b-fee8b7edb578",
        "Section": {
          "TaskTypeSectionId": "1e7ddb9a-a4f2-4853-baa1-132dcdfd1139",
          "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": "4651af3c-02af-4f49-850b-8777472a91e9",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a058216e-083d-47d4-89da-b1f4215bfee5",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f5f336dc-246e-4327-b690-36c63a4fc858",
          "CreateDate": "2025-12-01T10:42:54.200577-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T10:42:54.200577-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f585e657-5e96-42ae-b823-5a4f74e46128",
            "FieldId": "8f328c85-00fc-4fc2-b408-b35f0aa4e216",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f585e657-5e96-42ae-b823-5a4f74e46128",
            "FieldId": "8f328c85-00fc-4fc2-b408-b35f0aa4e216",
            "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": "26ba5654-21a3-47a2-ab5b-fee8b7edb578",
        "Section": {
          "TaskTypeSectionId": "1e7ddb9a-a4f2-4853-baa1-132dcdfd1139",
          "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": "4651af3c-02af-4f49-850b-8777472a91e9",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a058216e-083d-47d4-89da-b1f4215bfee5",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f5f336dc-246e-4327-b690-36c63a4fc858",
          "CreateDate": "2025-12-01T10:42:54.200577-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-12-01T10:42:54.200577-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f585e657-5e96-42ae-b823-5a4f74e46128",
            "FieldId": "8f328c85-00fc-4fc2-b408-b35f0aa4e216",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f585e657-5e96-42ae-b823-5a4f74e46128",
            "FieldId": "8f328c85-00fc-4fc2-b408-b35f0aa4e216",
            "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": "d39d8cd2-d8c6-44b5-adc5-0992918a9a92",
    "CreateDate": "2025-12-01T10:42:54.200577-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-12-01T10:42:54.200577-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}