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": "30598cd7-d35c-47a0-80be-0f05ee8cffb7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4835b301-d08e-494d-8a16-abde100846c2",
"Section": {
"TaskTypeSectionId": "2be6d6c2-01c9-4414-9bef-fb26e3d133c6",
"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": "a38f36e5-e601-4655-bae0-5c5b1f55cec4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4a2131ef-1b8d-439d-9e8c-7b37bb33227b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b8481e25-e7cf-4ffa-bac6-755cd027746f",
"CreateDate": "2026-01-22T16:59:25.2389685-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T16:59:25.2389685-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f7204d56-7f05-4d79-a545-da9295b5932e",
"FieldId": "3aab297a-fdcd-416d-a102-5e443eb1dda2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f7204d56-7f05-4d79-a545-da9295b5932e",
"FieldId": "3aab297a-fdcd-416d-a102-5e443eb1dda2",
"FieldName": "sample string 1",
"FieldLabel": "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": "4835b301-d08e-494d-8a16-abde100846c2",
"Section": {
"TaskTypeSectionId": "2be6d6c2-01c9-4414-9bef-fb26e3d133c6",
"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": "a38f36e5-e601-4655-bae0-5c5b1f55cec4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4a2131ef-1b8d-439d-9e8c-7b37bb33227b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b8481e25-e7cf-4ffa-bac6-755cd027746f",
"CreateDate": "2026-01-22T16:59:25.2389685-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T16:59:25.2389685-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f7204d56-7f05-4d79-a545-da9295b5932e",
"FieldId": "3aab297a-fdcd-416d-a102-5e443eb1dda2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f7204d56-7f05-4d79-a545-da9295b5932e",
"FieldId": "3aab297a-fdcd-416d-a102-5e443eb1dda2",
"FieldName": "sample string 1",
"FieldLabel": "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": "4ada78b5-0d81-4dff-b865-4f954abd3135",
"CreateDate": "2026-01-22T16:59:25.2389685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T16:59:25.2389685-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "c65b376f-f443-4ff4-8dbe-7083e1ce3834",
"CompanyId": "b4f53025-af6b-4488-8bd1-9b0182e563d1",
"TaskStatusTypeId": "03386ec7-41fc-4044-b8f4-bd661b2165ec",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "02bd2867-366f-4052-b2c8-fa879861daff",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "c65b376f-f443-4ff4-8dbe-7083e1ce3834",
"CompanyId": "b4f53025-af6b-4488-8bd1-9b0182e563d1",
"TaskStatusTypeId": "03386ec7-41fc-4044-b8f4-bd661b2165ec",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "02bd2867-366f-4052-b2c8-fa879861daff",
"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": "f269f96b-7af2-4596-8da4-68b8879cc31d",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e26afd3b-775e-46ac-9071-0e48b70b676c",
"Section": {
"TaskTypeSectionId": "30072cf2-d9bc-492e-a13f-ea1ddf0b99bf",
"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": "d15885a3-68f1-48a3-b83b-90cd7f3b379e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "105e1a92-c828-4184-8fa3-477cabd6c90c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "61bd22d3-3ce3-4494-a8d0-28276351626b",
"CreateDate": "2026-01-22T16:59:25.2545355-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T16:59:25.2545355-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c7ae3d8-ee84-4925-bf26-06ea5f1ccbca",
"FieldId": "9fcd27a0-b6a2-4469-913f-9657b6be6edb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c7ae3d8-ee84-4925-bf26-06ea5f1ccbca",
"FieldId": "9fcd27a0-b6a2-4469-913f-9657b6be6edb",
"FieldName": "sample string 1",
"FieldLabel": "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": "e26afd3b-775e-46ac-9071-0e48b70b676c",
"Section": {
"TaskTypeSectionId": "30072cf2-d9bc-492e-a13f-ea1ddf0b99bf",
"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": "d15885a3-68f1-48a3-b83b-90cd7f3b379e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "105e1a92-c828-4184-8fa3-477cabd6c90c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "61bd22d3-3ce3-4494-a8d0-28276351626b",
"CreateDate": "2026-01-22T16:59:25.2545355-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T16:59:25.2545355-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c7ae3d8-ee84-4925-bf26-06ea5f1ccbca",
"FieldId": "9fcd27a0-b6a2-4469-913f-9657b6be6edb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c7ae3d8-ee84-4925-bf26-06ea5f1ccbca",
"FieldId": "9fcd27a0-b6a2-4469-913f-9657b6be6edb",
"FieldName": "sample string 1",
"FieldLabel": "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": "72116812-8b99-4c5b-be58-a2bbaeafb31a",
"CreateDate": "2026-01-22T16:59:25.2545355-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T16:59:25.2545355-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}