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.
TaskTypeParams| Name | Description | Type | Additional information |
|---|---|---|---|
| Task | TaskType |
None. |
|
| Associations | Collection of TaskStatusTypeTaskType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Task": {
"TaskTypeId": "bee97904-9839-4e9a-af62-a14837f2c9ab",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "3800d6aa-cd72-486e-b3e1-3fdbccdf58dc",
"Section": {
"TaskTypeSectionId": "5cec6aec-c99b-4736-b262-bdafd97a8341",
"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": "8ac9d3ca-6a43-49e5-8e36-a3dcfe2e11af",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77f03498-96e3-4e3c-b3ce-325d9100230d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5e37e8e7-304a-4003-a923-5a30c22ae111",
"CreateDate": "2026-01-02T03:03:23.8186242-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T03:03:23.8186242-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3344b23e-79eb-47fc-b3a8-d76695701682",
"FieldId": "40a90e8b-5e2b-49dc-a588-5fa1a2efa7d3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3344b23e-79eb-47fc-b3a8-d76695701682",
"FieldId": "40a90e8b-5e2b-49dc-a588-5fa1a2efa7d3",
"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": "3800d6aa-cd72-486e-b3e1-3fdbccdf58dc",
"Section": {
"TaskTypeSectionId": "5cec6aec-c99b-4736-b262-bdafd97a8341",
"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": "8ac9d3ca-6a43-49e5-8e36-a3dcfe2e11af",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77f03498-96e3-4e3c-b3ce-325d9100230d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5e37e8e7-304a-4003-a923-5a30c22ae111",
"CreateDate": "2026-01-02T03:03:23.8186242-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T03:03:23.8186242-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3344b23e-79eb-47fc-b3a8-d76695701682",
"FieldId": "40a90e8b-5e2b-49dc-a588-5fa1a2efa7d3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3344b23e-79eb-47fc-b3a8-d76695701682",
"FieldId": "40a90e8b-5e2b-49dc-a588-5fa1a2efa7d3",
"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": "1df710ea-eab0-415c-add4-88db22c5c5c4",
"CreateDate": "2026-01-02T03:03:23.8186242-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T03:03:23.8186242-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "f00d4cfc-4cca-4c21-9324-99c0756ca758",
"CompanyId": "b3a7d2d6-91bb-47e4-919a-5f5147e51129",
"TaskStatusTypeId": "6f3b7b48-0c0c-4eba-93eb-a980487af88a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "b2b8422c-d1b4-4d37-a487-6d5af5c1156c",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "f00d4cfc-4cca-4c21-9324-99c0756ca758",
"CompanyId": "b3a7d2d6-91bb-47e4-919a-5f5147e51129",
"TaskStatusTypeId": "6f3b7b48-0c0c-4eba-93eb-a980487af88a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "b2b8422c-d1b4-4d37-a487-6d5af5c1156c",
"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": "e7484ab1-406c-4fa7-b978-c9616a12f109",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "83ae5a33-8b51-475a-8db9-d6f00ca643aa",
"Section": {
"TaskTypeSectionId": "277eabbe-d6fa-4640-a95a-9030e72d0514",
"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": "f5817895-1f25-4b99-9a37-60b41f2d49fb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6999fd10-9fc5-428d-b60a-fbc6c3a8691e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4d6572d4-18de-407f-a2f6-e73cfeb17cfe",
"CreateDate": "2026-01-02T03:03:23.8186242-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T03:03:23.8186242-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5aff18a5-90e8-42cd-9016-500b8367413d",
"FieldId": "554894dd-bcc8-4dc2-a347-f41680602552",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5aff18a5-90e8-42cd-9016-500b8367413d",
"FieldId": "554894dd-bcc8-4dc2-a347-f41680602552",
"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": "83ae5a33-8b51-475a-8db9-d6f00ca643aa",
"Section": {
"TaskTypeSectionId": "277eabbe-d6fa-4640-a95a-9030e72d0514",
"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": "f5817895-1f25-4b99-9a37-60b41f2d49fb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6999fd10-9fc5-428d-b60a-fbc6c3a8691e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4d6572d4-18de-407f-a2f6-e73cfeb17cfe",
"CreateDate": "2026-01-02T03:03:23.8186242-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T03:03:23.8186242-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5aff18a5-90e8-42cd-9016-500b8367413d",
"FieldId": "554894dd-bcc8-4dc2-a347-f41680602552",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5aff18a5-90e8-42cd-9016-500b8367413d",
"FieldId": "554894dd-bcc8-4dc2-a347-f41680602552",
"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": "1df50af4-35e0-4ad4-9fc5-043075142f34",
"CreateDate": "2026-01-02T03:03:23.8186242-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T03:03:23.8186242-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}