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": "3f3a686b-2f39-4374-b821-485b4a1f2e78",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a5225a65-5151-4d61-b7bd-da7e03911e75",
"Section": {
"TaskTypeSectionId": "fc163ef1-261a-47e6-b165-43ca35210e02",
"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": "ce9e725c-53e8-4792-9334-3698325ddfe4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c2f97b52-a8ec-4fb1-b951-f9a43b53bbc3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67366b0f-dee1-4586-8340-282aab2a335e",
"CreateDate": "2026-11-22T13:34:56.4722508-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T13:34:56.4722508-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7220c88d-5629-4761-bb75-4b72c0ce8582",
"FieldId": "0cf2037c-395d-43e2-a448-0fa9e5fe7ad3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7220c88d-5629-4761-bb75-4b72c0ce8582",
"FieldId": "0cf2037c-395d-43e2-a448-0fa9e5fe7ad3",
"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": "a5225a65-5151-4d61-b7bd-da7e03911e75",
"Section": {
"TaskTypeSectionId": "fc163ef1-261a-47e6-b165-43ca35210e02",
"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": "ce9e725c-53e8-4792-9334-3698325ddfe4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c2f97b52-a8ec-4fb1-b951-f9a43b53bbc3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67366b0f-dee1-4586-8340-282aab2a335e",
"CreateDate": "2026-11-22T13:34:56.4722508-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T13:34:56.4722508-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7220c88d-5629-4761-bb75-4b72c0ce8582",
"FieldId": "0cf2037c-395d-43e2-a448-0fa9e5fe7ad3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7220c88d-5629-4761-bb75-4b72c0ce8582",
"FieldId": "0cf2037c-395d-43e2-a448-0fa9e5fe7ad3",
"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": "d78c8c3b-ae8d-43be-a894-a44d5a670086",
"CreateDate": "2026-11-22T13:34:56.4722508-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T13:34:56.4722508-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "efc3c7ba-6444-4f82-ab61-49abf0fcc64b",
"CompanyId": "b6281d54-b97f-4716-8dcf-2ad7674916ca",
"TaskStatusTypeId": "078f8067-1e11-4169-a9fb-52e03b9aa952",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "2b7b38df-0686-4565-9528-21ebebd861b9",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "efc3c7ba-6444-4f82-ab61-49abf0fcc64b",
"CompanyId": "b6281d54-b97f-4716-8dcf-2ad7674916ca",
"TaskStatusTypeId": "078f8067-1e11-4169-a9fb-52e03b9aa952",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "2b7b38df-0686-4565-9528-21ebebd861b9",
"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": "41fe3fba-1714-4283-8f7e-09293893ee6b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "f681ce4b-2939-4595-9c54-74727ea39ed7",
"Section": {
"TaskTypeSectionId": "a83dde05-f212-4c9c-9da8-b50d47ae5ddc",
"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": "e2844202-2a6d-43a4-bf81-5889e5d01d75",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a98465cd-ed4a-4e0d-b229-c09cf6e0bc08",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9ebcbd6b-42e3-456a-a364-3856c90fca2c",
"CreateDate": "2026-11-22T13:34:56.4722508-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T13:34:56.4722508-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7b7f5aaf-9cd2-411f-94e7-1e62592473ca",
"FieldId": "d79f6166-51db-4277-aeb1-dab7f77ed454",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7b7f5aaf-9cd2-411f-94e7-1e62592473ca",
"FieldId": "d79f6166-51db-4277-aeb1-dab7f77ed454",
"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": "f681ce4b-2939-4595-9c54-74727ea39ed7",
"Section": {
"TaskTypeSectionId": "a83dde05-f212-4c9c-9da8-b50d47ae5ddc",
"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": "e2844202-2a6d-43a4-bf81-5889e5d01d75",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a98465cd-ed4a-4e0d-b229-c09cf6e0bc08",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9ebcbd6b-42e3-456a-a364-3856c90fca2c",
"CreateDate": "2026-11-22T13:34:56.4722508-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T13:34:56.4722508-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7b7f5aaf-9cd2-411f-94e7-1e62592473ca",
"FieldId": "d79f6166-51db-4277-aeb1-dab7f77ed454",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7b7f5aaf-9cd2-411f-94e7-1e62592473ca",
"FieldId": "d79f6166-51db-4277-aeb1-dab7f77ed454",
"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": "4b1346db-8401-468c-83d4-8d517cf3c2fd",
"CreateDate": "2026-11-22T13:34:56.4722508-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T13:34:56.4722508-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}