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": "5e794cb4-9165-4bd9-ba23-1ee512786dc5",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e564a556-d47a-45f9-82bb-018b4f5c6295",
"Section": {
"TaskTypeSectionId": "aa47d2f6-42b9-494c-8c93-83e6e95f2c3f",
"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": "77eb9de7-b93d-455f-a5f4-146857f0459b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "390d720c-c1f2-48f3-9b8e-249accd1757e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f70994fb-e969-49f5-a8dd-9aca9b5a327c",
"CreateDate": "2026-06-11T12:01:00.073901-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-11T12:01:00.073901-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a459997e-1f58-42b7-b527-9ec120c2e22e",
"FieldId": "c13c203a-2eaf-4c07-a368-de6aa312d251",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a459997e-1f58-42b7-b527-9ec120c2e22e",
"FieldId": "c13c203a-2eaf-4c07-a368-de6aa312d251",
"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": "e564a556-d47a-45f9-82bb-018b4f5c6295",
"Section": {
"TaskTypeSectionId": "aa47d2f6-42b9-494c-8c93-83e6e95f2c3f",
"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": "77eb9de7-b93d-455f-a5f4-146857f0459b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "390d720c-c1f2-48f3-9b8e-249accd1757e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f70994fb-e969-49f5-a8dd-9aca9b5a327c",
"CreateDate": "2026-06-11T12:01:00.073901-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-11T12:01:00.073901-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a459997e-1f58-42b7-b527-9ec120c2e22e",
"FieldId": "c13c203a-2eaf-4c07-a368-de6aa312d251",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a459997e-1f58-42b7-b527-9ec120c2e22e",
"FieldId": "c13c203a-2eaf-4c07-a368-de6aa312d251",
"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": "719d7fe2-8c70-495e-86be-5bd5a75ad8e8",
"CreateDate": "2026-06-11T12:01:00.073901-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-11T12:01:00.073901-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "9a4e273c-da65-45c7-bda1-f96b325e32ca",
"CompanyId": "bc853e0e-d7e0-42e7-a372-6378f6d6886d",
"TaskStatusTypeId": "ed40ab74-7313-49da-89dc-6dd20e661ce2",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "eda4c114-9d74-4bf8-bf0d-21f408932a14",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "9a4e273c-da65-45c7-bda1-f96b325e32ca",
"CompanyId": "bc853e0e-d7e0-42e7-a372-6378f6d6886d",
"TaskStatusTypeId": "ed40ab74-7313-49da-89dc-6dd20e661ce2",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "eda4c114-9d74-4bf8-bf0d-21f408932a14",
"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": "b37cb7c2-017d-4b59-ade7-63c9db2cce5e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d8d90f3a-7291-4f1b-b0f8-095cd604fb79",
"Section": {
"TaskTypeSectionId": "fddbc939-254e-4a41-9604-814731a91e20",
"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": "cf87c97b-3c59-42d8-9846-9419c9f2904a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7c2a6e7a-1573-4fa6-8253-4980665a94f0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a98248b2-2cb6-410b-b9cb-296bc979b52d",
"CreateDate": "2026-06-11T12:01:00.073901-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-11T12:01:00.073901-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c4facee7-4f5f-495d-9482-64126d2ad453",
"FieldId": "d3cb9983-432b-4e5a-978b-f62b64b80907",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c4facee7-4f5f-495d-9482-64126d2ad453",
"FieldId": "d3cb9983-432b-4e5a-978b-f62b64b80907",
"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": "d8d90f3a-7291-4f1b-b0f8-095cd604fb79",
"Section": {
"TaskTypeSectionId": "fddbc939-254e-4a41-9604-814731a91e20",
"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": "cf87c97b-3c59-42d8-9846-9419c9f2904a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7c2a6e7a-1573-4fa6-8253-4980665a94f0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a98248b2-2cb6-410b-b9cb-296bc979b52d",
"CreateDate": "2026-06-11T12:01:00.073901-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-11T12:01:00.073901-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c4facee7-4f5f-495d-9482-64126d2ad453",
"FieldId": "d3cb9983-432b-4e5a-978b-f62b64b80907",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c4facee7-4f5f-495d-9482-64126d2ad453",
"FieldId": "d3cb9983-432b-4e5a-978b-f62b64b80907",
"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": "03bc8136-ae6c-46b5-b87a-264638b12d4f",
"CreateDate": "2026-06-11T12:01:00.073901-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-11T12:01:00.073901-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}