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": "cf0a03ee-e968-45b3-abce-12da78b7b622",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "714f86f8-2c88-4557-a0e2-84d8ad868d40",
"Section": {
"TaskTypeSectionId": "409e36c3-7be0-4314-acf6-fd13aaf2b6ad",
"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": "46529473-1673-4e0f-85d5-5adea1720963",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5eb252a3-cf59-4362-8623-fd15271ab002",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2f6ccd75-eb7d-497b-be88-3f0f40116e4e",
"CreateDate": "2025-12-09T03:22:18.4119463-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-09T03:22:18.4119463-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0ea775b8-0c6a-4841-9403-3995f1de77b4",
"FieldId": "d79151c4-e206-44ac-8ec0-aed58de596a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0ea775b8-0c6a-4841-9403-3995f1de77b4",
"FieldId": "d79151c4-e206-44ac-8ec0-aed58de596a5",
"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": "714f86f8-2c88-4557-a0e2-84d8ad868d40",
"Section": {
"TaskTypeSectionId": "409e36c3-7be0-4314-acf6-fd13aaf2b6ad",
"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": "46529473-1673-4e0f-85d5-5adea1720963",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5eb252a3-cf59-4362-8623-fd15271ab002",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2f6ccd75-eb7d-497b-be88-3f0f40116e4e",
"CreateDate": "2025-12-09T03:22:18.4119463-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-09T03:22:18.4119463-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0ea775b8-0c6a-4841-9403-3995f1de77b4",
"FieldId": "d79151c4-e206-44ac-8ec0-aed58de596a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0ea775b8-0c6a-4841-9403-3995f1de77b4",
"FieldId": "d79151c4-e206-44ac-8ec0-aed58de596a5",
"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": "c599eb82-5c1d-4ea1-8a99-f63cf941afe5",
"CreateDate": "2025-12-09T03:22:18.4119463-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-09T03:22:18.4119463-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "155b0619-09df-4dc0-96d4-cf21ae27e364",
"CompanyId": "e12c8462-f16d-497f-baa2-6d1681cabf32",
"TaskStatusTypeId": "0a5954be-f04f-4bb7-a49d-1253283fb8f1",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "b850f924-fdde-4c88-b835-40efad2f221b",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "155b0619-09df-4dc0-96d4-cf21ae27e364",
"CompanyId": "e12c8462-f16d-497f-baa2-6d1681cabf32",
"TaskStatusTypeId": "0a5954be-f04f-4bb7-a49d-1253283fb8f1",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "b850f924-fdde-4c88-b835-40efad2f221b",
"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": "7901270d-4299-48b7-bb34-69ee3534e7d5",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7779f2e6-6f15-4d65-8d6b-9e80340fe0d5",
"Section": {
"TaskTypeSectionId": "46d4a5ee-55c9-46e4-b534-648c8a648996",
"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": "8640d8c2-f42d-4db0-b81b-15b456038839",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a77b6be3-b1e9-400c-a254-72ec5c7e9d1b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4aa4fdd2-a29d-470c-be7e-0de306f0f3a3",
"CreateDate": "2025-12-09T03:22:18.4275189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-09T03:22:18.4275189-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5842c648-5136-4007-b091-fbdd2c279587",
"FieldId": "fb97d480-5269-4976-8344-0f68caf1307a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5842c648-5136-4007-b091-fbdd2c279587",
"FieldId": "fb97d480-5269-4976-8344-0f68caf1307a",
"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": "7779f2e6-6f15-4d65-8d6b-9e80340fe0d5",
"Section": {
"TaskTypeSectionId": "46d4a5ee-55c9-46e4-b534-648c8a648996",
"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": "8640d8c2-f42d-4db0-b81b-15b456038839",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a77b6be3-b1e9-400c-a254-72ec5c7e9d1b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4aa4fdd2-a29d-470c-be7e-0de306f0f3a3",
"CreateDate": "2025-12-09T03:22:18.4275189-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-09T03:22:18.4275189-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5842c648-5136-4007-b091-fbdd2c279587",
"FieldId": "fb97d480-5269-4976-8344-0f68caf1307a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5842c648-5136-4007-b091-fbdd2c279587",
"FieldId": "fb97d480-5269-4976-8344-0f68caf1307a",
"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": "c6202a73-6d88-40a3-8bd0-0ab4c8853002",
"CreateDate": "2025-12-09T03:22:18.4275189-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-09T03:22:18.4275189-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}