feat(api): метод сброса ошибок синхронизации шаблонов
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace PARR.API.Contracts.V1
|
||||
using RabbitMQ.Client.Exceptions;
|
||||
|
||||
namespace PARR.API.Contracts.V1
|
||||
{
|
||||
// https://tproger.ru/translations/luchshie-praktiki-razrabotki-rest-api-20-sovetov/
|
||||
|
||||
@@ -68,6 +70,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}";
|
||||
|
||||
@@ -75,6 +78,13 @@
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
public static class TemplateSyncState
|
||||
{
|
||||
public const string ResetSyncErrors = Base + "/templates/" + getParam + "/reset-sync-errors";
|
||||
|
||||
public const string getParam = "{id}";
|
||||
}
|
||||
|
||||
public static class TemplateStatusType
|
||||
{
|
||||
public const string GetAll = Base + "/template-status-types/";
|
||||
|
||||
Reference in New Issue
Block a user