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": "b7c44821-4ff0-427b-b3a3-c761d8a05cb9",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "551bd04f-b432-419d-90fa-55f513345006",
"Section": {
"TaskTypeSectionId": "52bb785f-9ca3-43b5-9a6b-a5064f748542",
"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": "e753cd0d-44ac-4e31-b794-72573edcffbe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "600b7f1d-25cc-470f-b2c0-289d5560a210",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e26d3156-2e52-4a0b-893a-ddb57407723b",
"CreateDate": "2026-02-02T11:56:53.9733302-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T11:56:53.9733302-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ad641f4-19e5-4340-b668-6e72fef61c23",
"FieldId": "ed3df3f3-90a5-49af-94fa-b1e47704c122",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ad641f4-19e5-4340-b668-6e72fef61c23",
"FieldId": "ed3df3f3-90a5-49af-94fa-b1e47704c122",
"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": "551bd04f-b432-419d-90fa-55f513345006",
"Section": {
"TaskTypeSectionId": "52bb785f-9ca3-43b5-9a6b-a5064f748542",
"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": "e753cd0d-44ac-4e31-b794-72573edcffbe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "600b7f1d-25cc-470f-b2c0-289d5560a210",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e26d3156-2e52-4a0b-893a-ddb57407723b",
"CreateDate": "2026-02-02T11:56:53.9733302-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T11:56:53.9733302-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ad641f4-19e5-4340-b668-6e72fef61c23",
"FieldId": "ed3df3f3-90a5-49af-94fa-b1e47704c122",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ad641f4-19e5-4340-b668-6e72fef61c23",
"FieldId": "ed3df3f3-90a5-49af-94fa-b1e47704c122",
"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": "c0e0d8a7-274d-494c-b14a-b4a9609b2bc0",
"CreateDate": "2026-02-02T11:56:53.9733302-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T11:56:53.9733302-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "6aca9914-1850-4440-b1af-68be2cedab20",
"CompanyId": "45407714-7184-4d66-82c0-9bc827ec615e",
"TaskStatusTypeId": "32af9a5a-71c0-4968-a270-d13545cd81a4",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ea60258f-9846-4635-bfe1-5942c4bfbbae",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "6aca9914-1850-4440-b1af-68be2cedab20",
"CompanyId": "45407714-7184-4d66-82c0-9bc827ec615e",
"TaskStatusTypeId": "32af9a5a-71c0-4968-a270-d13545cd81a4",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ea60258f-9846-4635-bfe1-5942c4bfbbae",
"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": "6c2f2487-167d-4810-abea-effd539221af",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "fb004ef0-c558-4ecc-8682-366910f60fe6",
"Section": {
"TaskTypeSectionId": "96fa593a-bafd-490d-b21d-af4f4a50557d",
"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": "a618114c-aee4-4ea8-bf43-e57b3f627e9a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6ecb5efe-9930-469d-9058-d89dc3d131b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9508ce1a-c033-4ee6-8b09-58d2aad4600c",
"CreateDate": "2026-02-02T11:56:53.9733302-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T11:56:53.9733302-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "298f4d7d-dbc5-466c-9759-80c071b3f0e6",
"FieldId": "e0921fd3-6daf-4f69-aaa0-f33add56cc41",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "298f4d7d-dbc5-466c-9759-80c071b3f0e6",
"FieldId": "e0921fd3-6daf-4f69-aaa0-f33add56cc41",
"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": "fb004ef0-c558-4ecc-8682-366910f60fe6",
"Section": {
"TaskTypeSectionId": "96fa593a-bafd-490d-b21d-af4f4a50557d",
"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": "a618114c-aee4-4ea8-bf43-e57b3f627e9a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6ecb5efe-9930-469d-9058-d89dc3d131b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9508ce1a-c033-4ee6-8b09-58d2aad4600c",
"CreateDate": "2026-02-02T11:56:53.9733302-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T11:56:53.9733302-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "298f4d7d-dbc5-466c-9759-80c071b3f0e6",
"FieldId": "e0921fd3-6daf-4f69-aaa0-f33add56cc41",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "298f4d7d-dbc5-466c-9759-80c071b3f0e6",
"FieldId": "e0921fd3-6daf-4f69-aaa0-f33add56cc41",
"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": "2115da79-1ab0-46ae-a2ce-1cf44a9d2a03",
"CreateDate": "2026-02-02T11:56:53.9733302-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T11:56:53.9733302-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}