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": "e945e278-0f68-43e5-80f6-e591991ac2eb",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "8d4ed236-3698-4bdf-abb4-1346cb85ff08",
"Section": {
"TaskTypeSectionId": "df20e492-1a4c-45f0-ab45-ac39cefa9ef7",
"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": "fcf531ab-5046-4034-aa9b-590152fec25f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "10d83fdc-58e9-4a7e-886d-7c143b1c90db",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2bdc2d0e-3d2b-4aff-9d76-64089d165939",
"CreateDate": "2025-11-17T21:38:26.1942816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T21:38:26.1942816-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6ad7490b-8ef1-4e47-9c40-fb094359bbb6",
"FieldId": "954a824c-2640-4e75-b101-06872f6a1a83",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6ad7490b-8ef1-4e47-9c40-fb094359bbb6",
"FieldId": "954a824c-2640-4e75-b101-06872f6a1a83",
"FieldName": "sample string 1",
"FieldLable": "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": "8d4ed236-3698-4bdf-abb4-1346cb85ff08",
"Section": {
"TaskTypeSectionId": "df20e492-1a4c-45f0-ab45-ac39cefa9ef7",
"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": "fcf531ab-5046-4034-aa9b-590152fec25f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "10d83fdc-58e9-4a7e-886d-7c143b1c90db",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2bdc2d0e-3d2b-4aff-9d76-64089d165939",
"CreateDate": "2025-11-17T21:38:26.1942816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T21:38:26.1942816-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6ad7490b-8ef1-4e47-9c40-fb094359bbb6",
"FieldId": "954a824c-2640-4e75-b101-06872f6a1a83",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6ad7490b-8ef1-4e47-9c40-fb094359bbb6",
"FieldId": "954a824c-2640-4e75-b101-06872f6a1a83",
"FieldName": "sample string 1",
"FieldLable": "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": "bb56096c-53cf-4acd-81d3-80064777d428",
"CreateDate": "2025-11-17T21:38:26.1942816-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T21:38:26.1942816-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "2ae4f008-0c4f-4a86-bcb1-6fd8ea7e304b",
"CompanyId": "31189d57-1961-43d2-adf9-df62a011808c",
"TaskStatusTypeId": "6570c40e-d68a-449c-bb77-fca5445d92ee",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c5c76d12-4763-4a33-bfe9-1cea4f51f75c",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "2ae4f008-0c4f-4a86-bcb1-6fd8ea7e304b",
"CompanyId": "31189d57-1961-43d2-adf9-df62a011808c",
"TaskStatusTypeId": "6570c40e-d68a-449c-bb77-fca5445d92ee",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c5c76d12-4763-4a33-bfe9-1cea4f51f75c",
"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": "a1a70562-b835-41f6-a628-fe8262d86451",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ef6f5e41-efe7-45d6-97a2-ad4832bf1dc3",
"Section": {
"TaskTypeSectionId": "45068d9c-2109-435b-ad40-65f0a0fdce90",
"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": "11fd4227-5a08-4b9d-9162-33f1016ad9e5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "86d3cd41-9164-4f52-8ab1-58102d1d2786",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "06a04b28-286a-46d8-aa83-f9e643a82181",
"CreateDate": "2025-11-17T21:38:26.1942816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T21:38:26.1942816-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9a38bdbf-e394-4040-8583-a186fea2c596",
"FieldId": "c2b0f9ea-73d4-4045-9803-abb16d466ec4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9a38bdbf-e394-4040-8583-a186fea2c596",
"FieldId": "c2b0f9ea-73d4-4045-9803-abb16d466ec4",
"FieldName": "sample string 1",
"FieldLable": "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": "ef6f5e41-efe7-45d6-97a2-ad4832bf1dc3",
"Section": {
"TaskTypeSectionId": "45068d9c-2109-435b-ad40-65f0a0fdce90",
"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": "11fd4227-5a08-4b9d-9162-33f1016ad9e5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "86d3cd41-9164-4f52-8ab1-58102d1d2786",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "06a04b28-286a-46d8-aa83-f9e643a82181",
"CreateDate": "2025-11-17T21:38:26.1942816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T21:38:26.1942816-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9a38bdbf-e394-4040-8583-a186fea2c596",
"FieldId": "c2b0f9ea-73d4-4045-9803-abb16d466ec4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9a38bdbf-e394-4040-8583-a186fea2c596",
"FieldId": "c2b0f9ea-73d4-4045-9803-abb16d466ec4",
"FieldName": "sample string 1",
"FieldLable": "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": "53b787c2-0332-4c37-9ca1-e1638d7d349b",
"CreateDate": "2025-11-17T21:38:26.1942816-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T21:38:26.1942816-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}