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": "dd3d15fc-283b-47cc-81fc-117e6c81bcfc", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "d161d3d5-a61f-471d-9622-4c5f1afac591", "Section": { "TaskTypeSectionId": "eaef1f70-babf-499f-86dd-c9576accec60", "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": "5c37bc93-acd1-4b50-af97-96a80c6fa6cd", "Name": "sample string 1" }, "Unit": { "UnitId": "3d69fb69-63d9-4204-8225-0ccac9822e14", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2bd1c3a7-69c3-4d7f-bd83-d45d326e0c84", "CreateDate": "2025-07-30T11:55:42.7050217-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T11:55:42.7050217-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "84e07de4-ab74-4cd1-8c6c-1e885b43609e", "FieldId": "db8b4d82-2fd4-497f-9b74-809d39cee8f9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "84e07de4-ab74-4cd1-8c6c-1e885b43609e", "FieldId": "db8b4d82-2fd4-497f-9b74-809d39cee8f9", "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": "d161d3d5-a61f-471d-9622-4c5f1afac591", "Section": { "TaskTypeSectionId": "eaef1f70-babf-499f-86dd-c9576accec60", "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": "5c37bc93-acd1-4b50-af97-96a80c6fa6cd", "Name": "sample string 1" }, "Unit": { "UnitId": "3d69fb69-63d9-4204-8225-0ccac9822e14", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2bd1c3a7-69c3-4d7f-bd83-d45d326e0c84", "CreateDate": "2025-07-30T11:55:42.7050217-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T11:55:42.7050217-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "84e07de4-ab74-4cd1-8c6c-1e885b43609e", "FieldId": "db8b4d82-2fd4-497f-9b74-809d39cee8f9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "84e07de4-ab74-4cd1-8c6c-1e885b43609e", "FieldId": "db8b4d82-2fd4-497f-9b74-809d39cee8f9", "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": "acfe6208-4124-4ad2-a5c9-84dc13160092", "CreateDate": "2025-07-30T11:55:42.7050217-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T11:55:42.7050217-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "d9ad3d2a-f0ad-4306-86f3-03c9e183e707", "CompanyId": "fd811d2c-dcd5-464d-b328-e34be2cbdad4", "TaskStatusTypeId": "88771c18-f44b-479e-8193-738463458290", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "6a338020-a81b-4a74-815e-f937c1cbbdbb", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "d9ad3d2a-f0ad-4306-86f3-03c9e183e707", "CompanyId": "fd811d2c-dcd5-464d-b328-e34be2cbdad4", "TaskStatusTypeId": "88771c18-f44b-479e-8193-738463458290", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "6a338020-a81b-4a74-815e-f937c1cbbdbb", "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": "d0c54d88-3f6b-4c8d-9aab-7dcea30afd71", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "1ec04934-5c5b-4194-a464-b8800fdbc2a2", "Section": { "TaskTypeSectionId": "9463f2a5-9c4c-4d3a-851a-7db024583180", "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": "f812e9a5-c648-4d36-bb14-3929bb62209e", "Name": "sample string 1" }, "Unit": { "UnitId": "89cc6f10-4f72-4d37-8c9b-9899e8ad9f44", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bcb5b7d2-67e1-4087-8613-a2900339e289", "CreateDate": "2025-07-30T11:55:42.7206452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T11:55:42.7206452-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b527dff0-ce06-4dfe-bfa0-ecf89dce1b02", "FieldId": "85d4049c-d4e1-49f9-8a14-17ecda4245fc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b527dff0-ce06-4dfe-bfa0-ecf89dce1b02", "FieldId": "85d4049c-d4e1-49f9-8a14-17ecda4245fc", "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": "1ec04934-5c5b-4194-a464-b8800fdbc2a2", "Section": { "TaskTypeSectionId": "9463f2a5-9c4c-4d3a-851a-7db024583180", "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": "f812e9a5-c648-4d36-bb14-3929bb62209e", "Name": "sample string 1" }, "Unit": { "UnitId": "89cc6f10-4f72-4d37-8c9b-9899e8ad9f44", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bcb5b7d2-67e1-4087-8613-a2900339e289", "CreateDate": "2025-07-30T11:55:42.7206452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T11:55:42.7206452-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b527dff0-ce06-4dfe-bfa0-ecf89dce1b02", "FieldId": "85d4049c-d4e1-49f9-8a14-17ecda4245fc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b527dff0-ce06-4dfe-bfa0-ecf89dce1b02", "FieldId": "85d4049c-d4e1-49f9-8a14-17ecda4245fc", "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": "0d72d2eb-5ece-4a86-ad75-37501cf38730", "CreateDate": "2025-07-30T11:55:42.7206452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T11:55:42.7206452-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }