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": "43a4c5ed-a120-4966-b0d2-91d5a2f61a4a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c5d98d7b-1da3-42ea-83c3-f378de728b5e",
"Section": {
"TaskTypeSectionId": "85bf4010-dbd2-4543-bb95-71b2a5c8e913",
"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": "707df0bf-5a26-4737-b98f-0c852b0a9325",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2ba948ee-9b14-44df-8f68-adf49acf2fc8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "064522e4-00b6-4ac4-8aa5-6e6042d5da42",
"CreateDate": "2025-11-10T21:12:12.2646104-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T21:12:12.2646104-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "12543bde-ee46-4e6c-9561-947249d96d0f",
"FieldId": "faa11800-ba94-44de-bac6-18844046188a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "12543bde-ee46-4e6c-9561-947249d96d0f",
"FieldId": "faa11800-ba94-44de-bac6-18844046188a",
"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": "c5d98d7b-1da3-42ea-83c3-f378de728b5e",
"Section": {
"TaskTypeSectionId": "85bf4010-dbd2-4543-bb95-71b2a5c8e913",
"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": "707df0bf-5a26-4737-b98f-0c852b0a9325",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2ba948ee-9b14-44df-8f68-adf49acf2fc8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "064522e4-00b6-4ac4-8aa5-6e6042d5da42",
"CreateDate": "2025-11-10T21:12:12.2646104-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T21:12:12.2646104-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "12543bde-ee46-4e6c-9561-947249d96d0f",
"FieldId": "faa11800-ba94-44de-bac6-18844046188a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "12543bde-ee46-4e6c-9561-947249d96d0f",
"FieldId": "faa11800-ba94-44de-bac6-18844046188a",
"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": "02550cb8-e1d3-41f3-9275-b4be39c35e48",
"CreateDate": "2025-11-10T21:12:12.2646104-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-10T21:12:12.2646104-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "3ca29791-fa31-4fe6-ab3c-ef20a4de9eb1",
"CompanyId": "af740c77-0330-41af-971d-7ce949d2b856",
"TaskStatusTypeId": "3e4d6c45-9c21-48ef-a358-9a6a023de220",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "a3c317ac-db8a-40cd-93b6-9edbfb491e26",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "3ca29791-fa31-4fe6-ab3c-ef20a4de9eb1",
"CompanyId": "af740c77-0330-41af-971d-7ce949d2b856",
"TaskStatusTypeId": "3e4d6c45-9c21-48ef-a358-9a6a023de220",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "a3c317ac-db8a-40cd-93b6-9edbfb491e26",
"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": "12f43793-cc75-4cd4-a036-e73a34986998",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "6e910c55-88e3-41c8-b8d9-9acb12a75367",
"Section": {
"TaskTypeSectionId": "93162f62-22e9-4af6-b704-5c957096d929",
"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": "7184c421-afbf-459c-83b9-903dd50a863d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "33b0d57a-2403-4110-8c44-16b8f964993a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3436d9dd-bdf9-456c-bf9b-1411f4170f6c",
"CreateDate": "2025-11-10T21:12:12.2646104-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T21:12:12.2646104-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f7002fc9-0693-4e40-bcee-1302595519dd",
"FieldId": "a958dafd-78f6-439a-9d3d-f4f0215ed6cf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f7002fc9-0693-4e40-bcee-1302595519dd",
"FieldId": "a958dafd-78f6-439a-9d3d-f4f0215ed6cf",
"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": "6e910c55-88e3-41c8-b8d9-9acb12a75367",
"Section": {
"TaskTypeSectionId": "93162f62-22e9-4af6-b704-5c957096d929",
"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": "7184c421-afbf-459c-83b9-903dd50a863d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "33b0d57a-2403-4110-8c44-16b8f964993a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3436d9dd-bdf9-456c-bf9b-1411f4170f6c",
"CreateDate": "2025-11-10T21:12:12.2646104-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-10T21:12:12.2646104-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f7002fc9-0693-4e40-bcee-1302595519dd",
"FieldId": "a958dafd-78f6-439a-9d3d-f4f0215ed6cf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f7002fc9-0693-4e40-bcee-1302595519dd",
"FieldId": "a958dafd-78f6-439a-9d3d-f4f0215ed6cf",
"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": "6287585c-2d2a-4d53-93e3-82de55fc3c29",
"CreateDate": "2025-11-10T21:12:12.2646104-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-10T21:12:12.2646104-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}