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": "94dfeefc-2441-4110-8c6d-394118fc1fe7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "dd0b0782-9145-4f55-8dcb-a13977e16014",
"Section": {
"TaskTypeSectionId": "3514b8c7-2813-433e-8016-980c19ade8ac",
"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": "7d1245cb-e384-4edf-bb24-1157656cf84f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6006a5b8-07f9-4d0d-836f-82f07bd0b905",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0c6c6d27-29d8-457d-b97f-c7ddaa15d7f4",
"CreateDate": "2026-08-29T21:29:28.9239332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T21:29:28.9239332-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e0bcfaf-cd19-4441-a13a-5cfdd385ddfa",
"FieldId": "e451aa90-8acf-4cf9-ab7d-00939c058ccb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e0bcfaf-cd19-4441-a13a-5cfdd385ddfa",
"FieldId": "e451aa90-8acf-4cf9-ab7d-00939c058ccb",
"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": "dd0b0782-9145-4f55-8dcb-a13977e16014",
"Section": {
"TaskTypeSectionId": "3514b8c7-2813-433e-8016-980c19ade8ac",
"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": "7d1245cb-e384-4edf-bb24-1157656cf84f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6006a5b8-07f9-4d0d-836f-82f07bd0b905",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0c6c6d27-29d8-457d-b97f-c7ddaa15d7f4",
"CreateDate": "2026-08-29T21:29:28.9239332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T21:29:28.9239332-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e0bcfaf-cd19-4441-a13a-5cfdd385ddfa",
"FieldId": "e451aa90-8acf-4cf9-ab7d-00939c058ccb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e0bcfaf-cd19-4441-a13a-5cfdd385ddfa",
"FieldId": "e451aa90-8acf-4cf9-ab7d-00939c058ccb",
"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": "21ba061b-b9c9-447c-8091-97c7d49b8a31",
"CreateDate": "2026-08-29T21:29:28.9394849-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T21:29:28.9394849-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "88174848-69b8-46da-87c2-7dfabe45f3c1",
"CompanyId": "6bbfcab0-eec8-4e62-b8d8-bbd6c8e050f0",
"TaskStatusTypeId": "8b1602c5-86f1-4bde-a3c6-502fe22c1ecb",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c9bb8221-4335-4a71-8480-656d77cd8364",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "88174848-69b8-46da-87c2-7dfabe45f3c1",
"CompanyId": "6bbfcab0-eec8-4e62-b8d8-bbd6c8e050f0",
"TaskStatusTypeId": "8b1602c5-86f1-4bde-a3c6-502fe22c1ecb",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c9bb8221-4335-4a71-8480-656d77cd8364",
"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": "f068e056-9331-4020-9324-cbfd1041cd38",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "1b152b22-d52b-461f-8d6d-0e67e275fd48",
"Section": {
"TaskTypeSectionId": "023c9743-52fa-47fa-96ee-2ff9cdbe97cc",
"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": "b0bc3650-9347-4f36-8ca6-cf8fcb6040bf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2b027d0a-5cee-4fa2-98b0-d3cae9ccd556",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9e8440de-e823-40e9-b99d-59a577c5f28b",
"CreateDate": "2026-08-29T21:29:28.9551077-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T21:29:28.9551077-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f8a2aef1-5700-4a4f-b84d-b377d49c5e94",
"FieldId": "2b9a4b32-ea51-4cd7-bffa-3d25ddaf048c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f8a2aef1-5700-4a4f-b84d-b377d49c5e94",
"FieldId": "2b9a4b32-ea51-4cd7-bffa-3d25ddaf048c",
"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": "1b152b22-d52b-461f-8d6d-0e67e275fd48",
"Section": {
"TaskTypeSectionId": "023c9743-52fa-47fa-96ee-2ff9cdbe97cc",
"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": "b0bc3650-9347-4f36-8ca6-cf8fcb6040bf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2b027d0a-5cee-4fa2-98b0-d3cae9ccd556",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9e8440de-e823-40e9-b99d-59a577c5f28b",
"CreateDate": "2026-08-29T21:29:28.9551077-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-29T21:29:28.9551077-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f8a2aef1-5700-4a4f-b84d-b377d49c5e94",
"FieldId": "2b9a4b32-ea51-4cd7-bffa-3d25ddaf048c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f8a2aef1-5700-4a4f-b84d-b377d49c5e94",
"FieldId": "2b9a4b32-ea51-4cd7-bffa-3d25ddaf048c",
"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": "6aeb6b8c-5032-49e2-89c9-a48f86603795",
"CreateDate": "2026-08-29T21:29:28.9551077-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-29T21:29:28.9551077-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}