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": "5a8b8580-4f42-4c12-8f64-f037bea5d776",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "0575b578-be30-4ff9-8e81-d29d76d2165b",
"Section": {
"TaskTypeSectionId": "146dda1b-0dbf-4132-af3d-772ff32894f0",
"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": "584c3384-61c5-429d-9e40-c9bcca88ddb0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "764e716e-87b5-4a37-9354-fbcc6c0cf751",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bc09654c-5505-46e5-9645-135bbf938ff0",
"CreateDate": "2026-06-13T10:50:40.0306395-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T10:50:40.0306395-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "45b87b55-5bc1-4fcd-8877-b9bfae014fa3",
"FieldId": "87c37665-8ab6-4401-9a4e-033fedc81a18",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "45b87b55-5bc1-4fcd-8877-b9bfae014fa3",
"FieldId": "87c37665-8ab6-4401-9a4e-033fedc81a18",
"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": "0575b578-be30-4ff9-8e81-d29d76d2165b",
"Section": {
"TaskTypeSectionId": "146dda1b-0dbf-4132-af3d-772ff32894f0",
"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": "584c3384-61c5-429d-9e40-c9bcca88ddb0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "764e716e-87b5-4a37-9354-fbcc6c0cf751",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bc09654c-5505-46e5-9645-135bbf938ff0",
"CreateDate": "2026-06-13T10:50:40.0306395-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T10:50:40.0306395-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "45b87b55-5bc1-4fcd-8877-b9bfae014fa3",
"FieldId": "87c37665-8ab6-4401-9a4e-033fedc81a18",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "45b87b55-5bc1-4fcd-8877-b9bfae014fa3",
"FieldId": "87c37665-8ab6-4401-9a4e-033fedc81a18",
"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": "6f0ad7e7-e22c-4b8e-acd8-d1fc79edbecf",
"CreateDate": "2026-06-13T10:50:40.0306395-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T10:50:40.0306395-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "6a52fb52-ce86-41c6-b01e-28823bc3e348",
"CompanyId": "33d79eb8-b3fc-4155-b04c-417647fc1469",
"TaskStatusTypeId": "3db56655-b7bf-495c-b8ef-7c84d9a09893",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "69cfaa74-c691-456c-bd5e-c20f116f0a36",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "6a52fb52-ce86-41c6-b01e-28823bc3e348",
"CompanyId": "33d79eb8-b3fc-4155-b04c-417647fc1469",
"TaskStatusTypeId": "3db56655-b7bf-495c-b8ef-7c84d9a09893",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "69cfaa74-c691-456c-bd5e-c20f116f0a36",
"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": "668987d3-62b6-4d71-94e1-e040027ddfbf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5d9fadf6-3ff8-430a-b137-2e48a69b0d2c",
"Section": {
"TaskTypeSectionId": "9352ddf3-cb86-4e19-bb73-4e7b561fe6eb",
"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": "2d42c962-0ef1-4f4c-acb9-715261de3218",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "73d99a55-23f9-4512-bb78-1b811d9dcf86",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dab5c479-c284-4f93-936e-3621ad5216f4",
"CreateDate": "2026-06-13T10:50:40.0306395-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T10:50:40.0306395-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "86f002eb-c4b5-4505-bdf6-fddfda936ead",
"FieldId": "7f8c4039-1c36-43b8-94c1-979621a698f4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "86f002eb-c4b5-4505-bdf6-fddfda936ead",
"FieldId": "7f8c4039-1c36-43b8-94c1-979621a698f4",
"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": "5d9fadf6-3ff8-430a-b137-2e48a69b0d2c",
"Section": {
"TaskTypeSectionId": "9352ddf3-cb86-4e19-bb73-4e7b561fe6eb",
"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": "2d42c962-0ef1-4f4c-acb9-715261de3218",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "73d99a55-23f9-4512-bb78-1b811d9dcf86",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dab5c479-c284-4f93-936e-3621ad5216f4",
"CreateDate": "2026-06-13T10:50:40.0306395-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-13T10:50:40.0306395-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "86f002eb-c4b5-4505-bdf6-fddfda936ead",
"FieldId": "7f8c4039-1c36-43b8-94c1-979621a698f4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "86f002eb-c4b5-4505-bdf6-fddfda936ead",
"FieldId": "7f8c4039-1c36-43b8-94c1-979621a698f4",
"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": "f9e57f5e-8199-4acc-a5b3-ada7baf3a292",
"CreateDate": "2026-06-13T10:50:40.0306395-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-13T10:50:40.0306395-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}