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": "a7a3250a-1a15-4eb8-9810-1c80cfbbe707", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "2b796a7d-d888-4e47-b62c-d48f340cfada", "Section": { "TaskTypeSectionId": "aa2ddd85-d380-4519-bc56-72c06213cb47", "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": "101846e0-3f73-4388-a07c-c13ff8a51bc1", "Name": "sample string 1" }, "Unit": { "UnitId": "81d1c03a-776a-4b11-925d-4f01c3ed8090", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "55064b6b-6d3a-4d2b-97c6-8138e88e1790", "CreateDate": "2025-08-24T09:59:16.4249502-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:16.4249502-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "130a0f75-2196-42dd-a7f5-49d865d19a9c", "FieldId": "e843d97f-c864-4d06-b70c-b13a5e1044df", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "130a0f75-2196-42dd-a7f5-49d865d19a9c", "FieldId": "e843d97f-c864-4d06-b70c-b13a5e1044df", "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": "2b796a7d-d888-4e47-b62c-d48f340cfada", "Section": { "TaskTypeSectionId": "aa2ddd85-d380-4519-bc56-72c06213cb47", "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": "101846e0-3f73-4388-a07c-c13ff8a51bc1", "Name": "sample string 1" }, "Unit": { "UnitId": "81d1c03a-776a-4b11-925d-4f01c3ed8090", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "55064b6b-6d3a-4d2b-97c6-8138e88e1790", "CreateDate": "2025-08-24T09:59:16.4249502-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:16.4249502-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "130a0f75-2196-42dd-a7f5-49d865d19a9c", "FieldId": "e843d97f-c864-4d06-b70c-b13a5e1044df", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "130a0f75-2196-42dd-a7f5-49d865d19a9c", "FieldId": "e843d97f-c864-4d06-b70c-b13a5e1044df", "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": "2e9ed0f5-4fcf-411a-b058-02e2ebbce017", "CreateDate": "2025-08-24T09:59:16.4249502-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T09:59:16.4249502-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "dd11c9e3-2044-4192-a6f8-f801049a0fb3", "CompanyId": "16c6c0f9-fe9b-4e47-87a8-e044c833bb00", "TaskStatusTypeId": "e13e8eaf-1f2a-4da5-9e94-b09b08ece867", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "df099dd9-8876-446e-9a24-d0cb55643d57", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "dd11c9e3-2044-4192-a6f8-f801049a0fb3", "CompanyId": "16c6c0f9-fe9b-4e47-87a8-e044c833bb00", "TaskStatusTypeId": "e13e8eaf-1f2a-4da5-9e94-b09b08ece867", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "df099dd9-8876-446e-9a24-d0cb55643d57", "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": "741383b3-1589-42ac-9efe-a3395dded3f6", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "93f82c73-e9f2-4adb-84f0-661900b0a191", "Section": { "TaskTypeSectionId": "2e48b4d3-f06f-42c8-b325-bf84fa30f5ea", "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": "2849fb48-9c77-470e-a05b-005753eb9f3b", "Name": "sample string 1" }, "Unit": { "UnitId": "75b1fc87-24b4-481e-8194-4861714bbac9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "64f9f871-1be3-4536-8a66-a6bfd920f48b", "CreateDate": "2025-08-24T09:59:16.4561987-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:16.4561987-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "99679e2d-a17e-49f6-a0ed-b1b5aab4e004", "FieldId": "dc504a29-9b58-458e-adba-d6abb8f24f6b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "99679e2d-a17e-49f6-a0ed-b1b5aab4e004", "FieldId": "dc504a29-9b58-458e-adba-d6abb8f24f6b", "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": "93f82c73-e9f2-4adb-84f0-661900b0a191", "Section": { "TaskTypeSectionId": "2e48b4d3-f06f-42c8-b325-bf84fa30f5ea", "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": "2849fb48-9c77-470e-a05b-005753eb9f3b", "Name": "sample string 1" }, "Unit": { "UnitId": "75b1fc87-24b4-481e-8194-4861714bbac9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "64f9f871-1be3-4536-8a66-a6bfd920f48b", "CreateDate": "2025-08-24T09:59:16.4561987-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:16.4561987-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "99679e2d-a17e-49f6-a0ed-b1b5aab4e004", "FieldId": "dc504a29-9b58-458e-adba-d6abb8f24f6b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "99679e2d-a17e-49f6-a0ed-b1b5aab4e004", "FieldId": "dc504a29-9b58-458e-adba-d6abb8f24f6b", "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": "7e729193-534e-469a-b32a-5d1a79926949", "CreateDate": "2025-08-24T09:59:16.4561987-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T09:59:16.4561987-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }