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": "98d000c1-08e0-490a-bb55-8d837ba2d9d1",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "60bf3b83-3692-4f0d-ae7b-5dd0b8a36357",
"Section": {
"TaskTypeSectionId": "4b655a53-f495-4760-bf3b-db89b0c0cb52",
"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": "81385fc9-2694-442a-a339-b3c8cba31e13",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "99fd236b-9c8a-46c2-97e9-2e4b23a8f866",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ef084a55-c479-4758-94d0-7e085bd9b10a",
"CreateDate": "2026-02-15T08:55:39.4367893-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T08:55:39.4367893-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e9d3be19-7a4d-4118-8948-3253243c2178",
"FieldId": "74cb0dd2-3626-4863-8826-457f858cbd86",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e9d3be19-7a4d-4118-8948-3253243c2178",
"FieldId": "74cb0dd2-3626-4863-8826-457f858cbd86",
"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": "60bf3b83-3692-4f0d-ae7b-5dd0b8a36357",
"Section": {
"TaskTypeSectionId": "4b655a53-f495-4760-bf3b-db89b0c0cb52",
"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": "81385fc9-2694-442a-a339-b3c8cba31e13",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "99fd236b-9c8a-46c2-97e9-2e4b23a8f866",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ef084a55-c479-4758-94d0-7e085bd9b10a",
"CreateDate": "2026-02-15T08:55:39.4367893-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T08:55:39.4367893-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e9d3be19-7a4d-4118-8948-3253243c2178",
"FieldId": "74cb0dd2-3626-4863-8826-457f858cbd86",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e9d3be19-7a4d-4118-8948-3253243c2178",
"FieldId": "74cb0dd2-3626-4863-8826-457f858cbd86",
"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": "6ec4b983-9896-438b-8462-e068d679f1d4",
"CreateDate": "2026-02-15T08:55:39.4367893-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T08:55:39.4367893-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "bf015fe8-2d2a-433b-bb79-b08dfd26cbeb",
"CompanyId": "784879bd-4d9a-42ac-840f-6a663bdddf18",
"TaskStatusTypeId": "75a36391-4b26-4f15-821d-992ce4431da1",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "56ec1d86-29ac-4b60-814d-be55fca55b80",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "bf015fe8-2d2a-433b-bb79-b08dfd26cbeb",
"CompanyId": "784879bd-4d9a-42ac-840f-6a663bdddf18",
"TaskStatusTypeId": "75a36391-4b26-4f15-821d-992ce4431da1",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "56ec1d86-29ac-4b60-814d-be55fca55b80",
"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": "5a487cef-4cf6-4317-84ff-00a96ded7444",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "b524c54b-e376-417a-a547-268e0e1aa7b7",
"Section": {
"TaskTypeSectionId": "2172a39e-a1d7-46e1-8833-582b04388e71",
"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": "942030e9-49d5-42b8-80f0-b306f9396a68",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cd315bc3-3af6-4c65-8d69-934d43e1415a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7d80b521-0429-42fa-84e8-b62d46d80450",
"CreateDate": "2026-02-15T08:55:39.4367893-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T08:55:39.4367893-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8d695769-892e-483d-9689-68811d4e6544",
"FieldId": "9e27eb83-3e5a-448c-a17e-2ceeb3285dba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8d695769-892e-483d-9689-68811d4e6544",
"FieldId": "9e27eb83-3e5a-448c-a17e-2ceeb3285dba",
"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": "b524c54b-e376-417a-a547-268e0e1aa7b7",
"Section": {
"TaskTypeSectionId": "2172a39e-a1d7-46e1-8833-582b04388e71",
"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": "942030e9-49d5-42b8-80f0-b306f9396a68",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cd315bc3-3af6-4c65-8d69-934d43e1415a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7d80b521-0429-42fa-84e8-b62d46d80450",
"CreateDate": "2026-02-15T08:55:39.4367893-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T08:55:39.4367893-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8d695769-892e-483d-9689-68811d4e6544",
"FieldId": "9e27eb83-3e5a-448c-a17e-2ceeb3285dba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8d695769-892e-483d-9689-68811d4e6544",
"FieldId": "9e27eb83-3e5a-448c-a17e-2ceeb3285dba",
"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": "8b24287a-d243-4d30-883a-86a1789563f4",
"CreateDate": "2026-02-15T08:55:39.4367893-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T08:55:39.4367893-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}