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": "a0683c6e-54f3-4006-b599-18880da4b82e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ec627f07-0343-4376-b40d-468aa03f1d3c",
"Section": {
"TaskTypeSectionId": "6b20571f-bf3b-4435-aa1d-ef4808dd1966",
"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": "b75f1310-0d56-4989-bd2f-3e48065b4912",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c261768c-f510-4e6d-836f-fd2c1c77741e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "557519c6-d534-4601-8c0c-51245f7d0f96",
"CreateDate": "2025-12-15T21:26:35.2180526-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-15T21:26:35.2180526-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f98e90c2-5c5a-4e74-807b-7d12d2ec7cd9",
"FieldId": "9ffb3937-5517-4d2b-956e-a268426126ca",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f98e90c2-5c5a-4e74-807b-7d12d2ec7cd9",
"FieldId": "9ffb3937-5517-4d2b-956e-a268426126ca",
"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": "ec627f07-0343-4376-b40d-468aa03f1d3c",
"Section": {
"TaskTypeSectionId": "6b20571f-bf3b-4435-aa1d-ef4808dd1966",
"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": "b75f1310-0d56-4989-bd2f-3e48065b4912",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c261768c-f510-4e6d-836f-fd2c1c77741e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "557519c6-d534-4601-8c0c-51245f7d0f96",
"CreateDate": "2025-12-15T21:26:35.2180526-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-15T21:26:35.2180526-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f98e90c2-5c5a-4e74-807b-7d12d2ec7cd9",
"FieldId": "9ffb3937-5517-4d2b-956e-a268426126ca",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f98e90c2-5c5a-4e74-807b-7d12d2ec7cd9",
"FieldId": "9ffb3937-5517-4d2b-956e-a268426126ca",
"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": "9e5616ed-f3eb-428a-aaa2-ca8ff9b9f7c7",
"CreateDate": "2025-12-15T21:26:35.2180526-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-15T21:26:35.2180526-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "379b9822-b94a-4709-90f3-f19471d90534",
"CompanyId": "0b32d852-3a35-4c18-b789-1bfad5a5012b",
"TaskStatusTypeId": "4588928b-2646-4049-aaf1-364f91c1c557",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "def2df8d-3253-4685-8051-fcf0110b624c",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "379b9822-b94a-4709-90f3-f19471d90534",
"CompanyId": "0b32d852-3a35-4c18-b789-1bfad5a5012b",
"TaskStatusTypeId": "4588928b-2646-4049-aaf1-364f91c1c557",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "def2df8d-3253-4685-8051-fcf0110b624c",
"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": "8f6d5bba-2685-4e3b-8192-6d9d81b06f0c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "18ea3db9-b7d6-42d5-b435-f1e9d94abccd",
"Section": {
"TaskTypeSectionId": "11d2b782-6b72-42bc-9ae9-de8e8d2e1d55",
"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": "407a546d-a88a-4d4a-9c2f-6a431f92c112",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b40ac5c8-8b0c-4037-ae4a-b5771b84a190",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "54c63d8f-257b-4d44-8dab-3392869ed1c9",
"CreateDate": "2025-12-15T21:26:35.2180526-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-15T21:26:35.2180526-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ff07f974-177a-48d9-a405-bf58e2fa1b86",
"FieldId": "5b3dcbb4-33d3-408f-8786-ea01b287c4c9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ff07f974-177a-48d9-a405-bf58e2fa1b86",
"FieldId": "5b3dcbb4-33d3-408f-8786-ea01b287c4c9",
"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": "18ea3db9-b7d6-42d5-b435-f1e9d94abccd",
"Section": {
"TaskTypeSectionId": "11d2b782-6b72-42bc-9ae9-de8e8d2e1d55",
"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": "407a546d-a88a-4d4a-9c2f-6a431f92c112",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b40ac5c8-8b0c-4037-ae4a-b5771b84a190",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "54c63d8f-257b-4d44-8dab-3392869ed1c9",
"CreateDate": "2025-12-15T21:26:35.2180526-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-15T21:26:35.2180526-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ff07f974-177a-48d9-a405-bf58e2fa1b86",
"FieldId": "5b3dcbb4-33d3-408f-8786-ea01b287c4c9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ff07f974-177a-48d9-a405-bf58e2fa1b86",
"FieldId": "5b3dcbb4-33d3-408f-8786-ea01b287c4c9",
"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": "10b0a143-3bfc-430f-b7cb-cf73a9eeb090",
"CreateDate": "2025-12-15T21:26:35.2180526-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-15T21:26:35.2180526-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}