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": "0fb650b4-a4ff-4afc-b28e-edd1a63870f4",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7097d996-f2e1-4b94-bae0-1011477790f0",
"Section": {
"TaskTypeSectionId": "f562fde7-06d2-4350-963b-8a3d3b0342a0",
"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": "a84d5649-1608-4c82-bab1-c5a317b367e8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "14e01d7c-4b09-4dbf-a1a9-85d1b6c9e318",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3da84ef7-3659-42f3-bdd3-45bb0c712d88",
"CreateDate": "2026-08-09T23:40:44.6159734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:44.6159734-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7b4b2498-d30e-4814-a844-4951897e3af2",
"FieldId": "09ac2c5f-2abb-4887-b608-9b6b67df2f28",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7b4b2498-d30e-4814-a844-4951897e3af2",
"FieldId": "09ac2c5f-2abb-4887-b608-9b6b67df2f28",
"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": "7097d996-f2e1-4b94-bae0-1011477790f0",
"Section": {
"TaskTypeSectionId": "f562fde7-06d2-4350-963b-8a3d3b0342a0",
"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": "a84d5649-1608-4c82-bab1-c5a317b367e8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "14e01d7c-4b09-4dbf-a1a9-85d1b6c9e318",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3da84ef7-3659-42f3-bdd3-45bb0c712d88",
"CreateDate": "2026-08-09T23:40:44.6159734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:44.6159734-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7b4b2498-d30e-4814-a844-4951897e3af2",
"FieldId": "09ac2c5f-2abb-4887-b608-9b6b67df2f28",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7b4b2498-d30e-4814-a844-4951897e3af2",
"FieldId": "09ac2c5f-2abb-4887-b608-9b6b67df2f28",
"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": "1a4fefe4-8014-4c89-886b-db5e70ef137c",
"CreateDate": "2026-08-09T23:40:44.6159734-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:40:44.6159734-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "b6b382c3-b2b9-4698-8a17-449c6b6887d4",
"CompanyId": "c6b0d221-b351-4d93-9c88-a53fc8bad1f3",
"TaskStatusTypeId": "b403b7ad-8c56-433e-80ac-613dc81a6fa7",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "46c0e2bf-87d9-4b7e-9527-730152137dde",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "b6b382c3-b2b9-4698-8a17-449c6b6887d4",
"CompanyId": "c6b0d221-b351-4d93-9c88-a53fc8bad1f3",
"TaskStatusTypeId": "b403b7ad-8c56-433e-80ac-613dc81a6fa7",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "46c0e2bf-87d9-4b7e-9527-730152137dde",
"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": "23811f9a-3e8c-41d7-b601-043c961b32a2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4c6036d0-7d54-4b79-aa3c-d8b630cd3c0c",
"Section": {
"TaskTypeSectionId": "d5cf6d4d-50c7-40da-a934-218c166f0406",
"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": "4803b8fb-2112-4b09-a6f7-a08b00cd6f16",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "15dac0e5-0480-4749-b4c8-9955ded3c220",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "211d28e8-4a2a-4bf1-870b-e1ce7b624345",
"CreateDate": "2026-08-09T23:40:44.6159734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:44.6159734-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dd031c70-29a0-4b91-b4e9-e50691bb002f",
"FieldId": "b9e44c66-1179-4c43-868a-2134610f4f21",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dd031c70-29a0-4b91-b4e9-e50691bb002f",
"FieldId": "b9e44c66-1179-4c43-868a-2134610f4f21",
"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": "4c6036d0-7d54-4b79-aa3c-d8b630cd3c0c",
"Section": {
"TaskTypeSectionId": "d5cf6d4d-50c7-40da-a934-218c166f0406",
"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": "4803b8fb-2112-4b09-a6f7-a08b00cd6f16",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "15dac0e5-0480-4749-b4c8-9955ded3c220",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "211d28e8-4a2a-4bf1-870b-e1ce7b624345",
"CreateDate": "2026-08-09T23:40:44.6159734-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:44.6159734-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dd031c70-29a0-4b91-b4e9-e50691bb002f",
"FieldId": "b9e44c66-1179-4c43-868a-2134610f4f21",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dd031c70-29a0-4b91-b4e9-e50691bb002f",
"FieldId": "b9e44c66-1179-4c43-868a-2134610f4f21",
"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": "a97c9732-003a-4382-9cad-2c147530e79e",
"CreateDate": "2026-08-09T23:40:44.6159734-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:40:44.6159734-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}