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": "7a250e67-f900-4c80-aeab-df0e1cab78cf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "801ccc55-3d5f-4cdd-8078-4fc22a48d926",
"Section": {
"TaskTypeSectionId": "27a18833-37d5-4a38-8459-2a1319c3ab39",
"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": "ab214012-25e7-4a20-b637-a22ae0f299a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "20098535-362b-421e-b518-4d25060e9b82",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26979311-4967-4226-9725-ce091e175f0b",
"CreateDate": "2026-03-24T07:55:45.5587854-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:55:45.5587854-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e80ab20b-adb9-4959-b98f-59cd18a5d012",
"FieldId": "316c8fde-25ed-4cbb-8de2-6cd81e8e42b3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e80ab20b-adb9-4959-b98f-59cd18a5d012",
"FieldId": "316c8fde-25ed-4cbb-8de2-6cd81e8e42b3",
"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": "801ccc55-3d5f-4cdd-8078-4fc22a48d926",
"Section": {
"TaskTypeSectionId": "27a18833-37d5-4a38-8459-2a1319c3ab39",
"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": "ab214012-25e7-4a20-b637-a22ae0f299a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "20098535-362b-421e-b518-4d25060e9b82",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26979311-4967-4226-9725-ce091e175f0b",
"CreateDate": "2026-03-24T07:55:45.5587854-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:55:45.5587854-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e80ab20b-adb9-4959-b98f-59cd18a5d012",
"FieldId": "316c8fde-25ed-4cbb-8de2-6cd81e8e42b3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e80ab20b-adb9-4959-b98f-59cd18a5d012",
"FieldId": "316c8fde-25ed-4cbb-8de2-6cd81e8e42b3",
"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": "48c4365d-26f8-4d3d-b665-fb85b9c19923",
"CreateDate": "2026-03-24T07:55:45.5587854-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:55:45.5587854-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "8e16f0ec-0253-46e1-a699-8cbba804427f",
"CompanyId": "e8fb6604-1ee6-4109-8a4b-43a0203e8c2b",
"TaskStatusTypeId": "3f79e02d-b8c2-44e6-9523-64098539b7ee",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "8489a339-0507-4d9e-8827-36194265527e",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "8e16f0ec-0253-46e1-a699-8cbba804427f",
"CompanyId": "e8fb6604-1ee6-4109-8a4b-43a0203e8c2b",
"TaskStatusTypeId": "3f79e02d-b8c2-44e6-9523-64098539b7ee",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "8489a339-0507-4d9e-8827-36194265527e",
"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": "8661af95-2cd6-46d1-b3c6-41c7bfb38b70",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "bc9c8dc7-a61d-4f61-b077-8528efcf3b02",
"Section": {
"TaskTypeSectionId": "44b2735d-7880-472d-971d-bdc00148e069",
"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": "08732198-c148-4832-b5a1-5afc6091a2dc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8c6a5621-1807-47ad-88f4-3b156087a06a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2265f8b-785b-4d4d-9388-b0cfe0d249a2",
"CreateDate": "2026-03-24T07:55:45.5587854-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:55:45.5587854-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c8b60722-5c7f-4c48-838d-4f9733a5f7be",
"FieldId": "aac0e6bc-fae0-4a8f-895f-31366bae4235",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c8b60722-5c7f-4c48-838d-4f9733a5f7be",
"FieldId": "aac0e6bc-fae0-4a8f-895f-31366bae4235",
"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": "bc9c8dc7-a61d-4f61-b077-8528efcf3b02",
"Section": {
"TaskTypeSectionId": "44b2735d-7880-472d-971d-bdc00148e069",
"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": "08732198-c148-4832-b5a1-5afc6091a2dc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8c6a5621-1807-47ad-88f4-3b156087a06a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2265f8b-785b-4d4d-9388-b0cfe0d249a2",
"CreateDate": "2026-03-24T07:55:45.5587854-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:55:45.5587854-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c8b60722-5c7f-4c48-838d-4f9733a5f7be",
"FieldId": "aac0e6bc-fae0-4a8f-895f-31366bae4235",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c8b60722-5c7f-4c48-838d-4f9733a5f7be",
"FieldId": "aac0e6bc-fae0-4a8f-895f-31366bae4235",
"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": "0b9f1d35-e83e-4f49-9b4f-de0277dcf0dd",
"CreateDate": "2026-03-24T07:55:45.5587854-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:55:45.5587854-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}