feat(api): Изменение состояния у шаблона/расписания (акивировано/деактивировано)
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
{
|
||||
public const string GetAll = Base + "/templates/";
|
||||
public const string Get = Base + "/templates/" + getParam;
|
||||
public const string ChangeState = Base + "/templates/" + getParam + "/change-state";
|
||||
//public const string SetOkStatus = Base + "/templates/" + getParam + "/status/ok";
|
||||
//public const string GetByStatusCode = Base + "/templates/status/{statusCode}";
|
||||
|
||||
|
||||
15
PARR.API/Contracts/V1/Requests/TemplateChangeStateRequest.cs
Normal file
15
PARR.API/Contracts/V1/Requests/TemplateChangeStateRequest.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace PARR.API.Contracts.V1.Requests
|
||||
{
|
||||
public class TemplateChangeStateRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Активировать шаблон
|
||||
/// </summary>
|
||||
public bool IsActiveTemplate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Активировать расписание
|
||||
/// </summary>
|
||||
public bool IsActiveSchedule { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user