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.
TaskTypeParamsName | Description | Type | Additional information |
---|---|---|---|
Task | TaskType |
None. |
|
Associations | Collection of TaskStatusTypeTaskType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Task": { "TaskTypeId": "ed3bf52b-de4d-48f5-9856-a38705e6ca07", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "be36f99a-8ad5-435c-a23d-ec8c03a7f8ad", "Section": { "TaskTypeSectionId": "a912af13-ace4-4d45-8595-ee61b1529c57", "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": "ac2044e3-54bf-4065-8285-cca7bb284a5a", "Name": "sample string 1" }, "Unit": { "UnitId": "64042b2c-a118-40b2-aaec-751d94fb9097", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "093f4ac4-83a0-4780-9353-675aed20e112", "CreateDate": "2025-10-23T14:28:02.6905348-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-23T14:28:02.6905348-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c4557cec-ab5c-4fab-a254-7b980801fdf6", "FieldId": "8e30748b-a4ee-47d3-9bb7-12945f194993", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c4557cec-ab5c-4fab-a254-7b980801fdf6", "FieldId": "8e30748b-a4ee-47d3-9bb7-12945f194993", "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": "be36f99a-8ad5-435c-a23d-ec8c03a7f8ad", "Section": { "TaskTypeSectionId": "a912af13-ace4-4d45-8595-ee61b1529c57", "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": "ac2044e3-54bf-4065-8285-cca7bb284a5a", "Name": "sample string 1" }, "Unit": { "UnitId": "64042b2c-a118-40b2-aaec-751d94fb9097", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "093f4ac4-83a0-4780-9353-675aed20e112", "CreateDate": "2025-10-23T14:28:02.6905348-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-23T14:28:02.6905348-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c4557cec-ab5c-4fab-a254-7b980801fdf6", "FieldId": "8e30748b-a4ee-47d3-9bb7-12945f194993", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c4557cec-ab5c-4fab-a254-7b980801fdf6", "FieldId": "8e30748b-a4ee-47d3-9bb7-12945f194993", "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": "9571cffc-a2fa-4dac-b1f3-743767d53de5", "CreateDate": "2025-10-23T14:28:02.6905348-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-23T14:28:02.6905348-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "89713c3b-5f31-4289-a114-e8e8f7b3d9f4", "CompanyId": "21867efb-c59f-4c59-8f7f-d5d6a0916d3c", "TaskStatusTypeId": "b52ba090-144a-4214-b86a-c226b460be65", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "608c6517-81a3-4a9b-ba49-b9eba8fd8ecd", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "89713c3b-5f31-4289-a114-e8e8f7b3d9f4", "CompanyId": "21867efb-c59f-4c59-8f7f-d5d6a0916d3c", "TaskStatusTypeId": "b52ba090-144a-4214-b86a-c226b460be65", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "608c6517-81a3-4a9b-ba49-b9eba8fd8ecd", "TaskTypeName": "sample string 4", "Description": "sample string 5" } ] }
Response Information
Resource Description
On success, the updated task type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | TaskType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "TaskTypeId": "de27ab02-f793-4378-a008-08fd2281ee26", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c21d825e-5c26-4300-bb11-cedea8bf06af", "Section": { "TaskTypeSectionId": "da4dadb9-5b22-4f14-9d93-342e118b0174", "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": "b202e8cc-34ef-4725-9082-8f39d67b67be", "Name": "sample string 1" }, "Unit": { "UnitId": "24bd3022-5f46-4143-811e-5f5c81ea4c00", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8fd19846-f3c6-4f8d-852e-02a7ab5fb1b0", "CreateDate": "2025-10-23T14:28:02.7217831-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-23T14:28:02.7217831-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "43c8db30-5087-4f19-b702-1909a3abef46", "FieldId": "cb748c5f-1a8a-4b95-b705-a8208caf91a0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "43c8db30-5087-4f19-b702-1909a3abef46", "FieldId": "cb748c5f-1a8a-4b95-b705-a8208caf91a0", "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": "c21d825e-5c26-4300-bb11-cedea8bf06af", "Section": { "TaskTypeSectionId": "da4dadb9-5b22-4f14-9d93-342e118b0174", "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": "b202e8cc-34ef-4725-9082-8f39d67b67be", "Name": "sample string 1" }, "Unit": { "UnitId": "24bd3022-5f46-4143-811e-5f5c81ea4c00", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8fd19846-f3c6-4f8d-852e-02a7ab5fb1b0", "CreateDate": "2025-10-23T14:28:02.7217831-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-23T14:28:02.7217831-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "43c8db30-5087-4f19-b702-1909a3abef46", "FieldId": "cb748c5f-1a8a-4b95-b705-a8208caf91a0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "43c8db30-5087-4f19-b702-1909a3abef46", "FieldId": "cb748c5f-1a8a-4b95-b705-a8208caf91a0", "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": "3f5f736e-0caf-4efd-8d30-ad765d6b0f99", "CreateDate": "2025-10-23T14:28:02.7217831-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-23T14:28:02.7217831-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }