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": "088eb16f-489c-42fa-be9c-b3e7a18b968a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "cc3283c2-2cec-45f2-9839-4568724868a6", "Section": { "TaskTypeSectionId": "560b8fb1-679a-4e19-90bb-42589e44d734", "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": "daf8a9ac-7087-47c7-9221-876b45bb2c8d", "Name": "sample string 1" }, "Unit": { "UnitId": "3c117784-f656-47de-b9ef-ee002bdf17c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "033ff0d6-0a92-4a04-b841-3cec9c909b86", "CreateDate": "2025-09-17T08:46:02.5588695-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T08:46:02.5588695-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a38abad3-b4af-4ade-9149-36114906daf4", "FieldId": "08e33b7b-2f3b-4f4d-952b-b9020a70265b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a38abad3-b4af-4ade-9149-36114906daf4", "FieldId": "08e33b7b-2f3b-4f4d-952b-b9020a70265b", "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": "cc3283c2-2cec-45f2-9839-4568724868a6", "Section": { "TaskTypeSectionId": "560b8fb1-679a-4e19-90bb-42589e44d734", "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": "daf8a9ac-7087-47c7-9221-876b45bb2c8d", "Name": "sample string 1" }, "Unit": { "UnitId": "3c117784-f656-47de-b9ef-ee002bdf17c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "033ff0d6-0a92-4a04-b841-3cec9c909b86", "CreateDate": "2025-09-17T08:46:02.5588695-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T08:46:02.5588695-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a38abad3-b4af-4ade-9149-36114906daf4", "FieldId": "08e33b7b-2f3b-4f4d-952b-b9020a70265b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a38abad3-b4af-4ade-9149-36114906daf4", "FieldId": "08e33b7b-2f3b-4f4d-952b-b9020a70265b", "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": "fce21853-fd54-451a-87c4-1f8c868f3642", "CreateDate": "2025-09-17T08:46:02.5588695-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-17T08:46:02.5588695-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "d8199ae5-85a4-4fd4-a546-4a8b1a41443a", "CompanyId": "b7502d3c-58a1-41b1-83b8-116c66b53c67", "TaskStatusTypeId": "a9dc630f-cc46-409b-9615-668bd751fd9e", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "1c1d28d7-8278-41d9-8dc0-6e0e44d00978", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "d8199ae5-85a4-4fd4-a546-4a8b1a41443a", "CompanyId": "b7502d3c-58a1-41b1-83b8-116c66b53c67", "TaskStatusTypeId": "a9dc630f-cc46-409b-9615-668bd751fd9e", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "1c1d28d7-8278-41d9-8dc0-6e0e44d00978", "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": "cad9bbd0-02c4-4132-8b09-82ef84618fef", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "ce917b9a-4b9e-4914-a661-1ff1298494b8", "Section": { "TaskTypeSectionId": "82fbb24c-819b-40f8-94a3-222eb0bd01ef", "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": "1c2649ec-d1a9-4b88-9f43-83b5c7a1c4ec", "Name": "sample string 1" }, "Unit": { "UnitId": "f24283c8-5b84-4317-9b2c-3a66e23c104b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "906e6e73-2468-4512-9314-45aeec9185a1", "CreateDate": "2025-09-17T08:46:02.5588695-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T08:46:02.5588695-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "793210aa-0e78-46b3-a313-b3e7f71faec1", "FieldId": "de225a15-e6f3-4e7c-b724-903ec66e4073", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "793210aa-0e78-46b3-a313-b3e7f71faec1", "FieldId": "de225a15-e6f3-4e7c-b724-903ec66e4073", "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": "ce917b9a-4b9e-4914-a661-1ff1298494b8", "Section": { "TaskTypeSectionId": "82fbb24c-819b-40f8-94a3-222eb0bd01ef", "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": "1c2649ec-d1a9-4b88-9f43-83b5c7a1c4ec", "Name": "sample string 1" }, "Unit": { "UnitId": "f24283c8-5b84-4317-9b2c-3a66e23c104b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "906e6e73-2468-4512-9314-45aeec9185a1", "CreateDate": "2025-09-17T08:46:02.5588695-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T08:46:02.5588695-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "793210aa-0e78-46b3-a313-b3e7f71faec1", "FieldId": "de225a15-e6f3-4e7c-b724-903ec66e4073", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "793210aa-0e78-46b3-a313-b3e7f71faec1", "FieldId": "de225a15-e6f3-4e7c-b724-903ec66e4073", "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": "eee55637-dac7-447b-b3a8-1928dc4e8099", "CreateDate": "2025-09-17T08:46:02.5588695-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-17T08:46:02.5588695-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }