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": "90f4b48b-6151-49cd-a6c7-79e07134d538", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "195b2c31-0c19-48f9-b46c-a635d1166a75", "Section": { "TaskTypeSectionId": "f6bae4fb-4eb2-4ac4-9113-3e58f39df6ce", "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": "b80559fa-dc3f-4399-97f2-a187d1002922", "Name": "sample string 1" }, "Unit": { "UnitId": "a91d4fb8-54bb-48ba-85d5-04040247b81c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b2c896f3-625d-4d3d-87aa-b7c22c4cc67a", "CreateDate": "2025-07-18T15:47:24.6044601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T15:47:24.6044601-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ebe255fd-deb9-4a9a-950a-2d3f2558d091", "FieldId": "74318539-0365-4fc5-a764-5f018b10ae6b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ebe255fd-deb9-4a9a-950a-2d3f2558d091", "FieldId": "74318539-0365-4fc5-a764-5f018b10ae6b", "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": "195b2c31-0c19-48f9-b46c-a635d1166a75", "Section": { "TaskTypeSectionId": "f6bae4fb-4eb2-4ac4-9113-3e58f39df6ce", "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": "b80559fa-dc3f-4399-97f2-a187d1002922", "Name": "sample string 1" }, "Unit": { "UnitId": "a91d4fb8-54bb-48ba-85d5-04040247b81c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b2c896f3-625d-4d3d-87aa-b7c22c4cc67a", "CreateDate": "2025-07-18T15:47:24.6044601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T15:47:24.6044601-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ebe255fd-deb9-4a9a-950a-2d3f2558d091", "FieldId": "74318539-0365-4fc5-a764-5f018b10ae6b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ebe255fd-deb9-4a9a-950a-2d3f2558d091", "FieldId": "74318539-0365-4fc5-a764-5f018b10ae6b", "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": "63e34be4-7749-4b5a-8f62-c935300cc688", "CreateDate": "2025-07-18T15:47:24.6044601-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T15:47:24.6044601-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "b71bfc43-2987-4857-b113-6cfbe33ab383", "CompanyId": "36761e0c-32d9-4ebc-93ad-fd4e8339aaa5", "TaskStatusTypeId": "ddb4d309-b6a2-44ef-91fd-6a2189de26cc", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "af0d04e2-1185-44b9-8955-a5dcad168154", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "b71bfc43-2987-4857-b113-6cfbe33ab383", "CompanyId": "36761e0c-32d9-4ebc-93ad-fd4e8339aaa5", "TaskStatusTypeId": "ddb4d309-b6a2-44ef-91fd-6a2189de26cc", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "af0d04e2-1185-44b9-8955-a5dcad168154", "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": "6347b87f-27c2-4ffa-97cc-6da474688d31", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "d0d4faea-78ab-4508-abcc-d58f9ca93772", "Section": { "TaskTypeSectionId": "94de484d-19e6-4f32-b9ec-64fb24cf5906", "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": "50102d47-3a19-4808-80ec-2b11871d4f44", "Name": "sample string 1" }, "Unit": { "UnitId": "3b2a710e-0bd5-415b-a607-6e4d59a1a1f2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d06ef58f-b480-4691-b2f0-03dcbc635db3", "CreateDate": "2025-07-18T15:47:24.6044601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T15:47:24.6044601-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6aebd5b4-7689-4825-a531-117d3856b4a4", "FieldId": "c280fa96-9fcc-4fed-a87b-d1697d24c87c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6aebd5b4-7689-4825-a531-117d3856b4a4", "FieldId": "c280fa96-9fcc-4fed-a87b-d1697d24c87c", "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": "d0d4faea-78ab-4508-abcc-d58f9ca93772", "Section": { "TaskTypeSectionId": "94de484d-19e6-4f32-b9ec-64fb24cf5906", "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": "50102d47-3a19-4808-80ec-2b11871d4f44", "Name": "sample string 1" }, "Unit": { "UnitId": "3b2a710e-0bd5-415b-a607-6e4d59a1a1f2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d06ef58f-b480-4691-b2f0-03dcbc635db3", "CreateDate": "2025-07-18T15:47:24.6044601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T15:47:24.6044601-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6aebd5b4-7689-4825-a531-117d3856b4a4", "FieldId": "c280fa96-9fcc-4fed-a87b-d1697d24c87c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6aebd5b4-7689-4825-a531-117d3856b4a4", "FieldId": "c280fa96-9fcc-4fed-a87b-d1697d24c87c", "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": "51bf00c6-004d-487a-b72d-8064e5a07016", "CreateDate": "2025-07-18T15:47:24.6044601-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T15:47:24.6044601-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }