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": "a9391eca-062a-4a7c-9169-a3f4c919b26a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "9657331b-c967-4910-9cad-cc55a3596de6", "Section": { "TaskTypeSectionId": "acbfa314-5e1f-4b68-af27-078f0242cad1", "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": "6947a41f-93b9-4759-9809-9e64564abd0a", "Name": "sample string 1" }, "Unit": { "UnitId": "0249677e-0c5b-4002-ae97-4426859fe9b7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "656a8cbb-beef-41f0-8366-ad82635cc48a", "CreateDate": "2025-08-29T17:21:12.4929889-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.4929889-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "24e07320-f5a7-42c4-b568-e443303ac60c", "FieldId": "38d94e65-7cad-4ff1-bd17-347ac6b775b8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "24e07320-f5a7-42c4-b568-e443303ac60c", "FieldId": "38d94e65-7cad-4ff1-bd17-347ac6b775b8", "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": "9657331b-c967-4910-9cad-cc55a3596de6", "Section": { "TaskTypeSectionId": "acbfa314-5e1f-4b68-af27-078f0242cad1", "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": "6947a41f-93b9-4759-9809-9e64564abd0a", "Name": "sample string 1" }, "Unit": { "UnitId": "0249677e-0c5b-4002-ae97-4426859fe9b7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "656a8cbb-beef-41f0-8366-ad82635cc48a", "CreateDate": "2025-08-29T17:21:12.4929889-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.4929889-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "24e07320-f5a7-42c4-b568-e443303ac60c", "FieldId": "38d94e65-7cad-4ff1-bd17-347ac6b775b8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "24e07320-f5a7-42c4-b568-e443303ac60c", "FieldId": "38d94e65-7cad-4ff1-bd17-347ac6b775b8", "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": "cef8501e-e874-4d0e-8b90-a85feb6fd76d", "CreateDate": "2025-08-29T17:21:12.4929889-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:21:12.4929889-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "865dec68-609f-4d20-8e1b-486e450b538e", "CompanyId": "bb2cd1a2-e9b9-47b0-aa4c-3bf9eabe9d0d", "TaskStatusTypeId": "511be28d-0918-4db1-b83a-eaf22a072754", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "60231118-0155-493a-ae70-0044ccd960d6", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "865dec68-609f-4d20-8e1b-486e450b538e", "CompanyId": "bb2cd1a2-e9b9-47b0-aa4c-3bf9eabe9d0d", "TaskStatusTypeId": "511be28d-0918-4db1-b83a-eaf22a072754", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "60231118-0155-493a-ae70-0044ccd960d6", "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": "ae9a52ed-e78b-4d8a-ad18-4346dbc30f9f", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "1d87b4ef-db78-4a7a-bad3-3b27ee336e71", "Section": { "TaskTypeSectionId": "3af22ae4-205b-4836-a7ea-061996cebbd3", "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": "686ce2a6-d158-4ccc-8e13-07f9761fb420", "Name": "sample string 1" }, "Unit": { "UnitId": "9cb184f0-abbf-4f4e-bbab-c4675da9801e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dd7d0e6a-cc0e-4f63-a16c-01524a7f7fc1", "CreateDate": "2025-08-29T17:21:12.4929889-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.4929889-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d0dd766a-5d40-46f7-b6ad-93652d26447b", "FieldId": "7358fc0c-a4e4-48c1-a2d1-d7228f4345d8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d0dd766a-5d40-46f7-b6ad-93652d26447b", "FieldId": "7358fc0c-a4e4-48c1-a2d1-d7228f4345d8", "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": "1d87b4ef-db78-4a7a-bad3-3b27ee336e71", "Section": { "TaskTypeSectionId": "3af22ae4-205b-4836-a7ea-061996cebbd3", "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": "686ce2a6-d158-4ccc-8e13-07f9761fb420", "Name": "sample string 1" }, "Unit": { "UnitId": "9cb184f0-abbf-4f4e-bbab-c4675da9801e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dd7d0e6a-cc0e-4f63-a16c-01524a7f7fc1", "CreateDate": "2025-08-29T17:21:12.4929889-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.4929889-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d0dd766a-5d40-46f7-b6ad-93652d26447b", "FieldId": "7358fc0c-a4e4-48c1-a2d1-d7228f4345d8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d0dd766a-5d40-46f7-b6ad-93652d26447b", "FieldId": "7358fc0c-a4e4-48c1-a2d1-d7228f4345d8", "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": "5db2cebc-2351-4317-814a-a031daca63b2", "CreateDate": "2025-08-29T17:21:12.4929889-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:21:12.4929889-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }