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": "67e11f40-b8c4-4f84-9bbb-4311dfc3244a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "f23ab84a-cfaf-45e8-b89f-b5a519451af7", "Section": { "TaskTypeSectionId": "e5228fff-6f22-488b-890b-6438f9a325dc", "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": "894f5c52-4193-457a-abe9-d73522756a2d", "Name": "sample string 1" }, "Unit": { "UnitId": "be5db205-07dc-41d6-abc1-848ac2e1157b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "76fb98e4-57af-49cf-8f90-2c4b4b7d3fc3", "CreateDate": "2025-08-23T22:42:31.9062899-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:42:31.9062899-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ed54647a-c14d-408a-9e59-343eaa8b2b63", "FieldId": "1e51b651-8d29-4779-9fb2-4080f916ccac", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ed54647a-c14d-408a-9e59-343eaa8b2b63", "FieldId": "1e51b651-8d29-4779-9fb2-4080f916ccac", "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": "f23ab84a-cfaf-45e8-b89f-b5a519451af7", "Section": { "TaskTypeSectionId": "e5228fff-6f22-488b-890b-6438f9a325dc", "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": "894f5c52-4193-457a-abe9-d73522756a2d", "Name": "sample string 1" }, "Unit": { "UnitId": "be5db205-07dc-41d6-abc1-848ac2e1157b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "76fb98e4-57af-49cf-8f90-2c4b4b7d3fc3", "CreateDate": "2025-08-23T22:42:31.9062899-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:42:31.9062899-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ed54647a-c14d-408a-9e59-343eaa8b2b63", "FieldId": "1e51b651-8d29-4779-9fb2-4080f916ccac", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ed54647a-c14d-408a-9e59-343eaa8b2b63", "FieldId": "1e51b651-8d29-4779-9fb2-4080f916ccac", "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": "1be1eac7-5c61-437a-a7ee-4457d599f84c", "CreateDate": "2025-08-23T22:42:31.9062899-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:42:31.9062899-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "afa74da6-1a40-4c46-9e4e-53612f2054d5", "CompanyId": "42f10cc4-3e3a-474f-af54-74d948e3aeab", "TaskStatusTypeId": "17c23328-1440-4db6-8965-cd9e6d6803c0", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "eaa9109d-c423-4d41-87c5-87cd1cc782d9", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "afa74da6-1a40-4c46-9e4e-53612f2054d5", "CompanyId": "42f10cc4-3e3a-474f-af54-74d948e3aeab", "TaskStatusTypeId": "17c23328-1440-4db6-8965-cd9e6d6803c0", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "eaa9109d-c423-4d41-87c5-87cd1cc782d9", "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": "a0be36bc-deb4-4c57-848a-8f11c12f97d7", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c5338f51-7bc0-4d01-91be-f519ae3334d9", "Section": { "TaskTypeSectionId": "c911903b-78a6-41e1-8700-7d569d7aedeb", "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": "e7bc27d2-f638-48dc-84da-767f9929ea9c", "Name": "sample string 1" }, "Unit": { "UnitId": "68fe9af2-479a-4b27-b1bb-a00b1da44ee1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "311e5082-bd99-45b9-bbb8-15a12cfec7f9", "CreateDate": "2025-08-23T22:42:31.9062899-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:42:31.9062899-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "58b79c11-89e4-4922-b51e-cfffdfa54482", "FieldId": "bc884464-33f9-45c3-91e3-ee0efa2f5e5d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "58b79c11-89e4-4922-b51e-cfffdfa54482", "FieldId": "bc884464-33f9-45c3-91e3-ee0efa2f5e5d", "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": "c5338f51-7bc0-4d01-91be-f519ae3334d9", "Section": { "TaskTypeSectionId": "c911903b-78a6-41e1-8700-7d569d7aedeb", "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": "e7bc27d2-f638-48dc-84da-767f9929ea9c", "Name": "sample string 1" }, "Unit": { "UnitId": "68fe9af2-479a-4b27-b1bb-a00b1da44ee1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "311e5082-bd99-45b9-bbb8-15a12cfec7f9", "CreateDate": "2025-08-23T22:42:31.9062899-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:42:31.9062899-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "58b79c11-89e4-4922-b51e-cfffdfa54482", "FieldId": "bc884464-33f9-45c3-91e3-ee0efa2f5e5d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "58b79c11-89e4-4922-b51e-cfffdfa54482", "FieldId": "bc884464-33f9-45c3-91e3-ee0efa2f5e5d", "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": "1bbf6015-ffa0-40f5-b4d1-76d604773859", "CreateDate": "2025-08-23T22:42:31.9062899-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:42:31.9062899-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }