feat(api): Новый контроллер JobUnitPreview, для получения предпросмотра затрагиваемых ЭК работой

This commit is contained in:
Mikhail Kuznetsov
2025-09-24 10:08:50 +10:00
parent 6034b137d2
commit 09f0f1e063
9 changed files with 130 additions and 62 deletions

View File

@@ -374,8 +374,6 @@
public const string Create = Base + "/jobs/";
public const string Update = Base + "/jobs/" + getParam;
public const string Preview = Base + "/jobs/units/preview";
public const string getParam = "{id}";
}
@@ -401,7 +399,13 @@
public const string appInWorkId = "{applicationInWorkId}";
}
/// <summary>
/// Предпросмотр затрагиваемых ЭК для фильтров создаваемой или обновляемой работы
/// </summary>
public static class JobUnitPreview
{
public const string Preview = Base + "/jobs/units/preview";
}
/// <summary>
/// Активатор/деактиватор шаблонов/расписаний
/// </summary>
@@ -436,7 +440,7 @@
{
public const string GetAll = Base + "/unit-fields/";
public const string Get = Base + "/unit-fields/" + getParam;
public const string GetAllValues = Base + "/unit-fields/" + getParam+"/values";
public const string GetAllValues = Base + "/unit-fields/" + getParam + "/values";
public const string getParam = "{id}";
}