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": "26b3dfd6-ace4-49f6-8702-18d79701dc53", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "77096f9f-d5be-4a16-ab40-2d5fe412ab17", "Section": { "TaskTypeSectionId": "6c94ea6a-74d7-46fb-84ec-fae4f4df2cd9", "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": "7ce5019e-7972-4026-ace5-ddb01283828f", "Name": "sample string 1" }, "Unit": { "UnitId": "2c1c57bd-813a-4615-b8ef-cbe5aa815a93", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "371be17f-c701-41e0-94f2-ce6dc2cce027", "CreateDate": "2025-09-13T21:11:42.4775795-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:11:42.4775795-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b96c2383-cf3b-4ab6-bb06-0ec1da970d8c", "FieldId": "8e83c5f8-73d1-4079-9319-c4a119d59059", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b96c2383-cf3b-4ab6-bb06-0ec1da970d8c", "FieldId": "8e83c5f8-73d1-4079-9319-c4a119d59059", "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": "77096f9f-d5be-4a16-ab40-2d5fe412ab17", "Section": { "TaskTypeSectionId": "6c94ea6a-74d7-46fb-84ec-fae4f4df2cd9", "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": "7ce5019e-7972-4026-ace5-ddb01283828f", "Name": "sample string 1" }, "Unit": { "UnitId": "2c1c57bd-813a-4615-b8ef-cbe5aa815a93", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "371be17f-c701-41e0-94f2-ce6dc2cce027", "CreateDate": "2025-09-13T21:11:42.4775795-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:11:42.4775795-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b96c2383-cf3b-4ab6-bb06-0ec1da970d8c", "FieldId": "8e83c5f8-73d1-4079-9319-c4a119d59059", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b96c2383-cf3b-4ab6-bb06-0ec1da970d8c", "FieldId": "8e83c5f8-73d1-4079-9319-c4a119d59059", "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": "f5156a2d-3d8d-41fd-9a19-b27b11f55bae", "CreateDate": "2025-09-13T21:11:42.4775795-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:11:42.4775795-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "5224f7d9-b390-4a6a-9c01-36c09f1cf871", "CompanyId": "6db580cd-c8b7-46ab-934f-a19a02953f7a", "TaskStatusTypeId": "77f50a7f-b92f-47be-a178-b911dc75fd87", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "7070dfde-48ab-40e0-a8e2-d18f92ccfc10", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "5224f7d9-b390-4a6a-9c01-36c09f1cf871", "CompanyId": "6db580cd-c8b7-46ab-934f-a19a02953f7a", "TaskStatusTypeId": "77f50a7f-b92f-47be-a178-b911dc75fd87", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "7070dfde-48ab-40e0-a8e2-d18f92ccfc10", "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": "3edba93c-43cb-46d9-9220-1879fce45d57", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "eeeae3a6-5d36-4bee-ace9-7339741bbcb2", "Section": { "TaskTypeSectionId": "4f26b2d6-fb78-4581-b4bb-968ced0161dc", "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": "34a1e480-e00d-4553-b716-1eb7b16dc0be", "Name": "sample string 1" }, "Unit": { "UnitId": "6cc8433f-e590-442d-99b9-d20133ce85fb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fb84c562-bc5b-47e2-820c-161185ccf231", "CreateDate": "2025-09-13T21:11:42.4775795-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:11:42.4775795-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "062bb053-97a4-485d-b0dd-ecb7e2171101", "FieldId": "3ca804cb-2b17-413b-b932-3b51c3628e17", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "062bb053-97a4-485d-b0dd-ecb7e2171101", "FieldId": "3ca804cb-2b17-413b-b932-3b51c3628e17", "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": "eeeae3a6-5d36-4bee-ace9-7339741bbcb2", "Section": { "TaskTypeSectionId": "4f26b2d6-fb78-4581-b4bb-968ced0161dc", "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": "34a1e480-e00d-4553-b716-1eb7b16dc0be", "Name": "sample string 1" }, "Unit": { "UnitId": "6cc8433f-e590-442d-99b9-d20133ce85fb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fb84c562-bc5b-47e2-820c-161185ccf231", "CreateDate": "2025-09-13T21:11:42.4775795-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:11:42.4775795-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "062bb053-97a4-485d-b0dd-ecb7e2171101", "FieldId": "3ca804cb-2b17-413b-b932-3b51c3628e17", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "062bb053-97a4-485d-b0dd-ecb7e2171101", "FieldId": "3ca804cb-2b17-413b-b932-3b51c3628e17", "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": "94a9520b-1fe9-4447-bd89-5f74bbabc5e2", "CreateDate": "2025-09-13T21:11:42.4775795-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:11:42.4775795-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }