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": "55619821-5948-4ab2-9bcf-8c190f127cfd",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "1691cb7a-8095-4c9f-a2d0-c6b0310c9811",
"Section": {
"TaskTypeSectionId": "b03e2fba-792d-4313-9a4a-8b33931a5ce3",
"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": "dcd63268-6943-4304-9cb1-11795f87e9d1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7d569e3a-c85a-471d-91bf-87631b8e73eb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b9d66a20-6b1e-4aa5-9776-9dbaaa47a7af",
"CreateDate": "2026-01-16T09:33:28.7195207-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T09:33:28.7195207-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3be02ac2-c04e-4342-a001-62b8fe34bbe4",
"FieldId": "e8af780c-d5f4-4982-a60b-7264ea9d622d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3be02ac2-c04e-4342-a001-62b8fe34bbe4",
"FieldId": "e8af780c-d5f4-4982-a60b-7264ea9d622d",
"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": "1691cb7a-8095-4c9f-a2d0-c6b0310c9811",
"Section": {
"TaskTypeSectionId": "b03e2fba-792d-4313-9a4a-8b33931a5ce3",
"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": "dcd63268-6943-4304-9cb1-11795f87e9d1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7d569e3a-c85a-471d-91bf-87631b8e73eb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b9d66a20-6b1e-4aa5-9776-9dbaaa47a7af",
"CreateDate": "2026-01-16T09:33:28.7195207-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T09:33:28.7195207-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3be02ac2-c04e-4342-a001-62b8fe34bbe4",
"FieldId": "e8af780c-d5f4-4982-a60b-7264ea9d622d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3be02ac2-c04e-4342-a001-62b8fe34bbe4",
"FieldId": "e8af780c-d5f4-4982-a60b-7264ea9d622d",
"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": "145fce08-2961-4f8c-8c30-0d49e63698bc",
"CreateDate": "2026-01-16T09:33:28.7195207-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T09:33:28.7195207-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "533098f0-94f8-4827-867f-9ec19daca6a5",
"CompanyId": "e1b9b652-8957-4f4a-a0ea-83e5c1c7dccb",
"TaskStatusTypeId": "41abb74c-c79e-46dc-8089-3b7a5592ba07",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "24ca99f0-8678-476b-9248-495d91775735",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "533098f0-94f8-4827-867f-9ec19daca6a5",
"CompanyId": "e1b9b652-8957-4f4a-a0ea-83e5c1c7dccb",
"TaskStatusTypeId": "41abb74c-c79e-46dc-8089-3b7a5592ba07",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "24ca99f0-8678-476b-9248-495d91775735",
"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": "3ba2ba75-91db-4e54-8d10-046d05ff15ca",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "f57ceae4-c1da-4698-8ae6-a897b06bc0f4",
"Section": {
"TaskTypeSectionId": "1c56501f-1199-4763-ae42-d8e0c3842b5f",
"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": "fbbc79da-cc08-4c28-affc-b4bcbe1c17df",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "58b82cc7-1488-4368-bd7f-85e768ab9c4f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "93983fe5-5ae9-4d60-8810-a5ed8448224b",
"CreateDate": "2026-01-16T09:33:28.7351337-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T09:33:28.7351337-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "058db1e0-28da-4a67-be67-3a4f9bc456b7",
"FieldId": "eb8d2ffa-ff82-4a6f-8883-fb59b5515918",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "058db1e0-28da-4a67-be67-3a4f9bc456b7",
"FieldId": "eb8d2ffa-ff82-4a6f-8883-fb59b5515918",
"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": "f57ceae4-c1da-4698-8ae6-a897b06bc0f4",
"Section": {
"TaskTypeSectionId": "1c56501f-1199-4763-ae42-d8e0c3842b5f",
"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": "fbbc79da-cc08-4c28-affc-b4bcbe1c17df",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "58b82cc7-1488-4368-bd7f-85e768ab9c4f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "93983fe5-5ae9-4d60-8810-a5ed8448224b",
"CreateDate": "2026-01-16T09:33:28.7351337-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T09:33:28.7351337-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "058db1e0-28da-4a67-be67-3a4f9bc456b7",
"FieldId": "eb8d2ffa-ff82-4a6f-8883-fb59b5515918",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "058db1e0-28da-4a67-be67-3a4f9bc456b7",
"FieldId": "eb8d2ffa-ff82-4a6f-8883-fb59b5515918",
"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": "58cf8cf2-13a5-4ab4-9bc7-d11e93333010",
"CreateDate": "2026-01-16T09:33:28.7351337-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T09:33:28.7351337-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}