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": "5c5c258e-b542-47f5-86d6-c9df25cbcdbe",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "52027384-7b7a-48b1-9b2c-7efe30f6d65a",
"Section": {
"TaskTypeSectionId": "5c298b99-1207-4ff5-aa65-b85b592c6466",
"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": "432a7cac-e1f8-4e18-b6bf-fc24d36854b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f7e1a559-72e7-4e7e-ac55-3a11643e8eee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "64b68c22-5458-4383-942b-bf84d2fe5d8b",
"CreateDate": "2025-11-22T16:20:48.7252235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-22T16:20:48.7252235-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d785ce40-d5ab-45db-8f61-77a793eb4bf2",
"FieldId": "194bf4cf-dd20-4962-8677-3ae6f66dc0d1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d785ce40-d5ab-45db-8f61-77a793eb4bf2",
"FieldId": "194bf4cf-dd20-4962-8677-3ae6f66dc0d1",
"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": "52027384-7b7a-48b1-9b2c-7efe30f6d65a",
"Section": {
"TaskTypeSectionId": "5c298b99-1207-4ff5-aa65-b85b592c6466",
"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": "432a7cac-e1f8-4e18-b6bf-fc24d36854b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f7e1a559-72e7-4e7e-ac55-3a11643e8eee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "64b68c22-5458-4383-942b-bf84d2fe5d8b",
"CreateDate": "2025-11-22T16:20:48.7252235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-22T16:20:48.7252235-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d785ce40-d5ab-45db-8f61-77a793eb4bf2",
"FieldId": "194bf4cf-dd20-4962-8677-3ae6f66dc0d1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d785ce40-d5ab-45db-8f61-77a793eb4bf2",
"FieldId": "194bf4cf-dd20-4962-8677-3ae6f66dc0d1",
"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": "15463b53-21a2-407a-9d40-a59f66487060",
"CreateDate": "2025-11-22T16:20:48.7252235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-22T16:20:48.7252235-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "19595c96-42b7-4023-8797-b0de56fc92a2",
"CompanyId": "2bc0fa4e-ea54-48b8-bd5d-cc0077f8a62a",
"TaskStatusTypeId": "d62d7938-01dc-4923-a9b3-f7c91dd369c0",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "f7693b78-fa72-42cf-ab30-5662a3be841d",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "19595c96-42b7-4023-8797-b0de56fc92a2",
"CompanyId": "2bc0fa4e-ea54-48b8-bd5d-cc0077f8a62a",
"TaskStatusTypeId": "d62d7938-01dc-4923-a9b3-f7c91dd369c0",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "f7693b78-fa72-42cf-ab30-5662a3be841d",
"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": "3954d773-14fa-4588-8cd0-7ac924df555b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4a991412-e455-4fb6-a106-fcdc3b8ff01d",
"Section": {
"TaskTypeSectionId": "02ec73f1-c611-481d-af40-dbad7cfa1355",
"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": "5f187060-0cea-4cfc-ae24-044b0ec01fe4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b4eeb8a5-29ac-4291-8a3d-ad16dc1b9b67",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ea3104ec-5a50-491b-9d7a-9e5c3ca18231",
"CreateDate": "2025-11-22T16:20:48.7252235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-22T16:20:48.7252235-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "366a3a6b-ec22-4621-bb2d-4630c802d34b",
"FieldId": "362f3604-d36e-4374-8af9-22eb4322699f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "366a3a6b-ec22-4621-bb2d-4630c802d34b",
"FieldId": "362f3604-d36e-4374-8af9-22eb4322699f",
"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": "4a991412-e455-4fb6-a106-fcdc3b8ff01d",
"Section": {
"TaskTypeSectionId": "02ec73f1-c611-481d-af40-dbad7cfa1355",
"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": "5f187060-0cea-4cfc-ae24-044b0ec01fe4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b4eeb8a5-29ac-4291-8a3d-ad16dc1b9b67",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ea3104ec-5a50-491b-9d7a-9e5c3ca18231",
"CreateDate": "2025-11-22T16:20:48.7252235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-22T16:20:48.7252235-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "366a3a6b-ec22-4621-bb2d-4630c802d34b",
"FieldId": "362f3604-d36e-4374-8af9-22eb4322699f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "366a3a6b-ec22-4621-bb2d-4630c802d34b",
"FieldId": "362f3604-d36e-4374-8af9-22eb4322699f",
"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": "29ce167f-9f6b-4093-bced-bb3583091c88",
"CreateDate": "2025-11-22T16:20:48.7252235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-22T16:20:48.7252235-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}