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": "04753029-b2c8-4ad1-be52-201db7e5175c", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "ee042303-b05c-467f-add7-596af5903dc3", "Section": { "TaskTypeSectionId": "7e882735-791c-46ff-a652-e9094ac7175f", "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": "97f00383-697a-4f2c-8d8f-23a9ded5bbe7", "Name": "sample string 1" }, "Unit": { "UnitId": "3297e8e5-13f6-4f87-8d5f-b82553307f92", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f174cf7f-00bf-4dff-ac0e-6ab9b744ef52", "CreateDate": "2025-06-27T00:18:49.3121813-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:18:49.3121813-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "742c0a4a-5d37-490e-8cd2-07dc88e80508", "FieldId": "7c6cd0a4-f482-439c-8688-4a8446a12ad7", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "742c0a4a-5d37-490e-8cd2-07dc88e80508", "FieldId": "7c6cd0a4-f482-439c-8688-4a8446a12ad7", "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": "ee042303-b05c-467f-add7-596af5903dc3", "Section": { "TaskTypeSectionId": "7e882735-791c-46ff-a652-e9094ac7175f", "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": "97f00383-697a-4f2c-8d8f-23a9ded5bbe7", "Name": "sample string 1" }, "Unit": { "UnitId": "3297e8e5-13f6-4f87-8d5f-b82553307f92", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f174cf7f-00bf-4dff-ac0e-6ab9b744ef52", "CreateDate": "2025-06-27T00:18:49.3121813-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:18:49.3121813-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "742c0a4a-5d37-490e-8cd2-07dc88e80508", "FieldId": "7c6cd0a4-f482-439c-8688-4a8446a12ad7", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "742c0a4a-5d37-490e-8cd2-07dc88e80508", "FieldId": "7c6cd0a4-f482-439c-8688-4a8446a12ad7", "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": "ac2c9274-41f3-481f-a8c8-a0f70d53e21f", "CreateDate": "2025-06-27T00:18:49.3121813-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:18:49.3121813-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "4b9ce16c-e1f4-4fe4-9ef5-db38d740854f", "CompanyId": "34942057-1da4-4e6a-92c9-db133e3061de", "TaskStatusTypeId": "6c131b6e-dd4b-4715-b661-6d9d6c88595e", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "7462e2ac-dae0-4e84-bee6-399d2750b141", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "4b9ce16c-e1f4-4fe4-9ef5-db38d740854f", "CompanyId": "34942057-1da4-4e6a-92c9-db133e3061de", "TaskStatusTypeId": "6c131b6e-dd4b-4715-b661-6d9d6c88595e", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "7462e2ac-dae0-4e84-bee6-399d2750b141", "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": "b8fe1af8-9067-4b1e-9b43-51df0e87c60a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "0e8fe8af-9890-4e77-96ab-92371b0008db", "Section": { "TaskTypeSectionId": "684be0c5-7b70-41ff-8fa2-fd58c43b2ee6", "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": "36aec43a-45cd-40b7-affe-102b7e503dc9", "Name": "sample string 1" }, "Unit": { "UnitId": "84dc04eb-f4a7-4141-ad46-b86a50da51f5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0666cb49-cb2e-4541-9232-c1d5e43c52b7", "CreateDate": "2025-06-27T00:18:49.3121813-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:18:49.3121813-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3129cbd9-3f1a-4f0f-a148-9b06ba341641", "FieldId": "64ab709d-7694-4f72-8788-685ceb46d071", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3129cbd9-3f1a-4f0f-a148-9b06ba341641", "FieldId": "64ab709d-7694-4f72-8788-685ceb46d071", "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": "0e8fe8af-9890-4e77-96ab-92371b0008db", "Section": { "TaskTypeSectionId": "684be0c5-7b70-41ff-8fa2-fd58c43b2ee6", "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": "36aec43a-45cd-40b7-affe-102b7e503dc9", "Name": "sample string 1" }, "Unit": { "UnitId": "84dc04eb-f4a7-4141-ad46-b86a50da51f5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0666cb49-cb2e-4541-9232-c1d5e43c52b7", "CreateDate": "2025-06-27T00:18:49.3121813-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:18:49.3121813-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3129cbd9-3f1a-4f0f-a148-9b06ba341641", "FieldId": "64ab709d-7694-4f72-8788-685ceb46d071", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3129cbd9-3f1a-4f0f-a148-9b06ba341641", "FieldId": "64ab709d-7694-4f72-8788-685ceb46d071", "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": "c8ae54d3-3388-434a-b16d-a48e2065d6ae", "CreateDate": "2025-06-27T00:18:49.3121813-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:18:49.3121813-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }