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": "7fc6924c-c102-4c30-b3b9-3d7cd9f2581a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e68b019a-37c7-4efa-b8da-50df47e6d863",
"Section": {
"TaskTypeSectionId": "58da8507-e9f1-4ace-9885-0954e407d9fc",
"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": "ed4d1364-a356-4b00-8c02-8dceb4f192a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0b089934-fd0e-43c5-8d16-4a4133ddada7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c53dd46a-b329-4c00-82bb-a066e463c5a7",
"CreateDate": "2026-03-01T11:58:49.8178363-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T11:58:49.8178363-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d5dd3c02-35d8-4341-a6ae-96c6dd390e36",
"FieldId": "85f948ec-867b-417b-9489-8fcc4cf13ce5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d5dd3c02-35d8-4341-a6ae-96c6dd390e36",
"FieldId": "85f948ec-867b-417b-9489-8fcc4cf13ce5",
"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": "e68b019a-37c7-4efa-b8da-50df47e6d863",
"Section": {
"TaskTypeSectionId": "58da8507-e9f1-4ace-9885-0954e407d9fc",
"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": "ed4d1364-a356-4b00-8c02-8dceb4f192a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0b089934-fd0e-43c5-8d16-4a4133ddada7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c53dd46a-b329-4c00-82bb-a066e463c5a7",
"CreateDate": "2026-03-01T11:58:49.8178363-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T11:58:49.8178363-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d5dd3c02-35d8-4341-a6ae-96c6dd390e36",
"FieldId": "85f948ec-867b-417b-9489-8fcc4cf13ce5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d5dd3c02-35d8-4341-a6ae-96c6dd390e36",
"FieldId": "85f948ec-867b-417b-9489-8fcc4cf13ce5",
"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": "c026210e-d420-46be-919f-ca498b5f6118",
"CreateDate": "2026-03-01T11:58:49.8178363-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T11:58:49.8178363-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "62b70217-1db2-41d1-9842-ecfec4f04622",
"CompanyId": "f4cf34f2-a0ef-4c34-ae88-9bbc1d00b8b5",
"TaskStatusTypeId": "71d59923-7a54-41bf-863b-c959ddd95f4a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "0d9b09d0-6d81-4230-bb1b-b4b811e1d641",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "62b70217-1db2-41d1-9842-ecfec4f04622",
"CompanyId": "f4cf34f2-a0ef-4c34-ae88-9bbc1d00b8b5",
"TaskStatusTypeId": "71d59923-7a54-41bf-863b-c959ddd95f4a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "0d9b09d0-6d81-4230-bb1b-b4b811e1d641",
"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": "f6594985-99d9-42b5-8f4e-a194a8059511",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "22a28da7-dd41-4ca4-915f-244476eb93ad",
"Section": {
"TaskTypeSectionId": "b24336be-2cf6-490b-a4ac-d1b4d2711b5c",
"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": "95ebb26f-a352-42fc-bfef-889f0139d4c4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d0c047af-bb13-4ee2-900c-49ca4111fc3c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "75de4496-1d47-491c-acf3-1170f7c24689",
"CreateDate": "2026-03-01T11:58:49.8334316-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T11:58:49.8334316-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c6c288bd-2c8a-4ddf-a839-453aa8faa626",
"FieldId": "1523efea-f002-4841-bff9-83ed5103a197",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c6c288bd-2c8a-4ddf-a839-453aa8faa626",
"FieldId": "1523efea-f002-4841-bff9-83ed5103a197",
"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": "22a28da7-dd41-4ca4-915f-244476eb93ad",
"Section": {
"TaskTypeSectionId": "b24336be-2cf6-490b-a4ac-d1b4d2711b5c",
"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": "95ebb26f-a352-42fc-bfef-889f0139d4c4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d0c047af-bb13-4ee2-900c-49ca4111fc3c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "75de4496-1d47-491c-acf3-1170f7c24689",
"CreateDate": "2026-03-01T11:58:49.8334316-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T11:58:49.8334316-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c6c288bd-2c8a-4ddf-a839-453aa8faa626",
"FieldId": "1523efea-f002-4841-bff9-83ed5103a197",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c6c288bd-2c8a-4ddf-a839-453aa8faa626",
"FieldId": "1523efea-f002-4841-bff9-83ed5103a197",
"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": "03a7da44-929e-4736-9060-e057cc10332a",
"CreateDate": "2026-03-01T11:58:49.8334316-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T11:58:49.8334316-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}