diff --git a/AsbCloudWebApi/Controllers/WellOperationController.cs b/AsbCloudWebApi/Controllers/WellOperationController.cs
index c5174f2c..5492ea24 100644
--- a/AsbCloudWebApi/Controllers/WellOperationController.cs
+++ b/AsbCloudWebApi/Controllers/WellOperationController.cs
@@ -51,14 +51,15 @@ namespace AsbCloudWebApi.Controllers
///
/// Возвращает список имен типов операций на скважине
///
+ /// флаг, нужно ли включать родителей в список
///
[HttpGet]
[Route("categories")]
[Permission]
[ProducesResponseType(typeof(IEnumerable), (int)System.Net.HttpStatusCode.OK)]
- public IActionResult GetCategories()
+ public IActionResult GetCategories(bool includeParents = true)
{
- var result = operationRepository.GetCategories(false);
+ var result = operationRepository.GetCategories(includeParents);
return Ok(result);
}