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": "8564643f-3a0a-4e29-b937-e0742d2a13d9",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d7137a7a-1c31-4276-82e3-8f51f975fb7b",
"Section": {
"TaskTypeSectionId": "e4693490-c1d9-4dbf-b55a-722dbd6f678d",
"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": "0c21a001-43b7-4671-9bda-56cdd3ebbb3a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9d235f76-241e-4526-8ea6-bb9a0334a6ea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "42045907-0354-42a2-bd12-d465c5f81d06",
"CreateDate": "2026-04-30T21:01:25.7237071-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:01:25.7237071-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "44bc5b58-25da-40b6-83e5-656cd171f4b1",
"FieldId": "eb0d5c2f-c05b-4760-82fa-a88807ba8f83",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "44bc5b58-25da-40b6-83e5-656cd171f4b1",
"FieldId": "eb0d5c2f-c05b-4760-82fa-a88807ba8f83",
"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": "d7137a7a-1c31-4276-82e3-8f51f975fb7b",
"Section": {
"TaskTypeSectionId": "e4693490-c1d9-4dbf-b55a-722dbd6f678d",
"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": "0c21a001-43b7-4671-9bda-56cdd3ebbb3a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9d235f76-241e-4526-8ea6-bb9a0334a6ea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "42045907-0354-42a2-bd12-d465c5f81d06",
"CreateDate": "2026-04-30T21:01:25.7237071-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:01:25.7237071-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "44bc5b58-25da-40b6-83e5-656cd171f4b1",
"FieldId": "eb0d5c2f-c05b-4760-82fa-a88807ba8f83",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "44bc5b58-25da-40b6-83e5-656cd171f4b1",
"FieldId": "eb0d5c2f-c05b-4760-82fa-a88807ba8f83",
"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": "55ab5dd2-aca5-430e-8575-b714c45c5fb1",
"CreateDate": "2026-04-30T21:01:25.7237071-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:01:25.7237071-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "87d0e738-2cfc-44b4-b42d-3e572d6f2704",
"CompanyId": "26c4f7a4-070a-42d9-b69a-7564472e4014",
"TaskStatusTypeId": "8ca89858-797d-4d57-878b-f29830f7077f",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d6dfbba2-e9c3-49ff-9fdc-5475dac602c5",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "87d0e738-2cfc-44b4-b42d-3e572d6f2704",
"CompanyId": "26c4f7a4-070a-42d9-b69a-7564472e4014",
"TaskStatusTypeId": "8ca89858-797d-4d57-878b-f29830f7077f",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d6dfbba2-e9c3-49ff-9fdc-5475dac602c5",
"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": "ae53388d-effa-455e-a918-22ca44a59b22",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "05c71195-57e0-40e4-8fe7-509823b8425a",
"Section": {
"TaskTypeSectionId": "faf1592f-c4ac-493b-b4d7-e110259a313c",
"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": "743b3e35-cdc8-4b28-8d06-75037831fc71",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "980e1d04-cb1e-485c-8564-464c6b8574ca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fce075fa-c435-4ab8-b94a-faccdfdfc28f",
"CreateDate": "2026-04-30T21:01:25.7237071-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:01:25.7237071-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a2718482-b195-45fb-a945-18cb1ae15b12",
"FieldId": "311d5e36-bf38-4cf0-8827-80ab15ed60f8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a2718482-b195-45fb-a945-18cb1ae15b12",
"FieldId": "311d5e36-bf38-4cf0-8827-80ab15ed60f8",
"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": "05c71195-57e0-40e4-8fe7-509823b8425a",
"Section": {
"TaskTypeSectionId": "faf1592f-c4ac-493b-b4d7-e110259a313c",
"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": "743b3e35-cdc8-4b28-8d06-75037831fc71",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "980e1d04-cb1e-485c-8564-464c6b8574ca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fce075fa-c435-4ab8-b94a-faccdfdfc28f",
"CreateDate": "2026-04-30T21:01:25.7237071-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:01:25.7237071-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a2718482-b195-45fb-a945-18cb1ae15b12",
"FieldId": "311d5e36-bf38-4cf0-8827-80ab15ed60f8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a2718482-b195-45fb-a945-18cb1ae15b12",
"FieldId": "311d5e36-bf38-4cf0-8827-80ab15ed60f8",
"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": "86b3c900-57ad-4ec8-80e0-8cb80901387f",
"CreateDate": "2026-04-30T21:01:25.7237071-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:01:25.7237071-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}