backend-api meta валидация Listing*Action

This commit is contained in:
AKurakin 2023-06-01 13:13:29 +03:00
parent d1a9462029
commit 131c32978c
3 changed files with 10 additions and 2 deletions

View file

@ -3308,6 +3308,8 @@
"confirmation": "securityId,market,lotSize,tradingCurrency,workflowStatus",
"class": "ru.spcex.clearing.backendapi.controller.request.cud.company.ListingNewAction",
"fields": [
{"code": "securityId",
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","link": "security","linkCode": "shortName","required": true
@ -3337,6 +3339,8 @@
"confirmation": "securityId,market,lotSize,tradingCurrency,workflowStatus",
"class": "ru.spcex.clearing.backendapi.controller.request.cud.company.ListingUpdateAction",
"fields": [
{"code": "id",
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "listing","linkCode": "id","required": true

View file

@ -765,14 +765,14 @@
<createdAt field="created" type="4" webtype="5" dbname="Дата-время создания записи" name="Время создания записи" shortname="Создано" searchable="true" sortable="true" ignore="true"/>
<updatedAt field="updated" type="4" webtype="5" dbname="Дата-время изменения записи" name="Время изменения записи" shortname="Изменено" searchable="true" sortable="true" ignore="true"/>
<actions>
<post name="Добавление инструмента на режимах" confirmation="securityId,market,lotSize,tradingCurrency,workflowStatus">
<post name="Добавление инструмента на режимах" confirmation="securityId,market,lotSize,tradingCurrency,workflowStatus" class="ru.spcex.clearing.backendapi.controller.request.cud.company.ListingNewAction">
<securityId type="1" name="Наименование инструмента" shortname="Инструмент" link="security" linkCode="shortName" required="true"/>
<market type="12" name="Наименование режима" shortname="Режим" link="market" linkKeyCode="code" linkCode="description" required="true"/>
<lotSize type="11" name="Размер лота" shortname="Лот" required="true"/>
<tradingCurrency type="12" name="Наименование валюты расчета" shortname="Валюта" link="currencyCode" linkCode="code" required="true"/>
<workflowStatus type="12" name="Наименование статуса листинга в системе" shortname="Статус" link="workflowStatus" required="true"/>
</post>
<put name="Изменение инструмента на режимах" confirmation="securityId,market,lotSize,tradingCurrency,workflowStatus">
<put name="Изменение инструмента на режимах" confirmation="securityId,market,lotSize,tradingCurrency,workflowStatus" class="ru.spcex.clearing.backendapi.controller.request.cud.company.ListingUpdateAction">
<id type="1" name="Идентификатор записи" shortname="ID" link="listing" linkCode="id" required="true"/>
<securityId type="1" name="Наименование инструмента" shortname="Инструмент" link="security" linkCode="shortName" required="true" enabled="false"/>
<market type="12" name="Наименование режима" shortname="Режим" link="market" linkKeyCode="code" linkCode="description" required="true" enabled="false"/>

View file

@ -3308,6 +3308,8 @@
"confirmation": "securityId,market,lotSize,tradingCurrency,workflowStatus",
"class": "ru.spcex.clearing.backendapi.controller.request.cud.company.ListingNewAction",
"fields": [
{"code": "securityId",
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","link": "security","linkCode": "shortName","required": true
@ -3337,6 +3339,8 @@
"confirmation": "securityId,market,lotSize,tradingCurrency,workflowStatus",
"class": "ru.spcex.clearing.backendapi.controller.request.cud.company.ListingUpdateAction",
"fields": [
{"code": "id",
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "listing","linkCode": "id","required": true