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": "42152af7-e5d4-4b0d-8af1-91f3cab6ab4d",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "54ca849f-bf84-4d2a-a0ea-9f6f8e2c3cfc",
"Section": {
"TaskTypeSectionId": "61291f22-0b02-4349-93c3-71db037b9cb3",
"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": "7631a2d9-f205-43a7-83ab-3df60db89252",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07625b36-f5ba-40ec-a460-92a1a55142b9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dc1b52a2-4cd7-4b18-ab3f-16917f4213ee",
"CreateDate": "2026-03-13T11:21:04.2889607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T11:21:04.2889607-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a20c51e5-fb1a-4188-ab14-9bf313919c7b",
"FieldId": "b0ce69fa-d8bf-456b-ab60-ae7e18d8bfb5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a20c51e5-fb1a-4188-ab14-9bf313919c7b",
"FieldId": "b0ce69fa-d8bf-456b-ab60-ae7e18d8bfb5",
"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": "54ca849f-bf84-4d2a-a0ea-9f6f8e2c3cfc",
"Section": {
"TaskTypeSectionId": "61291f22-0b02-4349-93c3-71db037b9cb3",
"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": "7631a2d9-f205-43a7-83ab-3df60db89252",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07625b36-f5ba-40ec-a460-92a1a55142b9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dc1b52a2-4cd7-4b18-ab3f-16917f4213ee",
"CreateDate": "2026-03-13T11:21:04.2889607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T11:21:04.2889607-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a20c51e5-fb1a-4188-ab14-9bf313919c7b",
"FieldId": "b0ce69fa-d8bf-456b-ab60-ae7e18d8bfb5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a20c51e5-fb1a-4188-ab14-9bf313919c7b",
"FieldId": "b0ce69fa-d8bf-456b-ab60-ae7e18d8bfb5",
"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": "47ad7719-e07b-4371-aa03-ea16dc45b607",
"CreateDate": "2026-03-13T11:21:04.2889607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T11:21:04.2889607-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "74e198c4-f0f8-4422-b94d-adeafa7a4bcf",
"CompanyId": "6660a61b-926e-4b56-8719-a354fc4e7ab9",
"TaskStatusTypeId": "d8adc1be-2e7c-412f-89c0-f27c1bb03c18",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c60a5607-4c40-4236-8f17-98d3fbb7882b",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "74e198c4-f0f8-4422-b94d-adeafa7a4bcf",
"CompanyId": "6660a61b-926e-4b56-8719-a354fc4e7ab9",
"TaskStatusTypeId": "d8adc1be-2e7c-412f-89c0-f27c1bb03c18",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c60a5607-4c40-4236-8f17-98d3fbb7882b",
"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": "2fa61d75-28d3-4c36-bb28-e88e8557a143",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "fbef303d-2522-4b0e-a078-0fb0e8c7752f",
"Section": {
"TaskTypeSectionId": "45ca3bc5-5e8b-4ed3-a9ae-3834f190db72",
"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": "0e2a22bd-e7ce-401e-8517-ff05a8eabfe0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c39ef80-d02a-4e55-9fd7-69212df72872",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ef8cafd-430e-4a55-aeee-6113bb969431",
"CreateDate": "2026-03-13T11:21:04.2889607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T11:21:04.2889607-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "59049f4b-e7da-4820-9f9c-07974906af9b",
"FieldId": "b34223ee-eea3-4634-811c-40a04914ded6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "59049f4b-e7da-4820-9f9c-07974906af9b",
"FieldId": "b34223ee-eea3-4634-811c-40a04914ded6",
"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": "fbef303d-2522-4b0e-a078-0fb0e8c7752f",
"Section": {
"TaskTypeSectionId": "45ca3bc5-5e8b-4ed3-a9ae-3834f190db72",
"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": "0e2a22bd-e7ce-401e-8517-ff05a8eabfe0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c39ef80-d02a-4e55-9fd7-69212df72872",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ef8cafd-430e-4a55-aeee-6113bb969431",
"CreateDate": "2026-03-13T11:21:04.2889607-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T11:21:04.2889607-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "59049f4b-e7da-4820-9f9c-07974906af9b",
"FieldId": "b34223ee-eea3-4634-811c-40a04914ded6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "59049f4b-e7da-4820-9f9c-07974906af9b",
"FieldId": "b34223ee-eea3-4634-811c-40a04914ded6",
"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": "3bf1795d-b43e-4d66-826c-26ce0ca2d5db",
"CreateDate": "2026-03-13T11:21:04.2889607-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T11:21:04.2889607-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}