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": "cb6fac39-fe8c-43fb-98ab-b58ab3385756",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c7617a8c-cd42-4598-8759-26e1f23e649e",
"Section": {
"TaskTypeSectionId": "3b6de3f8-e47c-49a4-aba3-3725313f11d3",
"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": "fef2c4de-64b3-42fa-84a5-7885d83d5fa0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b13dcf36-45f9-427e-b669-a0e84a9e414f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e1cf376c-46cf-45a7-84cd-56b0d4f3c0e6",
"CreateDate": "2026-03-30T12:48:32.7280713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:48:32.7280713-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "31007d31-c4fe-42ff-b663-5f2a0f22848a",
"FieldId": "2a8c02f8-8d57-4d86-89e9-308c0d91c662",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "31007d31-c4fe-42ff-b663-5f2a0f22848a",
"FieldId": "2a8c02f8-8d57-4d86-89e9-308c0d91c662",
"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": "c7617a8c-cd42-4598-8759-26e1f23e649e",
"Section": {
"TaskTypeSectionId": "3b6de3f8-e47c-49a4-aba3-3725313f11d3",
"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": "fef2c4de-64b3-42fa-84a5-7885d83d5fa0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b13dcf36-45f9-427e-b669-a0e84a9e414f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e1cf376c-46cf-45a7-84cd-56b0d4f3c0e6",
"CreateDate": "2026-03-30T12:48:32.7280713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:48:32.7280713-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "31007d31-c4fe-42ff-b663-5f2a0f22848a",
"FieldId": "2a8c02f8-8d57-4d86-89e9-308c0d91c662",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "31007d31-c4fe-42ff-b663-5f2a0f22848a",
"FieldId": "2a8c02f8-8d57-4d86-89e9-308c0d91c662",
"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": "a00f9d96-813c-4d02-a56f-184d1a61b9ca",
"CreateDate": "2026-03-30T12:48:32.7280713-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T12:48:32.7280713-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "3bdc8d4b-ee9e-4606-858a-a8a5c508ec85",
"CompanyId": "03a7e262-dbb9-4f61-a821-9a9802813b25",
"TaskStatusTypeId": "f734a5d0-98d1-4e05-89bc-86e070d5d59a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d6a2fe44-17d8-4bf1-9510-dd3655525bb2",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "3bdc8d4b-ee9e-4606-858a-a8a5c508ec85",
"CompanyId": "03a7e262-dbb9-4f61-a821-9a9802813b25",
"TaskStatusTypeId": "f734a5d0-98d1-4e05-89bc-86e070d5d59a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d6a2fe44-17d8-4bf1-9510-dd3655525bb2",
"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": "418533f6-ace0-4321-b791-c0c02b4973a2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5aec8466-fd3c-4449-94ce-3bf736fa3be3",
"Section": {
"TaskTypeSectionId": "53ee21ab-1113-409f-a03f-5daf8467df9b",
"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": "be2b4096-abfa-49ec-9309-4b9f8255cacd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c9c7cb12-7d3d-4e18-991e-c904104bdce4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "adf0a72e-0bad-4020-98a4-fcee05420bff",
"CreateDate": "2026-03-30T12:48:32.7280713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:48:32.7280713-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c112f668-1471-4f27-b735-7e997bcd50c8",
"FieldId": "631facca-933f-40f1-80c4-393bcaf8eb1a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c112f668-1471-4f27-b735-7e997bcd50c8",
"FieldId": "631facca-933f-40f1-80c4-393bcaf8eb1a",
"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": "5aec8466-fd3c-4449-94ce-3bf736fa3be3",
"Section": {
"TaskTypeSectionId": "53ee21ab-1113-409f-a03f-5daf8467df9b",
"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": "be2b4096-abfa-49ec-9309-4b9f8255cacd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c9c7cb12-7d3d-4e18-991e-c904104bdce4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "adf0a72e-0bad-4020-98a4-fcee05420bff",
"CreateDate": "2026-03-30T12:48:32.7280713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:48:32.7280713-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c112f668-1471-4f27-b735-7e997bcd50c8",
"FieldId": "631facca-933f-40f1-80c4-393bcaf8eb1a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c112f668-1471-4f27-b735-7e997bcd50c8",
"FieldId": "631facca-933f-40f1-80c4-393bcaf8eb1a",
"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": "ef0ee827-dd6c-4a50-9bcb-1ec5481905f6",
"CreateDate": "2026-03-30T12:48:32.7280713-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T12:48:32.7280713-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}