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": "38fbbfac-2110-4082-9eae-bebc0d11a8ef",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "94af3bfd-16c3-40bc-a699-2b3725c537ed",
"Section": {
"TaskTypeSectionId": "c3554f22-71b9-4591-bd6f-45d7ae3dc138",
"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": "2cf1c8b8-ffbb-41d2-bb26-e8a5c539b7f4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d5396358-10eb-468a-b68e-f87ff864a285",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1508d991-3c69-46a1-b555-e5462a55cfa2",
"CreateDate": "2025-12-25T15:20:18.4073751-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-25T15:20:18.4073751-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "58e964c1-5910-4d49-b73e-de798fe4dff4",
"FieldId": "7c2ba269-53c4-4c4a-915b-7054ad629881",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "58e964c1-5910-4d49-b73e-de798fe4dff4",
"FieldId": "7c2ba269-53c4-4c4a-915b-7054ad629881",
"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": "94af3bfd-16c3-40bc-a699-2b3725c537ed",
"Section": {
"TaskTypeSectionId": "c3554f22-71b9-4591-bd6f-45d7ae3dc138",
"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": "2cf1c8b8-ffbb-41d2-bb26-e8a5c539b7f4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d5396358-10eb-468a-b68e-f87ff864a285",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1508d991-3c69-46a1-b555-e5462a55cfa2",
"CreateDate": "2025-12-25T15:20:18.4073751-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-25T15:20:18.4073751-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "58e964c1-5910-4d49-b73e-de798fe4dff4",
"FieldId": "7c2ba269-53c4-4c4a-915b-7054ad629881",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "58e964c1-5910-4d49-b73e-de798fe4dff4",
"FieldId": "7c2ba269-53c4-4c4a-915b-7054ad629881",
"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": "499f18e6-91a8-4f63-a01c-87686d3b683c",
"CreateDate": "2025-12-25T15:20:18.4073751-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-25T15:20:18.4073751-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "19797b02-17e7-4591-9317-62fda963db25",
"CompanyId": "76d0c084-fb6a-4436-984c-05a66b0dd7d7",
"TaskStatusTypeId": "9bae4ce5-b51f-4b7a-b548-434b0b615569",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "49a03811-7084-4e1c-87f1-9dccf234fff9",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "19797b02-17e7-4591-9317-62fda963db25",
"CompanyId": "76d0c084-fb6a-4436-984c-05a66b0dd7d7",
"TaskStatusTypeId": "9bae4ce5-b51f-4b7a-b548-434b0b615569",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "49a03811-7084-4e1c-87f1-9dccf234fff9",
"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": "d0b78371-c051-4770-9b62-a1091a4c51bf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a2864126-631a-4ad6-b39e-01991a52ee6e",
"Section": {
"TaskTypeSectionId": "06d3fcf4-b007-4251-aa2c-8eaba9c2936c",
"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": "8f041a2f-ade8-4dab-af96-547c8d619925",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b3f7e04f-df94-4078-866d-af271a41e849",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "19962a14-fcc6-4b31-b3b8-c7692b6ca56b",
"CreateDate": "2025-12-25T15:20:18.4073751-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-25T15:20:18.4073751-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "641a73cc-846f-4e80-983f-2d08b3878741",
"FieldId": "32488c0d-4f60-46e3-abf5-7c75655b9cae",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "641a73cc-846f-4e80-983f-2d08b3878741",
"FieldId": "32488c0d-4f60-46e3-abf5-7c75655b9cae",
"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": "a2864126-631a-4ad6-b39e-01991a52ee6e",
"Section": {
"TaskTypeSectionId": "06d3fcf4-b007-4251-aa2c-8eaba9c2936c",
"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": "8f041a2f-ade8-4dab-af96-547c8d619925",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b3f7e04f-df94-4078-866d-af271a41e849",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "19962a14-fcc6-4b31-b3b8-c7692b6ca56b",
"CreateDate": "2025-12-25T15:20:18.4073751-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-25T15:20:18.4073751-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "641a73cc-846f-4e80-983f-2d08b3878741",
"FieldId": "32488c0d-4f60-46e3-abf5-7c75655b9cae",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "641a73cc-846f-4e80-983f-2d08b3878741",
"FieldId": "32488c0d-4f60-46e3-abf5-7c75655b9cae",
"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": "419c5541-c138-4aa7-8cbf-e3ee90d8d851",
"CreateDate": "2025-12-25T15:20:18.4073751-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-25T15:20:18.4073751-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}