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": "e4806911-2a81-4fc7-b3d9-d78a964e0fc7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "96efd0ec-487a-4f14-8346-7ff18d04d3dc",
"Section": {
"TaskTypeSectionId": "83d354d2-ea32-4fcd-acdf-afe2c12ac9e8",
"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": "5d8ca470-575c-4c8f-9b68-d68b78fc6883",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5008cf63-2fc8-43e9-b8e5-b3757b0bfbb3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2efb84ca-89e4-41db-8169-f1fff0d60009",
"CreateDate": "2026-11-26T16:51:17.5684794-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-26T16:51:17.5684794-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "809c98f0-dea6-4619-883b-a22abd8627b1",
"FieldId": "bb66320c-6024-408c-858e-e979c4d77dbe",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "809c98f0-dea6-4619-883b-a22abd8627b1",
"FieldId": "bb66320c-6024-408c-858e-e979c4d77dbe",
"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": "96efd0ec-487a-4f14-8346-7ff18d04d3dc",
"Section": {
"TaskTypeSectionId": "83d354d2-ea32-4fcd-acdf-afe2c12ac9e8",
"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": "5d8ca470-575c-4c8f-9b68-d68b78fc6883",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5008cf63-2fc8-43e9-b8e5-b3757b0bfbb3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2efb84ca-89e4-41db-8169-f1fff0d60009",
"CreateDate": "2026-11-26T16:51:17.5684794-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-26T16:51:17.5684794-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "809c98f0-dea6-4619-883b-a22abd8627b1",
"FieldId": "bb66320c-6024-408c-858e-e979c4d77dbe",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "809c98f0-dea6-4619-883b-a22abd8627b1",
"FieldId": "bb66320c-6024-408c-858e-e979c4d77dbe",
"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": "6aeef05e-9c1d-4f44-aaf0-7adb11e7c0ba",
"CreateDate": "2026-11-26T16:51:17.5684794-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-26T16:51:17.5684794-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "11c3234d-420a-45a6-a740-74001cf9e076",
"CompanyId": "395f53ab-ec97-403c-af76-8f34b65ef1e9",
"TaskStatusTypeId": "0156b525-af31-4f5e-9604-fa53e19135e2",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "110df652-cdeb-44be-a8f4-526d9ceb1bf9",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "11c3234d-420a-45a6-a740-74001cf9e076",
"CompanyId": "395f53ab-ec97-403c-af76-8f34b65ef1e9",
"TaskStatusTypeId": "0156b525-af31-4f5e-9604-fa53e19135e2",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "110df652-cdeb-44be-a8f4-526d9ceb1bf9",
"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": "306d117d-b743-4b3e-8541-2054f10c7fcb",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "964b3d6b-8600-4a0a-a38a-553833fb2755",
"Section": {
"TaskTypeSectionId": "f6d230a1-b0b0-4fcc-a854-bb4eb9428c41",
"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": "adc43ee1-2e95-47be-ad61-0818e12a3c65",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "423d332b-9708-46e4-903f-f46e7cb81094",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bc40ac93-2f59-4849-b549-a070b4a94daf",
"CreateDate": "2026-11-26T16:51:17.5841017-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-26T16:51:17.5841017-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "88382fb5-5ffd-492c-8598-3cd1d781ca0a",
"FieldId": "dcd6baad-83c3-47af-8584-f3ddf0ab2089",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "88382fb5-5ffd-492c-8598-3cd1d781ca0a",
"FieldId": "dcd6baad-83c3-47af-8584-f3ddf0ab2089",
"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": "964b3d6b-8600-4a0a-a38a-553833fb2755",
"Section": {
"TaskTypeSectionId": "f6d230a1-b0b0-4fcc-a854-bb4eb9428c41",
"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": "adc43ee1-2e95-47be-ad61-0818e12a3c65",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "423d332b-9708-46e4-903f-f46e7cb81094",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bc40ac93-2f59-4849-b549-a070b4a94daf",
"CreateDate": "2026-11-26T16:51:17.5841017-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-26T16:51:17.5841017-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "88382fb5-5ffd-492c-8598-3cd1d781ca0a",
"FieldId": "dcd6baad-83c3-47af-8584-f3ddf0ab2089",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "88382fb5-5ffd-492c-8598-3cd1d781ca0a",
"FieldId": "dcd6baad-83c3-47af-8584-f3ddf0ab2089",
"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": "5fa4e47a-61f4-429c-8306-e6cf2f0dba4f",
"CreateDate": "2026-11-26T16:51:17.5841017-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-26T16:51:17.5841017-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}