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": "56736b8d-8dcd-4187-b197-a591f24f96a2", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "cc811064-7929-467f-a9ef-b31e483bdf26", "Section": { "TaskTypeSectionId": "cafb764a-8690-4682-9705-c5ba94f49f74", "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": "ddac34af-95a9-4012-8da9-796eee5b19e8", "Name": "sample string 1" }, "Unit": { "UnitId": "ed5d318f-3452-4e22-84c9-00731d2f9246", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "94d3b28d-5297-4fc8-9cb8-ca9dfbb64988", "CreateDate": "2025-04-17T03:47:58.8246157-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:47:58.8246157-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b1236603-d3b7-415b-9b2a-0b88407bca39", "FieldId": "eb13e366-2d39-4bbc-a637-ff7456a8aa2b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b1236603-d3b7-415b-9b2a-0b88407bca39", "FieldId": "eb13e366-2d39-4bbc-a637-ff7456a8aa2b", "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": "cc811064-7929-467f-a9ef-b31e483bdf26", "Section": { "TaskTypeSectionId": "cafb764a-8690-4682-9705-c5ba94f49f74", "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": "ddac34af-95a9-4012-8da9-796eee5b19e8", "Name": "sample string 1" }, "Unit": { "UnitId": "ed5d318f-3452-4e22-84c9-00731d2f9246", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "94d3b28d-5297-4fc8-9cb8-ca9dfbb64988", "CreateDate": "2025-04-17T03:47:58.8246157-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:47:58.8246157-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b1236603-d3b7-415b-9b2a-0b88407bca39", "FieldId": "eb13e366-2d39-4bbc-a637-ff7456a8aa2b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b1236603-d3b7-415b-9b2a-0b88407bca39", "FieldId": "eb13e366-2d39-4bbc-a637-ff7456a8aa2b", "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": "c3a35071-6c4b-4efb-9890-227cc67173f1", "CreateDate": "2025-04-17T03:47:58.8246157-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T03:47:58.8246157-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "b32d7fde-b8ab-4d2a-bcca-d277e0e7f5a4", "CompanyId": "79bc09e4-2314-4c06-84d2-474976913f0d", "TaskStatusTypeId": "ecd260aa-6c26-4c59-bdf8-fe6d409ace2f", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "9ae2f9d3-edad-4a11-a0e8-9dc66d250289", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "b32d7fde-b8ab-4d2a-bcca-d277e0e7f5a4", "CompanyId": "79bc09e4-2314-4c06-84d2-474976913f0d", "TaskStatusTypeId": "ecd260aa-6c26-4c59-bdf8-fe6d409ace2f", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "9ae2f9d3-edad-4a11-a0e8-9dc66d250289", "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": "6823e898-8e4c-4715-858e-a00d651f79a2", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "aabc23ed-d957-435f-9850-8020fe113182", "Section": { "TaskTypeSectionId": "2be63451-2dbe-4b41-a9ab-13b5c04e9c8d", "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": "09de9b3a-c876-4228-988a-a47cdf1bbcc0", "Name": "sample string 1" }, "Unit": { "UnitId": "6a6ea53e-749a-41e6-b8d3-1470174a5e1f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "920bef33-adcf-44b1-b90d-4c9756d06eeb", "CreateDate": "2025-04-17T03:47:58.8246157-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:47:58.8246157-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1e3524ea-7ad7-4a62-9b7d-721a45a99795", "FieldId": "10ba5dec-7cf1-4138-b5d0-de1ac9c05567", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1e3524ea-7ad7-4a62-9b7d-721a45a99795", "FieldId": "10ba5dec-7cf1-4138-b5d0-de1ac9c05567", "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": "aabc23ed-d957-435f-9850-8020fe113182", "Section": { "TaskTypeSectionId": "2be63451-2dbe-4b41-a9ab-13b5c04e9c8d", "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": "09de9b3a-c876-4228-988a-a47cdf1bbcc0", "Name": "sample string 1" }, "Unit": { "UnitId": "6a6ea53e-749a-41e6-b8d3-1470174a5e1f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "920bef33-adcf-44b1-b90d-4c9756d06eeb", "CreateDate": "2025-04-17T03:47:58.8246157-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:47:58.8246157-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1e3524ea-7ad7-4a62-9b7d-721a45a99795", "FieldId": "10ba5dec-7cf1-4138-b5d0-de1ac9c05567", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1e3524ea-7ad7-4a62-9b7d-721a45a99795", "FieldId": "10ba5dec-7cf1-4138-b5d0-de1ac9c05567", "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": "88331240-e0c7-4873-8998-ff8b129f2ef4", "CreateDate": "2025-04-17T03:47:58.8246157-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T03:47:58.8246157-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }