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": "ab782b8a-a9cc-4220-8b8a-e3252864715c", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "3ab3ee7c-1613-4154-b2e2-8501bcfd3144", "Section": { "TaskTypeSectionId": "8064277b-3fb9-4ef9-beb0-19e8137459a8", "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": "36170cca-bbeb-407c-9fb3-5f9c7b3cca96", "Name": "sample string 1" }, "Unit": { "UnitId": "5f0993bd-f298-4538-a8c1-75f37d4f3558", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b25a1805-c632-4a92-b257-e7b51fd8e5c9", "CreateDate": "2025-06-30T20:38:33.6886589-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T20:38:33.6886589-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b45f95ed-711d-44c5-a917-c643827b287f", "FieldId": "82f313c2-499c-460f-94ed-861d0b453694", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b45f95ed-711d-44c5-a917-c643827b287f", "FieldId": "82f313c2-499c-460f-94ed-861d0b453694", "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": "3ab3ee7c-1613-4154-b2e2-8501bcfd3144", "Section": { "TaskTypeSectionId": "8064277b-3fb9-4ef9-beb0-19e8137459a8", "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": "36170cca-bbeb-407c-9fb3-5f9c7b3cca96", "Name": "sample string 1" }, "Unit": { "UnitId": "5f0993bd-f298-4538-a8c1-75f37d4f3558", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b25a1805-c632-4a92-b257-e7b51fd8e5c9", "CreateDate": "2025-06-30T20:38:33.6886589-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T20:38:33.6886589-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b45f95ed-711d-44c5-a917-c643827b287f", "FieldId": "82f313c2-499c-460f-94ed-861d0b453694", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b45f95ed-711d-44c5-a917-c643827b287f", "FieldId": "82f313c2-499c-460f-94ed-861d0b453694", "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": "de7d38a8-0019-4d66-8723-50bf3b3b5011", "CreateDate": "2025-06-30T20:38:33.6886589-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T20:38:33.6886589-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "455fdfa2-ee3b-49e7-a97d-dd1d024bc363", "CompanyId": "a56c2fb5-1043-43b9-b171-d203c32bde81", "TaskStatusTypeId": "39e11636-eb36-43f6-9e63-3ec9132a3bac", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "d84671ff-58f1-4e12-8c5f-928772cfacd9", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "455fdfa2-ee3b-49e7-a97d-dd1d024bc363", "CompanyId": "a56c2fb5-1043-43b9-b171-d203c32bde81", "TaskStatusTypeId": "39e11636-eb36-43f6-9e63-3ec9132a3bac", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "d84671ff-58f1-4e12-8c5f-928772cfacd9", "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": "0eba2555-b0d8-471c-b6d5-63858dbc4093", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c2ff834f-8ff2-470f-a21a-a361b9168443", "Section": { "TaskTypeSectionId": "ae564326-8e0e-44d7-9e62-cc8e8aa188c2", "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": "3b0c3f33-3cd3-4287-97c0-5893b0accd17", "Name": "sample string 1" }, "Unit": { "UnitId": "852600e9-58db-41e1-9581-5052b19acc57", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8d448c13-8953-4ac1-ae6c-c1425f21bf16", "CreateDate": "2025-06-30T20:38:33.6886589-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T20:38:33.6886589-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "44a8d6d4-bcc8-4ca1-8dc6-5987c40aa1fc", "FieldId": "3c2c1f27-2205-44f7-becf-8d11611f8fde", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "44a8d6d4-bcc8-4ca1-8dc6-5987c40aa1fc", "FieldId": "3c2c1f27-2205-44f7-becf-8d11611f8fde", "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": "c2ff834f-8ff2-470f-a21a-a361b9168443", "Section": { "TaskTypeSectionId": "ae564326-8e0e-44d7-9e62-cc8e8aa188c2", "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": "3b0c3f33-3cd3-4287-97c0-5893b0accd17", "Name": "sample string 1" }, "Unit": { "UnitId": "852600e9-58db-41e1-9581-5052b19acc57", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8d448c13-8953-4ac1-ae6c-c1425f21bf16", "CreateDate": "2025-06-30T20:38:33.6886589-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T20:38:33.6886589-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "44a8d6d4-bcc8-4ca1-8dc6-5987c40aa1fc", "FieldId": "3c2c1f27-2205-44f7-becf-8d11611f8fde", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "44a8d6d4-bcc8-4ca1-8dc6-5987c40aa1fc", "FieldId": "3c2c1f27-2205-44f7-becf-8d11611f8fde", "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": "965bdc85-ca79-4212-8ffe-993fa8be3adc", "CreateDate": "2025-06-30T20:38:33.6886589-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T20:38:33.6886589-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }