feta(api): unitFieldValue поиск по имени
This commit is contained in:
@@ -445,7 +445,9 @@
|
||||
{
|
||||
public const string GetAll = Base + "/unit-fields/";
|
||||
public const string Get = Base + "/unit-fields/" + getParam;
|
||||
public const string GetAllValues = Base + "/unit-fields/" + getParam + "/values";
|
||||
|
||||
// todo: этот маршрут нужно вынести в отдельны класс маршрутов
|
||||
public const string GetAllValues = Base + "/unit-fields/" + "{fieldId}" + "/values";
|
||||
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace PARR.API.Contracts.V1.Requests.Queries
|
||||
{
|
||||
public class UnitFieldValueQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Маска значения (%коммутатор%)
|
||||
/// </summary>
|
||||
public string? Mask { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user