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": "01e7dfaa-ebdf-48f2-b8d0-2fa7d936b913",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4285bc53-309f-4a3d-9843-a841ac07f67e",
"Section": {
"TaskTypeSectionId": "ad7360d9-42b0-4a35-aafe-0dcf8096ab96",
"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": "60072d3e-d437-4676-9477-62677b9fb747",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d7b4708b-4fa0-4615-94ad-0561d6ca5274",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6ed1971a-ff80-41d9-ad61-75d56a79b7a8",
"CreateDate": "2025-10-27T12:21:15.1863626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-27T12:21:15.1863626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ea50836-a7b9-434e-a34d-b96e3381c032",
"FieldId": "c9ac550b-dcb4-4bca-b5e3-300cec68b821",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ea50836-a7b9-434e-a34d-b96e3381c032",
"FieldId": "c9ac550b-dcb4-4bca-b5e3-300cec68b821",
"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": "4285bc53-309f-4a3d-9843-a841ac07f67e",
"Section": {
"TaskTypeSectionId": "ad7360d9-42b0-4a35-aafe-0dcf8096ab96",
"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": "60072d3e-d437-4676-9477-62677b9fb747",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d7b4708b-4fa0-4615-94ad-0561d6ca5274",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6ed1971a-ff80-41d9-ad61-75d56a79b7a8",
"CreateDate": "2025-10-27T12:21:15.1863626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-27T12:21:15.1863626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ea50836-a7b9-434e-a34d-b96e3381c032",
"FieldId": "c9ac550b-dcb4-4bca-b5e3-300cec68b821",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ea50836-a7b9-434e-a34d-b96e3381c032",
"FieldId": "c9ac550b-dcb4-4bca-b5e3-300cec68b821",
"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": "0c8627ef-1b20-45df-9aa4-ae7eda95c1ea",
"CreateDate": "2025-10-27T12:21:15.1863626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-27T12:21:15.1863626-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "2cd6bd33-5ced-4baa-90ce-39ee8c6b0bc3",
"CompanyId": "ed67ac24-aa62-44ad-ba8a-49097a3afd28",
"TaskStatusTypeId": "fe72cbd0-4d11-4e6b-ba5a-7b65c99bdb92",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "bf044e8f-ce3f-4bf7-955b-a0fc8e8dc38c",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "2cd6bd33-5ced-4baa-90ce-39ee8c6b0bc3",
"CompanyId": "ed67ac24-aa62-44ad-ba8a-49097a3afd28",
"TaskStatusTypeId": "fe72cbd0-4d11-4e6b-ba5a-7b65c99bdb92",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "bf044e8f-ce3f-4bf7-955b-a0fc8e8dc38c",
"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": "4c3a0aac-1c67-4df4-8610-821bc151f6d7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "f4dc669d-ec64-418e-9c4f-7d2ddffc060a",
"Section": {
"TaskTypeSectionId": "ae7cc1ad-1918-4dbd-9d97-cfff8b852391",
"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": "c341e238-e526-4c15-9aa9-c0bac3c5e7ae",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c0a32fa1-d355-4b7f-bd43-b305477f1a98",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b596e531-2137-43db-a710-461dc0f2b06a",
"CreateDate": "2025-10-27T12:21:15.1863626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-27T12:21:15.1863626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "47461523-f6f0-4017-9d83-ab204e2fd100",
"FieldId": "325795a1-dcdc-4b63-9fd0-0ef8bdc20422",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "47461523-f6f0-4017-9d83-ab204e2fd100",
"FieldId": "325795a1-dcdc-4b63-9fd0-0ef8bdc20422",
"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": "f4dc669d-ec64-418e-9c4f-7d2ddffc060a",
"Section": {
"TaskTypeSectionId": "ae7cc1ad-1918-4dbd-9d97-cfff8b852391",
"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": "c341e238-e526-4c15-9aa9-c0bac3c5e7ae",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c0a32fa1-d355-4b7f-bd43-b305477f1a98",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b596e531-2137-43db-a710-461dc0f2b06a",
"CreateDate": "2025-10-27T12:21:15.1863626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-27T12:21:15.1863626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "47461523-f6f0-4017-9d83-ab204e2fd100",
"FieldId": "325795a1-dcdc-4b63-9fd0-0ef8bdc20422",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "47461523-f6f0-4017-9d83-ab204e2fd100",
"FieldId": "325795a1-dcdc-4b63-9fd0-0ef8bdc20422",
"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": "7b044d04-776d-49ce-bd49-611a0a49076f",
"CreateDate": "2025-10-27T12:21:15.1863626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-27T12:21:15.1863626-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}