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": "3abcff89-bce5-4bc7-956a-c222b8798a45",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "571ec791-79d4-4d63-9012-f982c3195067",
"Section": {
"TaskTypeSectionId": "f0319588-8a88-46f4-88a0-04c5d63de57b",
"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": "deea112e-8a7e-4bfc-b595-e75cab97d2c7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "60bc5975-0daf-447a-a885-6a682dda485a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "df073e55-b779-4094-8a97-b91ec577039b",
"CreateDate": "2026-02-06T05:11:39.1169784-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-06T05:11:39.1169784-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "31f0ce6b-f8b3-4b44-a053-94f48f065229",
"FieldId": "5c2d075a-0fef-493b-ac77-3c09ecaceed8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "31f0ce6b-f8b3-4b44-a053-94f48f065229",
"FieldId": "5c2d075a-0fef-493b-ac77-3c09ecaceed8",
"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": "571ec791-79d4-4d63-9012-f982c3195067",
"Section": {
"TaskTypeSectionId": "f0319588-8a88-46f4-88a0-04c5d63de57b",
"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": "deea112e-8a7e-4bfc-b595-e75cab97d2c7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "60bc5975-0daf-447a-a885-6a682dda485a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "df073e55-b779-4094-8a97-b91ec577039b",
"CreateDate": "2026-02-06T05:11:39.1169784-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-06T05:11:39.1169784-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "31f0ce6b-f8b3-4b44-a053-94f48f065229",
"FieldId": "5c2d075a-0fef-493b-ac77-3c09ecaceed8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "31f0ce6b-f8b3-4b44-a053-94f48f065229",
"FieldId": "5c2d075a-0fef-493b-ac77-3c09ecaceed8",
"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": "299c6def-ca7d-401a-84ae-0b4ac1da9584",
"CreateDate": "2026-02-06T05:11:39.1169784-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-06T05:11:39.1169784-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "0db1ea9f-2232-4edf-ba83-027234a084c6",
"CompanyId": "bd9a8b45-067e-4595-850d-e7d8ac66aea3",
"TaskStatusTypeId": "96f08c84-546d-4423-9d06-ffb66dce1524",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "45eea371-d795-46c0-9d8c-f19655216a4e",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "0db1ea9f-2232-4edf-ba83-027234a084c6",
"CompanyId": "bd9a8b45-067e-4595-850d-e7d8ac66aea3",
"TaskStatusTypeId": "96f08c84-546d-4423-9d06-ffb66dce1524",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "45eea371-d795-46c0-9d8c-f19655216a4e",
"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": "68b94791-1dda-47cd-8024-6030e0c13360",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7020fcc0-dc84-448d-80a6-65b407dcee96",
"Section": {
"TaskTypeSectionId": "2556e3a4-5beb-4450-b446-ca19e5d16347",
"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": "e784e338-3430-43bb-83f6-8795ca7b2732",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dfdf7c43-c8bd-4ba1-9945-eb2d5ee89be1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8393a8cc-9667-45cc-b897-0de6e6b57319",
"CreateDate": "2026-02-06T05:11:39.132569-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-06T05:11:39.132569-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ddbc860b-068e-4dfd-a399-9da76fa6f04e",
"FieldId": "12f7bcfb-9398-4bd2-b464-8d976f594a57",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ddbc860b-068e-4dfd-a399-9da76fa6f04e",
"FieldId": "12f7bcfb-9398-4bd2-b464-8d976f594a57",
"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": "7020fcc0-dc84-448d-80a6-65b407dcee96",
"Section": {
"TaskTypeSectionId": "2556e3a4-5beb-4450-b446-ca19e5d16347",
"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": "e784e338-3430-43bb-83f6-8795ca7b2732",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dfdf7c43-c8bd-4ba1-9945-eb2d5ee89be1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8393a8cc-9667-45cc-b897-0de6e6b57319",
"CreateDate": "2026-02-06T05:11:39.132569-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-06T05:11:39.132569-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ddbc860b-068e-4dfd-a399-9da76fa6f04e",
"FieldId": "12f7bcfb-9398-4bd2-b464-8d976f594a57",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ddbc860b-068e-4dfd-a399-9da76fa6f04e",
"FieldId": "12f7bcfb-9398-4bd2-b464-8d976f594a57",
"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": "11b96039-853f-49e0-852a-a32a88a7c6b8",
"CreateDate": "2026-02-06T05:11:39.132569-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-06T05:11:39.132569-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}