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": "efa4ed97-6954-481c-9601-df12756283d2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "bad73c15-65e9-4f15-bd2e-4a10a1ed6c24",
"Section": {
"TaskTypeSectionId": "1507b1d8-4614-4f72-b61d-68310e3f9337",
"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": "40893fa2-a976-4cbf-ba00-8382818b0aa3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5b3e1958-7ff7-4f90-8c9d-03d059355dea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26537317-9e9a-4791-9f4b-38306b43467f",
"CreateDate": "2025-11-10T22:23:52.7738244-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T22:23:52.7738244-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bda09abc-d1e1-4cc9-9489-abda7b428926",
"FieldId": "5fd4b9f0-b958-46f6-a4b9-57078e0cc920",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bda09abc-d1e1-4cc9-9489-abda7b428926",
"FieldId": "5fd4b9f0-b958-46f6-a4b9-57078e0cc920",
"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": "bad73c15-65e9-4f15-bd2e-4a10a1ed6c24",
"Section": {
"TaskTypeSectionId": "1507b1d8-4614-4f72-b61d-68310e3f9337",
"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": "40893fa2-a976-4cbf-ba00-8382818b0aa3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5b3e1958-7ff7-4f90-8c9d-03d059355dea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26537317-9e9a-4791-9f4b-38306b43467f",
"CreateDate": "2025-11-10T22:23:52.7738244-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T22:23:52.7738244-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bda09abc-d1e1-4cc9-9489-abda7b428926",
"FieldId": "5fd4b9f0-b958-46f6-a4b9-57078e0cc920",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bda09abc-d1e1-4cc9-9489-abda7b428926",
"FieldId": "5fd4b9f0-b958-46f6-a4b9-57078e0cc920",
"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": "53768846-d1a4-4eba-ba10-2356f794002e",
"CreateDate": "2025-11-10T22:23:52.7738244-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-10T22:23:52.7738244-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "ba2a6306-e3cc-4875-8600-b5bba54fff20",
"CompanyId": "d989ada7-ed5e-4cda-bd33-989dfc333fc4",
"TaskStatusTypeId": "111d3f7a-0fa2-41a4-98d9-744fcd120615",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d8e3d675-9883-4e80-83b9-7f59fba6b921",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "ba2a6306-e3cc-4875-8600-b5bba54fff20",
"CompanyId": "d989ada7-ed5e-4cda-bd33-989dfc333fc4",
"TaskStatusTypeId": "111d3f7a-0fa2-41a4-98d9-744fcd120615",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d8e3d675-9883-4e80-83b9-7f59fba6b921",
"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": "fbe4d9a3-5812-474e-8ccd-43cb37b797c0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "3ca81303-890a-4225-a800-351d963274e6",
"Section": {
"TaskTypeSectionId": "7e2f2c77-03df-479d-bff7-6557e07e867a",
"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": "527601c5-d1ae-4963-a1a4-5962781dac0d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9837286f-1e2b-4e72-9410-0e976ff72b7e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dfe11052-baf7-4ca6-b126-91e637a46d3c",
"CreateDate": "2025-11-10T22:23:52.7894384-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T22:23:52.7894384-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "299644c5-4b73-40fd-b514-e745e996cf27",
"FieldId": "bab90432-1e8c-4ed1-84f9-8aa84dd89a4f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "299644c5-4b73-40fd-b514-e745e996cf27",
"FieldId": "bab90432-1e8c-4ed1-84f9-8aa84dd89a4f",
"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": "3ca81303-890a-4225-a800-351d963274e6",
"Section": {
"TaskTypeSectionId": "7e2f2c77-03df-479d-bff7-6557e07e867a",
"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": "527601c5-d1ae-4963-a1a4-5962781dac0d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9837286f-1e2b-4e72-9410-0e976ff72b7e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dfe11052-baf7-4ca6-b126-91e637a46d3c",
"CreateDate": "2025-11-10T22:23:52.7894384-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T22:23:52.7894384-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "299644c5-4b73-40fd-b514-e745e996cf27",
"FieldId": "bab90432-1e8c-4ed1-84f9-8aa84dd89a4f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "299644c5-4b73-40fd-b514-e745e996cf27",
"FieldId": "bab90432-1e8c-4ed1-84f9-8aa84dd89a4f",
"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": "189fb47e-66bc-485a-aff8-8244c32f4df0",
"CreateDate": "2025-11-10T22:23:52.7894384-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-10T22:23:52.7894384-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}