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": "73e07449-0661-431b-a9dc-f3cbb483608f",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7bbc2663-cd5f-4528-9e99-a38fca143cc6",
"Section": {
"TaskTypeSectionId": "e6491472-cddd-44a9-a74b-5765af8aefd3",
"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": "9975da0a-3ca9-437f-bd4c-6826ba6a3b48",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9fce9cb9-221c-4c86-8b60-47585a07ab33",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2e84bc25-98ac-4f87-8a38-db318f323ed1",
"CreateDate": "2026-02-26T14:20:25.8629889-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-26T14:20:25.8629889-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "02a652f2-22d2-4884-9424-e7c6b76dff6f",
"FieldId": "1156b149-260e-4811-a3d4-2318fb2d07fb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "02a652f2-22d2-4884-9424-e7c6b76dff6f",
"FieldId": "1156b149-260e-4811-a3d4-2318fb2d07fb",
"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": "7bbc2663-cd5f-4528-9e99-a38fca143cc6",
"Section": {
"TaskTypeSectionId": "e6491472-cddd-44a9-a74b-5765af8aefd3",
"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": "9975da0a-3ca9-437f-bd4c-6826ba6a3b48",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9fce9cb9-221c-4c86-8b60-47585a07ab33",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2e84bc25-98ac-4f87-8a38-db318f323ed1",
"CreateDate": "2026-02-26T14:20:25.8629889-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-26T14:20:25.8629889-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "02a652f2-22d2-4884-9424-e7c6b76dff6f",
"FieldId": "1156b149-260e-4811-a3d4-2318fb2d07fb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "02a652f2-22d2-4884-9424-e7c6b76dff6f",
"FieldId": "1156b149-260e-4811-a3d4-2318fb2d07fb",
"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": "9b56caa9-85f5-40c4-b90f-e990ff94e28b",
"CreateDate": "2026-02-26T14:20:25.8629889-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-26T14:20:25.8629889-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "ee2250b5-732d-463c-9c2b-8818e4cbf41f",
"CompanyId": "8b31ce2f-aa35-42d6-8f24-d048d8931050",
"TaskStatusTypeId": "d1aa9c23-70cb-49a5-9c58-cc0497087378",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "5a793dd8-e327-461a-a8f4-d11b1eab9538",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "ee2250b5-732d-463c-9c2b-8818e4cbf41f",
"CompanyId": "8b31ce2f-aa35-42d6-8f24-d048d8931050",
"TaskStatusTypeId": "d1aa9c23-70cb-49a5-9c58-cc0497087378",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "5a793dd8-e327-461a-a8f4-d11b1eab9538",
"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": "7a26fa83-9080-410a-ad2b-4a9a29bf3a22",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e609bff9-176b-4eed-8e8f-ac89ec114fb5",
"Section": {
"TaskTypeSectionId": "1b295c17-c7d0-42c8-8d0f-9703e6251c2e",
"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": "ee6da0e3-9ae2-4e4a-899a-d2c9dc52ca69",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "39b2dfba-0e89-404b-aeab-2015312df894",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "64f0a98e-b18b-4eee-bc22-3f4d01e6121f",
"CreateDate": "2026-02-26T14:20:25.8629889-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-26T14:20:25.8629889-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e83aadeb-a60d-4ff6-b55f-f071ec2c075e",
"FieldId": "54819c27-1b0c-4687-9843-9dce6d36e1eb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e83aadeb-a60d-4ff6-b55f-f071ec2c075e",
"FieldId": "54819c27-1b0c-4687-9843-9dce6d36e1eb",
"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": "e609bff9-176b-4eed-8e8f-ac89ec114fb5",
"Section": {
"TaskTypeSectionId": "1b295c17-c7d0-42c8-8d0f-9703e6251c2e",
"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": "ee6da0e3-9ae2-4e4a-899a-d2c9dc52ca69",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "39b2dfba-0e89-404b-aeab-2015312df894",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "64f0a98e-b18b-4eee-bc22-3f4d01e6121f",
"CreateDate": "2026-02-26T14:20:25.8629889-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-26T14:20:25.8629889-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e83aadeb-a60d-4ff6-b55f-f071ec2c075e",
"FieldId": "54819c27-1b0c-4687-9843-9dce6d36e1eb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e83aadeb-a60d-4ff6-b55f-f071ec2c075e",
"FieldId": "54819c27-1b0c-4687-9843-9dce6d36e1eb",
"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": "1b5f2774-933b-4c44-a5f4-69186f4f56b3",
"CreateDate": "2026-02-26T14:20:25.8629889-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-26T14:20:25.8629889-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}