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": "d7eebcba-04e4-41fe-8163-b9f52f83747b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d13243d5-23ab-44f0-bc4a-f5de1682deba",
"Section": {
"TaskTypeSectionId": "7bd0bca3-d514-4fce-8ae1-a0acf323318f",
"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": "a6e3f8e4-c225-40ea-9393-b690e1d18a10",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "68d2c1bd-b1c3-4ab3-8ae9-d0cfcb074108",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5b8c3a5b-7a05-4dd9-8db5-f06db95151bf",
"CreateDate": "2025-12-31T15:03:23.8717639-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:03:23.8717639-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"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": "d13243d5-23ab-44f0-bc4a-f5de1682deba",
"Section": {
"TaskTypeSectionId": "7bd0bca3-d514-4fce-8ae1-a0acf323318f",
"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": "a6e3f8e4-c225-40ea-9393-b690e1d18a10",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "68d2c1bd-b1c3-4ab3-8ae9-d0cfcb074108",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5b8c3a5b-7a05-4dd9-8db5-f06db95151bf",
"CreateDate": "2025-12-31T15:03:23.8717639-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:03:23.8717639-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"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": "838627be-3c34-4a7e-a59e-82277081cba5",
"CreateDate": "2025-12-31T15:03:23.8717639-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T15:03:23.8717639-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "6873d85c-67e8-4b90-988b-5c54369a8126",
"CompanyId": "e80db38f-509e-4441-9c2f-f6e55acb3e89",
"TaskStatusTypeId": "60adb8a7-fe5b-4939-bc64-4e1925f6035b",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "cfd87786-9856-470e-be6e-c2aee1a1d8aa",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "6873d85c-67e8-4b90-988b-5c54369a8126",
"CompanyId": "e80db38f-509e-4441-9c2f-f6e55acb3e89",
"TaskStatusTypeId": "60adb8a7-fe5b-4939-bc64-4e1925f6035b",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "cfd87786-9856-470e-be6e-c2aee1a1d8aa",
"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": "10dc1754-509d-4b3e-b5b4-966971df00cf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4dec866a-a71f-46dc-b206-f393c1365a20",
"Section": {
"TaskTypeSectionId": "2985c030-101d-49b5-9013-b7f247eb4d1f",
"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": "77265c4e-7584-4c6f-beeb-22af6ea8b6e7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fbca9aac-8007-4d6e-91cd-be83339afbe7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2f7ae064-bba1-4559-ac73-982b0bb6c272",
"CreateDate": "2025-12-31T15:03:23.8873749-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:03:23.8873749-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"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": "4dec866a-a71f-46dc-b206-f393c1365a20",
"Section": {
"TaskTypeSectionId": "2985c030-101d-49b5-9013-b7f247eb4d1f",
"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": "77265c4e-7584-4c6f-beeb-22af6ea8b6e7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fbca9aac-8007-4d6e-91cd-be83339afbe7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2f7ae064-bba1-4559-ac73-982b0bb6c272",
"CreateDate": "2025-12-31T15:03:23.8873749-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T15:03:23.8873749-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"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": "1f59330d-4aee-431c-8ab7-74a47bedfc93",
"CreateDate": "2025-12-31T15:03:23.8873749-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T15:03:23.8873749-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}