GetStockEntryByUuidOperation v2: различия между версиями
м (Nikeshina-ad-171025 переименовал страницу GetStockEntryByUuidOperation v2.0 в GetStockEntryByUuidOperation v2) |
|||
(не показана 31 промежуточная версия 4 участников) | |||
Строка 18: | Строка 18: | ||
:: • Некорректный запрос. | :: • Некорректный запрос. | ||
:: • Внутренняя ошибка системы. | :: • Внутренняя ошибка системы. | ||
===Используемые пространства имен === | |||
{{столбцы}} | |||
{{столбец}} | |||
* [[NameSpaces#http://api.vetrf.ru/schema/cdm/base|bs]] (<nowiki>http://api.vetrf.ru/schema/cdm/base</nowiki>) | |||
** [[Decimal |bs:Decimal]] | |||
** [[String255|bs:String255]] | |||
** [[UUID|bs:UUID]] | |||
** [[UUID|bs:UUID]] | |||
** [[VersionStatus|bs:VersionStatus]] | |||
* [[NameSpaces#http://api.vetrf.ru/schema/cdm/dictionary|dt]] (<nowiki>http://api.vetrf.ru/schema/cdm/dictionary</nowiki>) | |||
** [[Address_v2.0|dt:Address]] | |||
** [[BusinessEntity_v2.0|dt:BusinessEntity]] | |||
** [[ComplexDate_v2.0| dt:ComplexDate]] | |||
** [[Country_v2.0|dt:Country]] | |||
** [[Day_v2.0|dt:Day]] | |||
** [[Enterprise_v2.0|dt:Enterprise]] | |||
** [[EnterpriseRole_v2.0|dt:EnterpriseRole]] | |||
** [[GTINType_v2.0|dt:GTINType]] | |||
** [[Hour_v2.0|dt:Hour]] | |||
** [[Minute_v2.0| dt:Minute]] | |||
** [[Month_v2.0|dt:Month]] | |||
** [[Package_v2.0|dt:Package]] | |||
** [[PackageLevelType_v2.0|dt:PackageLevelType]] | |||
** [[PackageList_v2.0|dt:PackageList]] | |||
** [[PackingCodeType_v2.0|dt:PackingCodeType]] | |||
{{столбец}} | |||
** [[PackingType_v2.0|dt:PackingType]] | |||
** [[Producer_v2.0|dt:Producer]] | |||
** [[Product_v2.0|dt:Product]] | |||
** [[ProductItem_v2.0|dt:ProductItem]] | |||
** [[ProductMarks_v2.0|dt:ProductMarks]] | |||
** [[ProductType_v2.0|dt:ProductType]] | |||
** [[SubProduct_v2.0|dt:SubProduct]] | |||
** [[Unit_v2.0|dt:Unit]] | |||
** [[User_v2.0|dt:User]] | |||
** [[Year_v2.0|dt:Year]] | |||
* [[NameSpaces#http://api.vetrf.ru/schema/cdm/mercury/vet-document|vd]] (<nowiki>http://api.vetrf.ru/schema/cdm/mercury/vet-document</nowiki>) | |||
** [[Batch_v2.0|vd:Batch]] | |||
** [[BatchOrigin_v2.0|vd:BatchOrigin]] | |||
** [[GoodsDate_v2.0|vd:GoodsDate]] | |||
** [[StockEntry_v2.0|vd:StockEntry]] | |||
* [[NameSpaces#http://www.w3.org/2001/XMLSchema|xs]] (<nowiki>http://www.w3.org/2001/XMLSchema</nowiki>) | |||
** [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |||
** [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |||
** [http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | |||
** [http://www.w3.org/TR/xmlschema-2/#int xs:int] | |||
** [http://www.w3.org/TR/xmlschema-2/#NCName xs:NCName] | |||
** [http://www.w3.org/TR/xmlschema-2/#string xs:string] | |||
{{столбцы/конец}} | |||
== Данные запроса == | == Данные запроса == | ||
Строка 24: | Строка 78: | ||
! Название XML-элемента | ! Название XML-элемента | ||
! Тип | ! Тип | ||
! | ! Обязат. | ||
! Описание | ! Описание (нажмите [...] для отображения дополнительного описания) | ||
|- | |- | ||
| | |001 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<{{color|#660e7a|merc:}}getStockEntryByUuidRequest>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |002 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}localTransactionId>'''}}{{color|#131313|А0001}}{{color|#190dbf|'''</{{color|#660e7a|merc:}}localTransactionId>'''}} | ||
| [http://www.w3.org/TR/xmlschema-2/#NCName xs:NCName] | |[http://www.w3.org/TR/xmlschema-2/#NCName xs:NCName] | ||
| [1..1] | |[1..1] | ||
| Идентификатор заявки в клиентской системе. | | style="width:52em;"| Идентификатор заявки в клиентской системе. | ||
|- | |- | ||
| | |003 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|merc:}}initiator>'''}} | ||
| [[User_v2.0| | |[[User_v2.0|vd:User]] | ||
| [1..1] | |[1..1] | ||
| Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу. Является ответственным за выполнение бизнес-операции. Здесь потребуется логин ветврача или пользователя ХС. Логин для базовой аутентификации не подойдёт. | |<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | ||
<span style="white-space:nowrap; font-weight: normal;">Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Является ответственным за выполнение бизнес-операции. | |||
* Здесь потребуется логин ветврача или пользователя ХС. Логин для базовой аутентификации не подойдёт.</div> | |||
</div> | |||
|- | |- | ||
| | |004 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}login>'''}}{{color|#131313|user_ab_150101}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}login>'''}} | ||
| [http://www.w3.org/TR/xmlschema-2/#NCName xs:NCName] | |[http://www.w3.org/TR/xmlschema-2/#NCName xs:NCName] | ||
| [1..1] | |[1..1] | ||
| Логин пользователя, зарегистрированного в системе Меркурий. | | style="width:52em;"| Логин пользователя, зарегистрированного в системе Меркурий. | ||
|- | |- | ||
| | |005 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|merc:}}initiator>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |006 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Идентификатор версии записи складского журнала. | | style="width:52em;"| Идентификатор версии записи складского журнала. | ||
|- | |- | ||
| | |007 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|dt:}}enterpriseGuid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}enterpriseGuid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Идентификатор предприятия, по которому производится поиск записи. | | style="width:52em;"| Идентификатор предприятия, по которому производится поиск записи. | ||
| | |- | ||
| | |008 | ||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}getStockEntryByUuidRequest>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |- | ||
|} | |} | ||
Строка 99: | Строка 141: | ||
! Название XML-элемента | ! Название XML-элемента | ||
! Тип | ! Тип | ||
! | ! Обязат. | ||
! Описание | ! Описание (нажмите [...] для отображения дополнительного описания) | ||
|- | |- | ||
| | |001 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<{{color|#660e7a|merc:}}getStockEntryByUuidResponse>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |002 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|vd:}}stockEntry>'''}} | ||
| [[StockEntry_v2.0|vd:StockEntry]] | |[[StockEntry_v2.0|vd:StockEntry]] | ||
| [ | |[0..1] | ||
| Сведения о записи журнала. | | style="width:52em;"| Сведения о записи журнала. | ||
|- | |- | ||
| | |003 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Идентификатор версии записи журнала. | | style="width:52em;"| Идентификатор версии записи журнала. | ||
|- | |- | ||
| | |004 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Глобальный идентификатор записи журнала. | | style="width:52em;"| Глобальный идентификатор записи журнала. | ||
|- | |- | ||
| | |005 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}active>'''}}{{color|#131313|true}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}active>'''}} | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |[http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | ||
| [1..1] | |[1..1] | ||
| | |<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | ||
<span style="white-space:nowrap; font-weight: normal;">Флаг: является ли запись журнала активной.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* true - запись активна; | * true - запись активна; | ||
* false - запись не активна. | * false - запись не активна.</div> | ||
</div> | |||
|- | |- | ||
| | |006 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}last>'''}}{{color|#131313|true}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}last>'''}} | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |[http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | ||
| [1..1] | |[1..1] | ||
| | |<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | ||
<span style="white-space:nowrap; font-weight: normal;">Флаг: является ли версия записи журнала последней.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* true - да; | * true - да; | ||
* false - нет. | * false - нет. </div> | ||
| <bs: | </div> | ||
|- | |||
|007 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}status>'''}}{{color|#131313|100}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}status>'''}} | |||
|[[VersionStatus|bs:VersionStatus]] | |||
|[1..1] | |||
| style="width:52em;"| Статус версии записи журнала. | |||
|- | |||
|008 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}createDate>'''}}{{color|#131313|2018-02-08T11:08:27+03:00}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}createDate>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | |||
|[1..1] | |||
| style="width:52em;"| Дата создания записи журнала. | |||
|- | |||
|009 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}updateDate>'''}}{{color|#131313|2018-02-08T11:08:27+03:00}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}updateDate>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | |||
|[1..1] | |||
| style="width:52em;"| Дата изменения записи журнала. | |||
|- | |||
|010 | |||
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}previous>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}previous>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор предыдущей версии записи журнала. | |||
|- | |- | ||
| | |011 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}next>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}next>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Идентификатор следующей версии записи журнала. | ||
|- | |- | ||
| | |012 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}entryNumber>'''}}{{color|#131313|85628322}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}entryNumber>'''}} | ||
| [ | |[[StockEntryNumber_v2.0|vd:StockEntryNumber]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Номер записи журнала, доступный через веб-интерфейс. | ||
|- | |- | ||
| | |013 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}batch>'''}} | ||
| [ | |[[Batch_v2.0|vd:Batch]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Сведения о партии продукции. | ||
|- | |- | ||
| | |014 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}productType>'''}}{{color|#131313|1}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}productType>'''}} | ||
| [[ | |[[ProductType_v2.0|dt:ProductType]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Тип продукции. Первый уровень иерархического справочника продукции ИС Меркурий. | ||
|- | |- | ||
| | |015 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}product>'''}} | ||
| [[ | |[[Product_v2.0|dt:Product]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Продукция. Второй уровень иерархического справочника продукции ИС Меркурий. | ||
|- | |- | ||
| | |016 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [ | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Идентификатор версии продукции. | ||
|- | |- | ||
| | |017 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Глобальный идентификатор продукции. | ||
|- | |- | ||
| | |018 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}product>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |019 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}subProduct>'''}} | ||
| [[ | |[[SubProduct_v2.0|dt:SubProduct]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Вид продукции. Третий уровень иерархического справочника продукции ИС Меркурий. | ||
|- | |- | ||
| | |020 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Идентификатор версии продукции. | | style="width:52em;"| Идентификатор версии вида продукции. | ||
|- | |- | ||
| | |021 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Глобальный идентификатор продукции. | | style="width:52em;"| Глобальный идентификатор вида продукции. | ||
|- | |- | ||
| | |022 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}subProduct>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |023 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}productItem>'''}} | ||
| | |[[ProductItem_v2.0|dt:ProductItem]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Наименование продукции в номенклатуре производителя. | ||
| | |||
|- | |- | ||
| | |024 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Идентификатор версии номенклатуры. | ||
|- | |- | ||
| | |025 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Глобальный идентификатор номенклатуры. | ||
|- | |- | ||
| | |026 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}globalID>'''}}{{color|#131313|4607147136201}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}globalID>'''}} | ||
| [[ | |[[GTINType_v2.0|dt:GTINType]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Trade Identification Number (GTIN) - идентификационный номер продукции производителя. | ||
|- | |- | ||
| | |027 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Наименование продукции}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[String255|bs:String255]] | |[[String255|bs:String255]] | ||
| [ | |[1..1] | ||
| Наименование | | style="width:52em;"| Наименование продукции. | ||
|- | |- | ||
| | |028 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}code>'''}}{{color|#131313|А12345}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}code>'''}} | ||
| | |[[String255|bs:String255]] | ||
| | |[0..1] | ||
| | | style="width:52em;"| Артикул (код) продукции в соответствии с внутренним кодификатором производителя. | ||
| | |||
|- | |- | ||
| | |029 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}packaging>'''}} | ||
| [[ | |[[Packaging_v2.0|dt:Packaging]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Фасовка. | ||
|- | |- | ||
| | |030 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}packagingType>'''}} | ||
| [[ | |[[PackingType_v2.0|dt:PackingType]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Тип упаковки. | ||
|- | |- | ||
| | |031 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| Идентификатор версии | | style="width:52em;"| Идентификатор версии типа упаковки. | ||
|- | |- | ||
| | |032 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| Глобальный идентификатор | | style="width:52em;"| Глобальный идентификатор упаковки. | ||
|- | |- | ||
| | |033 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}globalID>'''}}{{color|#131313|BE}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}globalID>'''}} | ||
| [[ | |[[PackingCodeType_v2.0|dt:PackingCodeType]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Уникальный идентификатор упаковки. | ||
| | |||
|- | |- | ||
| | |034 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Пакет (пачка/связка)}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| | |[[String255|bs:String255]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Наименование упаковки. | ||
| | |||
|- | |- | ||
| | |035 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}packagingType>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |036 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}quantity>'''}}{{color|#131313|10}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}quantity>'''}} | ||
| [ | |[http://www.w3.org/TR/xmlschema-2/#int xs:int] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Количество единиц упаковки. | ||
|- | |- | ||
| | |037 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}volume>'''}}{{color|#131313|50}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}volume>'''}} | ||
| [[ | |[[Decimal |bs:Decimal]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Объём единицы упаковки товара. | ||
|- | |- | ||
| | |038 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}unit>'''}} | ||
| [[ | |[[Unit_v2.0|dt:Unit]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Единица измерения объёма единицы упаковки товара. | ||
|- | |- | ||
| | |039 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Идентификатор версии единицы измерения. | ||
|- | |- | ||
| | |040 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Глобальный идентификатор единицы измерения. | ||
|- | |- | ||
| | |041 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|кг}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Наименование единицы измерения. | ||
|- | |- | ||
| | |042 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}unit>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |043 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}packaging>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |044 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}productItem>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |045 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}volume>'''}}{{color|#131313|370.0}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}volume>'''}} | ||
| [[ | |[[Decimal |bs:Decimal]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Объем продукции. | ||
|- | |- | ||
| | |046 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}unit>'''}} | ||
| [[ | |[[Unit_v2.0|dt:Unit]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Единица измерения объема партии продукции. | ||
|- | |- | ||
| | |047 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Идентификатор версии единицы измерения. | ||
|- | |- | ||
| | |048 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | ||
| [[ | |[[UUID|bs:UUID]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Глобальный идентификатор единицы измерения. | ||
|- | |- | ||
| | |049 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}unit>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |050 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}dateOfProduction>'''}} | ||
| | |[[GoodsDate_v2.0|vd:GoodsDate]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Дата выработки продукции. | ||
| | |||
|- | |- | ||
| | |051 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}firstDate>'''}} | ||
| [[ | |[[ComplexDate_v2.0| dt:ComplexDate]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Начальная дата в интервале, либо единичная дата. | ||
|- | |- | ||
| | |052 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|2017}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | ||
| [[ | |[[Year_v2.0|dt:Year]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Год. | ||
|- | |- | ||
| | |053 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|7}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | ||
| [[ | |[[Month_v2.0|dt:Month]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Месяц. | ||
|- | |- | ||
| | |054 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|7}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | ||
| [[ | |[[Day_v2.0|dt:Day]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| День. | ||
|- | |- | ||
| | |055 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}hour>'''}}{{color|#131313|12}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}hour>'''}} | ||
| [[ | |[[Hour_v2.0|dt:Hour]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Час. | ||
|- | |- | ||
| | |056 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}firstDate>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |057 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}secondDate>'''}} | ||
| [[ | |[[ComplexDate_v2.0| dt:ComplexDate]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Конечная дата в интервале. | ||
|- | |- | ||
| | |058 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|2017}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | ||
| | |[[Year_v2.0|dt:Year]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Год. | ||
| | |||
|- | |- | ||
| | |059 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|7}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | ||
| [[ | |[[Month_v2.0|dt:Month]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Месяц. | ||
|- | |- | ||
| | |060 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|7}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | ||
| [[ | |[[Day_v2.0|dt:Day]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| День. | ||
|- | |- | ||
| | |061 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}hour>'''}}{{color|#131313|23}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}hour>'''}} | ||
| [[ | |[[Hour_v2.0|dt:Hour]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Час. | ||
|- | |- | ||
| | |062 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}secondDate>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |063 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}informalDate>'''}}{{color|#131313|неизвестно}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}informalDate>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Текстовое значение даты. | ||
|- | |- | ||
| | |064 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}dateOfProduction>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |065 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}expiryDate>'''}} | ||
| | |[[GoodsDate_v2.0|vd:GoodsDate]] | ||
| | |[0..1] | ||
| | | style="width:52em;"| Дата окончания срока годности продукции (кроме типа продукции "Живые животные"). | ||
| | |||
|- | |- | ||
| | |066 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}firstDate>'''}} | ||
| | |[[ComplexDate_v2.0| dt:ComplexDate]] | ||
| | |[0..1] | ||
| | | style="width:52em;"| Начальная дата в интервале, либо единичная дата. | ||
| | |||
|- | |- | ||
| | |067 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|2017}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | ||
| [[ | |[[Year_v2.0|dt:Year]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Год. | ||
|- | |- | ||
| | |068 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|7}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |[[Month_v2.0|dt:Month]] | ||
| [1..1] | |[0..1] | ||
| Описывает, является ли продукция скоропортящейся: | | style="width:52em;"| Месяц. | ||
|- | |||
|069 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|10}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |||
|[[Day_v2.0|dt:Day]] | |||
|[0..1] | |||
| style="width:52em;"| День. | |||
|- | |||
|070 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}hour>'''}}{{color|#131313|12}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}hour>'''}} | |||
|[[Hour_v2.0|dt:Hour]] | |||
|[0..1] | |||
| style="width:52em;"| Час. | |||
|- | |||
|071 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}firstDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|072 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}secondDate>'''}} | |||
|[[ComplexDate_v2.0| dt:ComplexDate]] | |||
|[0..1] | |||
| style="width:52em;"| Конечная дата в интервале. | |||
|- | |||
|073 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}year>'''}}{{color|#131313|2017}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}year>'''}} | |||
|[[Year_v2.0|dt:Year]] | |||
|[1..1] | |||
| style="width:52em;"| Год. | |||
|- | |||
|074 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}month>'''}}{{color|#131313|7}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}month>'''}} | |||
|[[Month_v2.0|dt:Month]] | |||
|[1..1] | |||
| style="width:52em;"| Месяц. | |||
|- | |||
|075 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}day>'''}}{{color|#131313|10}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}day>'''}} | |||
|[[Day_v2.0|dt:Day]] | |||
|[0..1] | |||
| style="width:52em;"| День. | |||
|- | |||
|076 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}hour>'''}}{{color|#131313|23}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}hour>'''}} | |||
|[[Hour_v2.0|dt:Hour]] | |||
|[0..1] | |||
| style="width:52em;"| Час. | |||
|- | |||
|077 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}secondDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|078 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}informalDate>'''}}{{color|#131313|не ограничен}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}informalDate>'''}} | |||
|[[String255|bs:String255]] | |||
|[0..1] | |||
| style="width:52em;"| Текстовое значение даты. | |||
|- | |||
|079 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}expiryDate>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|080 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}batchID>'''}}{{color|#131313|ПП64219}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}batchID>'''}} | |||
|[[Identifier|bs:Identifier]] | |||
|[0..*] | |||
| style="width:52em;"| Уникальный идентификатор производственной партии продукции. | |||
|- | |||
|081 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}perishable>'''}}{{color|#131313|false}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}perishable>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Описывает, является ли продукция скоропортящейся.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* true – скоропортящаяся; | * true – скоропортящаяся; | ||
* false – не скоропортящаяся. | * false – не скоропортящаяся. </div> | ||
| <vd: | </div> | ||
|- | |||
|082 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}origin>'''}} | |||
|[[BatchOrigin_v2.0|vd:BatchOrigin]] | |||
|[0..1] | |||
| style="width:52em;"| Сведения о происхождении продукции. | |||
|- | |||
|083 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}productItem>'''}} | |||
|[[ProductItem_v2.0|dt:ProductItem]] | |||
|[0..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Наименование продукции в номенклатуре производителя.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Номенклатура производителя, с которой была выпущена продукция. | |||
* В некоторых случаях может отсутствовать в зависимости от истории появления/изменения записи журнала (например, после объединения записей журнала с разной номенклатурой разных производителей).</div> | |||
</div> | |||
|- | |||
|084 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[0..1] | |||
| style="width:52em;"| Идентификатор версии номенклатуры продукции. | |||
|- | |||
|085 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[0..1] | |||
| style="width:52em;"| Глобальный идентификатор номенклатуры продукции. | |||
|- | |||
|086 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}globalID>'''}}{{color|#131313|4607147136201}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}globalID>'''}} | |||
|[[GTINType_v2.0|dt:GTINType]] | |||
|[0..1] | |||
| style="width:52em;"| Trade Identification Number (GTIN) - идентификационный номер продукции производителя. | |||
|- | |||
|087 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Наименование продукции}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| Наименование продукции. | |||
|- | |||
|088 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}code>'''}}{{color|#131313|А12345}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}code>'''}} | |||
|[[String255|bs:String255]] | |||
|[0..1] | |||
| style="width:52em;"| Артикул (код) продукции в соответствии с внутренним кодификатором производителя. | |||
|- | |||
|089 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}productItem>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|090 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}country>'''}} | |||
|[[Country_v2.0|dt:Country]] | |||
|[1..1] | |||
| style="width:52em;"| Страна происхождения партии продукции. | |||
|- | |||
|091 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Идентификатор версии страны. | |||
|- | |||
|092 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Глобальный идентификатор страны. | |||
|- | |||
|093 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Российская Федерация}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| Наименование страны происхождения партии продукции. | |||
|- | |||
|094 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}country>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|095 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}producer>'''}} | |||
|[[Producer_v2.0|dt:Producer]] | |||
|[1..*] | |||
| style="width:52em;"| Производитель продукции. | |||
|- | |||
|096 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}enterprise>'''}} | |||
|[[Enterprise_v2.0|dt:Enterprise]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Информация о предприятии-производителе продукции.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Если производитель в записи журнала существовал не из справочника (например, для импортного сертификата), то может быть возвращено поле name с отсутствием uuid/guid</div> | |||
</div> | |||
|- | |||
|097 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Идентификатор версии предприятия. | |||
|- | |||
|098 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Глобальный идентификатор предприятия. | |||
|- | |||
|099 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Производитель}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[0..1] | |||
| style="width:52em;"| Наименование производителя. | |||
|- | |||
|100 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}enterprise>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|101 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}role>'''}}{{color|#131313|PRODUCER}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}role>'''}} | |||
|[[EnterpriseRole_v2.0|dt:EnterpriseRole]] | |||
|[1..1] | |||
| style="width:52em;"| Роль предприятия-производителя продукции. | |||
|- | |||
|102 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}producer>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|103 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}origin>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|104 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}lowGradeCargo>'''}}{{color|#131313|false}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}lowGradeCargo>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Флаг: является ли груз некачественным.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* true – груз некачественный; | |||
* false – груз качественный.</div> | |||
</div> | |||
|- | |||
|105 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}packageList>'''}} | |||
|[[PackageList_v2.0|dt:PackageList]] | |||
|[0..1] | |||
| style="width:52em;"| Список физической упаковки. | |||
|- | |||
|106 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}package>'''}} | |||
|[[Package_v2.0|dt:Package]] | |||
|[1..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Описание упаковки.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Поддерживается указание многоуровневой упаковки и маркировки партии продукции. | |||
* Всего предусмотрено шесть уровней упаковки (см. тип dt:PackageLevelType). | |||
* Количество единиц упаковки и маркировка партии указывается для каждой упаковки конкретного уровня отдельно. | |||
* На каждом уровне может быть произвольное количество типов упаковки, в том числе и ни одного, т.е. какого-то уровня упаковки в описании партии продукции может не быть.</div> | |||
</div> | |||
|- | |||
|107 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}level>'''}}{{color|#131313|1}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}level>'''}} | |||
|[[PackageLevelType_v2.0|dt:PackageLevelType]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Уровень упаковки.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Список возможных значений находится тут - [[PackageLevelType_v2.0|dt:PackageLevelType]]</div> | |||
</div> | |||
|- | |||
|108 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}packingType>'''}} | |||
|[[PackingType_v2.0|dt:PackingType]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Тип упаковки.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* Список сопоставлений uuid/guid/globalId находится тут - [[PackingType_v2.0|dt:PackingType]]</div> | |||
</div> | |||
|- | |||
|109 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Идентификатор версии упаковки. | |||
|- | |||
|110 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Глобальный идентификатор упаковки. | |||
|- | |||
|111 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}globalID>'''}}{{color|#131313|BE}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}globalID>'''}} | |||
|[[PackingCodeType_v2.0|dt:PackingCodeType]] | |||
|[1..1] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Идентификатор упаковки по классификатору ЕК 013-2010 (ред.1)</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
ЕК 013-2010 (ред.1) - Классификатор видов груза, упаковки и упаковочных материалов. См. https://eomi.eaeunion.org/ru/#/repository/nsi/173</div> | |||
</div> | |||
|- | |||
|112 | |||
|style="font-weight: ; font-family: Courier;" |··················{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Пакет (пачка/связка)}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | |||
|[[String255|bs:String255]] | |||
|[1..1] | |||
| style="width:52em;"| Наименование упаковки. | |||
|- | |||
|113 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''</{{color|#660e7a|dt:}}packingType>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|114 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}quantity>'''}}{{color|#131313|2}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}quantity>'''}} | |||
|[http://www.w3.org/TR/xmlschema-2/#int xs:int] | |||
|[0..1] | |||
| style="width:52em;"| Количество единиц упаковки. | |||
|- | |||
|115 | |||
|style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}productMarks {{color|Red|class=}}{{color|#007f15|"BN"}}>'''}}{{color|#131313|ПП64219}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}productMarks>'''}} | |||
|[[ProductMarks_v2.0|dt:ProductMarks]] | |||
|[0..*] | |||
|<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | |||
<span style="white-space:nowrap; font-weight: normal;">Маркировка партии продукции.</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* [[ProductMarkingClass_v2.0|Возможные значения видов маркировки в атрибуте class - dt:ProductMarkingClass]] | |||
* Может быть указано несколько значений маркировок различного класса для каждой упаковки</div> | |||
</div> | |||
|- | |||
|116 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|dt:}}package>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|117 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}packageList>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|118 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}owner>'''}} | |||
|[[BusinessEntity_v2.0|dt:BusinessEntity]] | |||
|[1..1] | |||
| style="width:52em;"| Фирма-владелец продукции. | |||
|- | |||
|119 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Идентификатор версии хозяйствующего субъекта-владельца. | |||
|- | |||
|120 | |||
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}guid>'''}} | |||
|[[UUID|bs:UUID]] | |||
|[1..1] | |||
| style="width:52em;"| Глобальный идентификатор хозяйствующего субъекта-владельца. | |||
|- | |||
|121 | |||
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}owner>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |- | ||
| | |122 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}batch>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |123 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vetDocument>'''}} | ||
| [[ | |[[VetDocument_v2.0|vd:VetDocument]] | ||
| [0.. | |[0..*] | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |124 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}uuid>'''}}{{color|#131313|UUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
| [[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
| [1..1] | |[1..1] | ||
| Идентификатор | | style="width:52em;"| Идентификатор связанного с записью журнала ВСД. | ||
|- | |- | ||
| | |125 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}vetDocument>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |126 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|vd:}}vetEventList>'''}} | ||
| [[ | |[[StockEntryEventList_v2.0|vd:StockEntryEventList]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Список ветеринарных мероприятий для партии продукции. | ||
|- | |- | ||
| | |127 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}laboratoryResearch>'''}} | ||
| [[ | |[[LaboratoryResearchEvent_v2.0|vd:LaboratoryResearchEvent]] | ||
| [0.. | |[0..*] | ||
| | | style="width:52em;"| Сведения о проведенных лабораторных исследованиях. | ||
|- | |- | ||
| | |128 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}ID>'''}}{{color|#131313|ID}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}ID>'''}} | ||
| [[ | |[[Identifier|bs:Identifier]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Идентификатор события в разрезе записи складского журнала или вет.сертификата. | ||
|- | |- | ||
| | |129 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|LBR}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}} | ||
| | |[[VeterinaryEventType_v2.0|vd:VeterinaryEventType]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Тип мероприятия. | ||
| | |||
|- | |- | ||
| | |130 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}actualDateTime>'''}}{{color|#131313|2017-07-07T12:00:00}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}actualDateTime>'''}} | ||
| [ | |[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Дата события. | ||
|- | |- | ||
| | |131 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}operator>'''}} | ||
| [[ | |[[Organization_v2.0|dt:Organization]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Организация-оператор, осуществляющий мероприятие. | ||
| | |||
|- | |- | ||
| | |132 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Лаборатория №81}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Название организации оператора. | ||
|- | |- | ||
| | |133 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}operator>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |134 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}referencedDocument>'''}} | ||
| | |[[ReferencedDocument_v2.0|vd:ReferencedDocument]] | ||
| | |[0..*] | ||
| | | style="width:52em;"| Сведения о связанных документах. | ||
| | |||
|- | |- | ||
| | |135 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueNumber>'''}}{{color|#131313|79498-97}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueNumber>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [0.. | |[0..1] | ||
| | | style="width:52em;"| Номер документа. | ||
|- | |- | ||
| | |136 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}issueDate>'''}}{{color|#131313|2017-07-07}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}issueDate>'''}} | ||
| [ | |[http://www.w3.org/TR/xmlschema-2/#date xs:date] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Дата оформления документа. | ||
|- | |- | ||
| | |137 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|9}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}} | ||
| [[ | |[[DocumentType_v2.0 |dt:DocumentType]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Тип документа = 9 (акт отбора проб). | ||
|- | |- | ||
| | |138 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}referencedDocument>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |139 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}notes>'''}}{{color|#131313|Доп.сведения}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}notes>'''}} | ||
| [[ | |[[Text|bs:Text]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Дополнительные сведения. | ||
|- | |- | ||
| | |140 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}expertiseID>'''}}{{color|#131313|913-7613}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}expertiseID>'''}} | ||
| | |[[String255|bs:String255]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Номер экспертизы. | ||
| | |||
|- | |- | ||
| | |141 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}indicator>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Показатель безопасности. | ||
|- | |- | ||
| | |142 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Показатель 1}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| | |[[String255|bs:String255]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Название показателя. | ||
| | |||
|- | |- | ||
| | |143 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}indicator>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |144 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}disease>'''}} | ||
| [ | |[[String255|bs:String255]] | ||
| [1..1] | |[1..1] | ||
| | |<div class="mw-collapsible mw-collapsed" data-expandtext=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | ||
<span style="white-space:nowrap; font-weight: normal;">Болезнь (наименование показателя).</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* В текущей версии данное поле используется для передачи поля "Показатель" из веб-интерфейса</div> | |||
</div> | |||
|- | |- | ||
| | |145 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Показатель 1}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Наименование болезни (показателя). | ||
|- | |- | ||
| | |146 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}disease>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |147 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}method>'''}} | ||
| [[ | |[[ResearchMethod_v2.0|dt:ResearchMethod]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Метод исследования. | ||
|- | |- | ||
| | |148 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Метод 1}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [1..1] | |[1..1] | ||
| | | style="width:52em;"| Название метода исследования. | ||
|- | |- | ||
| | |149 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}method>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |150 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}result>'''}}{{color|#131313|NEGATIVE}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}result>'''}} | ||
| [[ | |[[ResearchResult_v2.0|dt:ResearchResult]] | ||
| [ | |[0..1] | ||
| | | style="width:52em;"| Результат исследования. | ||
|- | |- | ||
| | |151 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}conclusion>'''}}{{color|#131313|Заключение}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}conclusion>'''}} | ||
| [[ | |[[Text|bs:Text]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Заключение. | ||
|- | |- | ||
| | |152 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}laboratoryResearch>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |153 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|vd:}}immunization>'''}} | ||
| [ | |[[AnimalMedicationEvent_v2.0|vd:AnimalMedicationEvent]] | ||
| [0.. | |[0..*] | ||
| | | style="width:52em;"| Сведения о проведенной обработке/иммунизации животных. | ||
| | |||
|- | |- | ||
| | |154 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}ID>'''}}{{color|#131313|ID}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}ID>'''}} | ||
| [[ | |[[Identifier|bs:Identifier]] | ||
| [0.. | |[0..1] | ||
| | | style="width:52em;"| Идентификатор события в разрезе записи складского журнала или вет.сертификата. | ||
|- | |- | ||
| | |155 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}type>'''}}{{color|#131313|IMM}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}type>'''}} | ||
| | |[[VeterinaryEventType_v2.0|vd:VeterinaryEventType]] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Тип мероприятия. | ||
| | |||
|- | |- | ||
| | |156 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}actualDateTime>'''}}{{color|#131313|2017-07-07T12:00:00}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}actualDateTime>'''}} | ||
| | |[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | ||
| | |[1..1] | ||
| | | style="width:52em;"| Дата события. | ||
| | |||
|- | |- | ||
| | |157 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}notes>'''}}{{color|#131313|Доп.сведения}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}notes>'''}} | ||
| [[ | |[[Text|bs:Text]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Дополнительные сведения. | ||
|- | |- | ||
| | |158 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}disease>'''}} | ||
| [[ | |[[AnimalDisease_v2.0|dt:AnimalDisease]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Заболевание. | ||
|- | |- | ||
| | |159 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Болезнь}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [ | |[1..1] | ||
| | | style="width:52em;"| Название заболевания. | ||
|- | |- | ||
| | |160 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}disease>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |161 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}medicinalDrug>'''}} | ||
| [[ | |[[MedicinalDrug_v2.0|dt:MedicinalDrug]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Препарат. | ||
|- | |- | ||
| | |162 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}{{color|#131313|Название препарата}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}} | ||
| [[ | |[[String255|bs:String255]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Название препарата. | ||
|- | |- | ||
| | |163 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |···············{{color|#190dbf|'''<{{color|#660e7a|dt:}}series>'''}}{{color|#131313|92-12}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}series>'''}} | ||
| [[String255|bs:String255]] | |[[String255|bs:String255]] | ||
| [0..1] | |[0..1] | ||
| | | style="width:52em;"| Номер серии препарата/вакцины | ||
| | |||
|- | |- | ||
| | |164 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''</{{color|#660e7a|vd:}}medicinalDrug>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |165 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|vd:}}effectiveBeforeDate>'''}}{{color|#131313|2017-07-07T12:00:00}}{{color|#190dbf|'''</{{color|#660e7a|vd:}}effectiveBeforeDate>'''}} | ||
| | |[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | ||
| | |[0..1] | ||
| | | style="width:52em;"| Срок действия препарата/вакцины. | ||
| | |||
|- | |- | ||
| | |166 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|vd:}}immunization>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |||
|- | |- | ||
| | |167 | ||
| style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|vd:}}vetEventList>'''}} | ||
| | | | ||
| | | | ||
| | | style="width:52em;"| | ||
| | |- | ||
|168 | |||
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|vd:}}stockEntry>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |||
|169 | |||
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</{{color|#660e7a|merc:}}getStockEntryByUuidResponse>'''}} | |||
| | |||
| | |||
| style="width:52em;"| | |||
|- | |- | ||
|} | |} | ||
==Коды ошибок== | |||
В таблице ниже приведены коды ошибок, возвращаемые веб-сервисом при различных несоответствиях формату или бизнес-правилам. | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
Таблица кодов ошибок для '''GetStockEntryByUuidOperation v2.0''' | |||
<div class = "mw-collapsible-content"> | |||
{| class="wikitable" | |||
|- | |||
! Код ошибки !! Сообщение об ошибке | |||
|- | |||
|MERC34002 || В запросе отсутствуют сведения о хозяйствующем субъекте, ответственном за выполнение операции | |||
|- | |||
|MERC34004 || В запросе для хозяйствующого субъекта ответственного за выполнение операции указан идентификатор устаревшей версии записи реестра РСХН | |||
|- | |||
|MERC34005 || Хозяйствующий субъект, ответственный за выполнение операции, с указанным идентификатором не найден в реестре РСХН, либо идентификатор не соответствует установленному формату | |||
|- | |||
|MERC34008 || Запись складского журнала продукции с указанным идентификатором не найдена в реестре РСХН, либо идентификатор не соответствует установленному формату | |||
|- | |||
|MERC34047 || Обслуживаемое предприятие обязательно для заполнения | |||
|- | |||
|MERC34127 || Указанные предприятие и хозяйствующий субъект должны быть связаны друг с другом | |||
|- | |||
|MERC34144 || Запись складского журнала продукции должна быть отправлена в ГВЭ | |||
|- | |||
|MERC34174 || Хозяйствующий субъект с указанным идентификатором не найден в реестре РСХН, либо идентификатор не соответствует установленному формату | |||
|- | |||
|MERC34175 || В запросе для хозяйствующего субъекта указан идентификатор устаревшей версии записи реестра РСХН. | |||
|- | |||
|MERC34176 || Идентификатор хозяйствующего субъекта (GUID) обязателен для заполнения | |||
|- | |||
|MERC34180 || Предприятие с указанным идентификатором не найдено в реестре РСХН, либо идентификатор не соответствует установленному формату | |||
|- | |||
|MERC34181 || В запросе для предприятия указан идентификатор устаревшей версии записи реестра РСХН. | |||
|- | |||
|MERC34182 || Идентификатор предприятия (GUID) обязателен для заполнения | |||
|- | |||
|MERC34275 || Идентификатор записи складского журнала продукции обязателен для заполнения | |||
|- | |||
|MERC34306 || Пользователь с указанным идентификатором заблокирован | |||
|- | |||
|MERC34320 || Идентификатор пользователя обязателен для заполнения | |||
|- | |||
|MERC34369 || Инициатор, ответственный за выполнение операции, с указанным идентификатором не найден в реестре РСХН, либо идентификатор не соответствует установленному формату. | |||
|- | |||
|MERC34383 || Хозяйствующий субъект-инициатор запроса должен быть связан с обслуживающим предприятием | |||
|- | |||
|MERC34387 || Пользователь-инициатор запроса обязателен для заполнения | |||
|- | |||
|MERC34393 || В запросе указана организация пользователя и хозяйстующий субъект, должно быть указано что-то одно | |||
|- | |||
|MERC34394 || В запросе не указана ни организация пользователя, ни хозяйстующий субъект | |||
|- | |||
|MERC34395 || Организация пользователя-инициатора запроса не найдена в реестре РСХН | |||
|- | |||
|MERC34396 || В запросе указана неактивная организация пользователя-инициатора | |||
|- | |||
|MERC34397 || Указанный инициатор не связан с ГВЭ региона обслуживаемого предприятия | |||
|- | |||
|MERC34398 || Указанный инициатор не связан с ГВЭ региона указанной организации | |||
|- | |||
|MERC34399 || Инициатор запроса должен быть сотрудником ВУ или иметь доступ в ГВЭ | |||
|- | |||
|MERC34400 || Регион указанной организации и обслуживаемого предприятия должны совпадать | |||
|- | |||
|MERC34401 || Для хозяйствующео субъекта - инициатора запроса указана организация | |||
|- | |||
|MERC34402 || Указанный инициатор не связан с хозяйствующим субъектом | |||
|} | |||
</div> | |||
</div> | |||
==Примеры запросов== | ==Примеры запросов== | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | ||
<div | <div >Запрос 1. Получение записи складского журнала по её уникальному идентификатору - '''для хозяйствующего субъекта'''</div> | ||
<div class= "mw-collapsible-content"> | <div class = "mw-collapsible-content"> | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<SOAP-ENV:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | |||
<SOAP-ENV:Header/> | |||
<SOAP-ENV:Body> | |||
<apldef:submitApplicationRequest> | |||
<apldef:apiKey>apikey</apldef:apiKey> | |||
<apl:application> | |||
<apl:serviceId>mercury-g2b.service:2.0</apl:serviceId> | |||
<apl:issuerId>issuerId</apl:issuerId> | |||
<apl:issueDate>2017-09-15T12:00:12</apl:issueDate> | |||
<apl:data> | |||
<merc:getStockEntryByUuidRequest> | |||
<merc:localTransactionId>a10003</merc:localTransactionId> | |||
<merc:initiator> | |||
<vd:login>user_login</vd:login> | |||
</merc:initiator> | |||
<bs:uuid>3885fcf4-dd5c-43b8-a8c9-56d4e094364d</bs:uuid> | |||
<dt:enterpriseGuid>ac264dc6-a3eb-4b0f-a86a-9c9577209d6f</dt:enterpriseGuid> | |||
</merc:getStockEntryByUuidRequest> | |||
</apl:data> | |||
</apl:application> | |||
</apldef:submitApplicationRequest> | |||
</SOAP-ENV:Body> | |||
</SOAP-ENV:Envelope> | |||
</syntaxhighlight> | |||
</div> | |||
</div> | |||
<br/> | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%"> | |||
<div >Ответ на запрос 1</div> | |||
<div class = "mw-collapsible-content"> | |||
<syntaxhighlight lang="xml"> | |||
<env:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2"> | |||
<env:Header/> | |||
<env:Body> | |||
<apldef:receiveApplicationResultResponse> | |||
<apl:application> | |||
<apl:applicationId>e88d7690-0e29-4413-8641-43a9329b0b10</apl:applicationId> | |||
<apl:status>COMPLETED</apl:status> | |||
<apl:serviceId>mercury-g2b.service</apl:serviceId> | |||
<apl:issuerId>issuerId</apl:issuerId> | |||
<apl:issueDate>2017-09-15T12:00:12.000+03:00</apl:issueDate> | |||
<apl:rcvDate>2017-09-15T12:00:12.000+03:00</apl:rcvDate> | |||
<apl:prdcRsltDate>2017-09-15T12:00:15.000+03:00</apl:prdcRsltDate> | |||
<apl:result> | |||
<merc:getStockEntryByUuidResponse> | |||
<vd:stockEntry> | |||
<bs:uuid>3885fcf4-dd5c-43b8-a8c9-56d4e094364d</bs:uuid> | |||
<bs:guid>4d6e7063-646d-4d39-bcb9-b601b8688fd0</bs:guid> | |||
<bs:active>true</bs:active> | |||
<bs:last>true</bs:last> | |||
<bs:status>103</bs:status> | |||
<bs:createDate>2017-09-15T12:00:08+03:00</bs:createDate> | |||
<bs:updateDate>2017-09-15T12:00:08+03:00</bs:updateDate> | |||
<vd:entryNumber>18398325</vd:entryNumber> | |||
<vd:batch> | |||
<vd:productType>5</vd:productType> | |||
<vd:product> | |||
<bs:uuid>31c94ff1-a217-f38d-6005-1aa5ca67e146</bs:uuid> | |||
<bs:guid>d34504bb-7a93-e1c8-4859-339eafd97c6c</bs:guid> | |||
</vd:product> | |||
<vd:subProduct> | |||
<bs:uuid>a3cecd19-98ca-46f9-ecd5-90c41fd95e13</bs:uuid> | |||
<bs:guid>9540bfdd-4cd6-6f47-ae83-a32a36c36bfe</bs:guid> | |||
</vd:subProduct> | |||
<vd:productItem> | |||
<bs:uuid>de407a38-bab4-4b48-9732-bdc71e253fa2</bs:uuid> | |||
<bs:guid>93acfc5d-7b02-4767-8c7c-9449a02f5971</bs:guid> | |||
<dt:name>Молоко ультрапастеризованное холостятское</dt:name> | |||
<dt:code>41236001</dt:code> | |||
<dt:packaging> | |||
<dt:packagingType> | |||
<bs:uuid>118124c8-ace0-44e1-b212-ee10dd5c1cdc</bs:uuid> | |||
<bs:guid>933312a8-dc11-43ee-9daa-abb240bf9e3f</bs:guid> | |||
<dt:globalID>43</dt:globalID> | |||
<dt:name>Мешок большой для крупноразмерных навалочных грузов</dt:name> | |||
</dt:packagingType> | |||
<dt:quantity>12</dt:quantity> | |||
<dt:volume>33.0</dt:volume> | |||
<dt:unit> | |||
<bs:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</bs:uuid> | |||
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid> | |||
<dt:name>кг</dt:name> | |||
</dt:unit> | |||
</dt:packaging> | |||
</vd:productItem> | |||
<vd:volume>400.0</vd:volume> | |||
<vd:unit> | |||
<bs:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</bs:uuid> | |||
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid> | |||
</vd:unit> | |||
<vd:dateOfProduction> | |||
<vd:firstDate> | |||
<dt:year>2020</dt:year> | |||
<dt:month>12</dt:month> | |||
<dt:day>6</dt:day> | |||
</vd:firstDate> | |||
</vd:dateOfProduction> | |||
<vd:expiryDate> | |||
<vd:firstDate> | |||
<dt:year>2021</dt:year> | |||
<dt:month>12</dt:month> | |||
<dt:day>6</dt:day> | |||
</vd:firstDate> | |||
</vd:expiryDate> | |||
<vd:batchID>ASDF1234</vd:batchID> | |||
<vd:perishable>false</vd:perishable> | |||
<vd:origin> | |||
<vd:productItem> | |||
<dt:name>Молоко ультрапастеризованное холостятское</dt:name> | |||
<dt:code>430deaca-95e5-4f83-8f3f-4b611187b622</dt:code> | |||
</vd:productItem> | |||
<vd:country> | |||
<bs:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</bs:uuid> | |||
<bs:guid>74a3cbb1-56fa-94f3-ab3f-e8db4940d96b</bs:guid> | |||
<dt:name>Российская Федерация</dt:name> | |||
</vd:country> | |||
<vd:producer> | |||
<dt:enterprise> | |||
<bs:uuid>8888c36c-df2e-442f-b0d9-faef5e063b43</bs:uuid> | |||
<bs:guid>ac264dc6-a3eb-4b0f-a86a-9c9577209d6f</bs:guid> | |||
</dt:enterprise> | |||
<dt:role>PRODUCER</dt:role> | |||
</vd:producer> | |||
</vd:origin> | |||
<vd:lowGradeCargo>false</vd:lowGradeCargo> | |||
<vd:packageList> | |||
<dt:package> | |||
<dt:level>6</dt:level> | |||
<dt:packingType> | |||
<bs:uuid>118124c8-ace0-44e1-b212-ee10dd5c1cdc</bs:uuid> | |||
<bs:guid>933312a8-dc11-43ee-9daa-abb240bf9e3f</bs:guid> | |||
<dt:globalID>43</dt:globalID> | |||
<dt:name>Мешок большой для крупноразмерных навалочных грузов</dt:name> | |||
</dt:packingType> | |||
</dt:package> | |||
<dt:package> | |||
<dt:level>1</dt:level> | |||
<dt:packingType> | |||
<bs:uuid>a7363144-e6a0-4af0-832f-0d403fdeb761</bs:uuid> | |||
<bs:guid>f0b0ec9b-8341-4e95-bc0e-80898be598cb</bs:guid> | |||
<dt:globalID>BE</dt:globalID> | |||
<dt:name>Пакет (пачка/связка)</dt:name> | |||
</dt:packingType> | |||
<dt:productMarks class="UNDEFINED">7456873456-147885</dt:productMarks> | |||
</dt:package> | |||
</vd:packageList> | |||
<vd:owner> | |||
<bs:uuid>04ceb142-053d-11e1-99b4-d8d385fbc9e8</bs:uuid> | |||
<bs:guid>fcd89443-218a-11e2-a69b-b499babae7ea</bs:guid> | |||
</vd:owner> | |||
</vd:batch> | |||
<vd:vetDocument> | |||
<bs:uuid>494169a7-0738-4d1d-9f7b-ce301e9cee22</bs:uuid> | |||
</vd:vetDocument> | |||
</vd:stockEntry> | |||
</merc:getStockEntryByUuidResponse> | |||
</apl:result> | |||
</apl:application> | |||
</apldef:receiveApplicationResultResponse> | |||
</env:Body> | |||
</env:Envelope> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</div></div> | </div> | ||
</div> | |||
<br/> | |||
[[Category:Ветис.API]] | [[Category:Ветис.API]] |
Текущая версия на 12:06, 1 июня 2023
Общие сведения
Операция GetStockEntryByUuidOperation предназначена для получения конкретной версии записи складского журнала продукции по ее уникальному идентификатору. Складской журнал продукции в системе Меркурий ведется с применением версионирования, это означает, что при каждом изменении записи складского журнала создается новая версия этой записи.
- GUID - глобальный идентификатор записи складского журнала. Данный идентификатор остается неизменным для всех версий записи складского журнала.
- UUID - идентификатор версии записи складского журнала. Данный идентификатор изменяется для каждой новой версии записи складского журнала.
Так же следует различать актуальную и неактуальную версию записи складского журнала. Для одной записи журнала может существовать только одна актуальная версия.
При выполнении операции GetStockEntryByUuidOperation на вход системы передаются следующие сведения:
- информация о пользователе - инициаторе запроса;
- идентификатор версии записи складского журнала. Запрашиваться могут только те записи складского журнала продукции, где хозяйствующий-субъект инициатор запроса является владельцем продукции.
Результатом выполнения данной операции является:
- сведения о запрашиваемой версии записи складского журнала.
Возможные сценарии
При обработке запроса возможны следующие сценарии:
- 1.1. Запрос успешно обработан. Пользователю вернулась конкретная версия записи журнала продукции.
- 1.2. Произошла ошибка при обработке запроса.
- • Некорректный запрос.
- • Внутренняя ошибка системы.
Используемые пространства имен
|
|
Данные запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:getStockEntryByUuidRequest> | |||
002 | ···<merc:localTransactionId>А0001</merc:localTransactionId> | xs:NCName | [1..1] | Идентификатор заявки в клиентской системе. |
003 | ···<merc:initiator> | vd:User | [1..1] | Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу.
|
004 | ······<vd:login>user_ab_150101</vd:login> | xs:NCName | [1..1] | Логин пользователя, зарегистрированного в системе Меркурий. |
005 | ···</merc:initiator> | |||
006 | ···<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии записи складского журнала. |
007 | ···<dt:enterpriseGuid>GUID</dt:enterpriseGuid> | bs:UUID | [1..1] | Идентификатор предприятия, по которому производится поиск записи. |
008 | </merc:getStockEntryByUuidRequest> |
Данные ответа
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <merc:getStockEntryByUuidResponse> | |||
002 | ···<vd:stockEntry> | vd:StockEntry | [0..1] | Сведения о записи журнала. |
003 | ······<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии записи журнала. |
004 | ······<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор записи журнала. |
005 | ······<bs:active>true</bs:active> | xs:boolean | [1..1] | Флаг: является ли запись журнала активной.
|
006 | ······<bs:last>true</bs:last> | xs:boolean | [1..1] | Флаг: является ли версия записи журнала последней.
|
007 | ······<bs:status>100</bs:status> | bs:VersionStatus | [1..1] | Статус версии записи журнала. |
008 | ······<bs:createDate>2018-02-08T11:08:27+03:00</bs:createDate> | xs:DateTime | [1..1] | Дата создания записи журнала. |
009 | ······<bs:updateDate>2018-02-08T11:08:27+03:00</bs:updateDate> | xs:DateTime | [1..1] | Дата изменения записи журнала. |
010 | ······<bs:previous>UUID</bs:previous> | bs:UUID | [0..1] | Идентификатор предыдущей версии записи журнала. |
011 | ······<bs:next>UUID</bs:next> | bs:UUID | [0..1] | Идентификатор следующей версии записи журнала. |
012 | ······<vd:entryNumber>85628322</vd:entryNumber> | vd:StockEntryNumber | [1..1] | Номер записи журнала, доступный через веб-интерфейс. |
013 | ······<vd:batch> | vd:Batch | [1..1] | Сведения о партии продукции. |
014 | ·········<vd:productType>1</vd:productType> | dt:ProductType | [1..1] | Тип продукции. Первый уровень иерархического справочника продукции ИС Меркурий. |
015 | ·········<vd:product> | dt:Product | [1..1] | Продукция. Второй уровень иерархического справочника продукции ИС Меркурий. |
016 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии продукции. |
017 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор продукции. |
018 | ·········</vd:product> | |||
019 | ·········<vd:subProduct> | dt:SubProduct | [1..1] | Вид продукции. Третий уровень иерархического справочника продукции ИС Меркурий. |
020 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии вида продукции. |
021 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор вида продукции. |
022 | ·········</vd:subProduct> | |||
023 | ·········<vd:productItem> | dt:ProductItem | [1..1] | Наименование продукции в номенклатуре производителя. |
024 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [0..1] | Идентификатор версии номенклатуры. |
025 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор номенклатуры. |
026 | ············<dt:globalID>4607147136201</dt:globalID> | dt:GTINType | [0..1] | Trade Identification Number (GTIN) - идентификационный номер продукции производителя. |
027 | ············<dt:name>Наименование продукции</dt:name> | bs:String255 | [1..1] | Наименование продукции. |
028 | ············<dt:code>А12345</dt:code> | bs:String255 | [0..1] | Артикул (код) продукции в соответствии с внутренним кодификатором производителя. |
029 | ············<dt:packaging> | dt:Packaging | [0..1] | Фасовка. |
030 | ···············<dt:packagingType> | dt:PackingType | [1..1] | Тип упаковки. |
031 | ··················<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии типа упаковки. |
032 | ··················<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор упаковки. |
033 | ··················<dt:globalID>BE</dt:globalID> | dt:PackingCodeType | [1..1] | Уникальный идентификатор упаковки. |
034 | ··················<dt:name>Пакет (пачка/связка)</dt:name> | bs:String255 | [1..1] | Наименование упаковки. |
035 | ···············</dt:packagingType> | |||
036 | ···············<dt:quantity>10</dt:quantity> | xs:int | [0..1] | Количество единиц упаковки. |
037 | ···············<dt:volume>50</dt:volume> | bs:Decimal | [0..1] | Объём единицы упаковки товара. |
038 | ···············<dt:unit> | dt:Unit | [0..1] | Единица измерения объёма единицы упаковки товара. |
039 | ··················<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии единицы измерения. |
040 | ··················<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор единицы измерения. |
041 | ··················<dt:name>кг</dt:name> | bs:String255 | [1..1] | Наименование единицы измерения. |
042 | ···············</dt:unit> | |||
043 | ············</dt:packaging> | |||
044 | ·········</vd:productItem> | |||
045 | ·········<vd:volume>370.0</vd:volume> | bs:Decimal | [1..1] | Объем продукции. |
046 | ·········<vd:unit> | dt:Unit | [1..1] | Единица измерения объема партии продукции. |
047 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии единицы измерения. |
048 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор единицы измерения. |
049 | ·········</vd:unit> | |||
050 | ·········<vd:dateOfProduction> | vd:GoodsDate | [1..1] | Дата выработки продукции. |
051 | ············<vd:firstDate> | dt:ComplexDate | [0..1] | Начальная дата в интервале, либо единичная дата. |
052 | ···············<dt:year>2017</dt:year> | dt:Year | [1..1] | Год. |
053 | ···············<dt:month>7</dt:month> | dt:Month | [0..1] | Месяц. |
054 | ···············<dt:day>7</dt:day> | dt:Day | [0..1] | День. |
055 | ···············<dt:hour>12</dt:hour> | dt:Hour | [0..1] | Час. |
056 | ············</vd:firstDate> | |||
057 | ············<vd:secondDate> | dt:ComplexDate | [0..1] | Конечная дата в интервале. |
058 | ···············<dt:year>2017</dt:year> | dt:Year | [1..1] | Год. |
059 | ···············<dt:month>7</dt:month> | dt:Month | [0..1] | Месяц. |
060 | ···············<dt:day>7</dt:day> | dt:Day | [0..1] | День. |
061 | ···············<dt:hour>23</dt:hour> | dt:Hour | [0..1] | Час. |
062 | ············</vd:secondDate> | |||
063 | ············<vd:informalDate>неизвестно</vd:informalDate> | bs:String255 | [0..1] | Текстовое значение даты. |
064 | ·········</vd:dateOfProduction> | |||
065 | ·········<vd:expiryDate> | vd:GoodsDate | [0..1] | Дата окончания срока годности продукции (кроме типа продукции "Живые животные"). |
066 | ············<vd:firstDate> | dt:ComplexDate | [0..1] | Начальная дата в интервале, либо единичная дата. |
067 | ···············<dt:year>2017</dt:year> | dt:Year | [1..1] | Год. |
068 | ···············<dt:month>7</dt:month> | dt:Month | [0..1] | Месяц. |
069 | ···············<dt:day>10</dt:day> | dt:Day | [0..1] | День. |
070 | ···············<dt:hour>12</dt:hour> | dt:Hour | [0..1] | Час. |
071 | ············</vd:firstDate> | |||
072 | ············<vd:secondDate> | dt:ComplexDate | [0..1] | Конечная дата в интервале. |
073 | ···············<dt:year>2017</dt:year> | dt:Year | [1..1] | Год. |
074 | ···············<dt:month>7</dt:month> | dt:Month | [1..1] | Месяц. |
075 | ···············<dt:day>10</dt:day> | dt:Day | [0..1] | День. |
076 | ···············<dt:hour>23</dt:hour> | dt:Hour | [0..1] | Час. |
077 | ············</vd:secondDate> | |||
078 | ············<vd:informalDate>не ограничен</vd:informalDate> | bs:String255 | [0..1] | Текстовое значение даты. |
079 | ·········</vd:expiryDate> | |||
080 | ·········<vd:batchID>ПП64219</vd:batchID> | bs:Identifier | [0..*] | Уникальный идентификатор производственной партии продукции. |
081 | ·········<vd:perishable>false</vd:perishable> | xs:boolean | [1..1] | Описывает, является ли продукция скоропортящейся.
|
082 | ·········<vd:origin> | vd:BatchOrigin | [0..1] | Сведения о происхождении продукции. |
083 | ············<vd:productItem> | dt:ProductItem | [0..1] | Наименование продукции в номенклатуре производителя.
|
084 | ···············<bs:uuid>UUID</bs:uuid> | bs:UUID | [0..1] | Идентификатор версии номенклатуры продукции. |
085 | ···············<bs:guid>GUID</bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор номенклатуры продукции. |
086 | ···············<dt:globalID>4607147136201</dt:globalID> | dt:GTINType | [0..1] | Trade Identification Number (GTIN) - идентификационный номер продукции производителя. |
087 | ···············<dt:name>Наименование продукции</dt:name> | bs:String255 | [1..1] | Наименование продукции. |
088 | ···············<dt:code>А12345</dt:code> | bs:String255 | [0..1] | Артикул (код) продукции в соответствии с внутренним кодификатором производителя. |
089 | ············</vd:productItem> | |||
090 | ············<vd:country> | dt:Country | [1..1] | Страна происхождения партии продукции. |
091 | ···············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии страны. |
092 | ···············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор страны. |
093 | ···············<dt:name>Российская Федерация</dt:name> | bs:String255 | [1..1] | Наименование страны происхождения партии продукции. |
094 | ············</vd:country> | |||
095 | ············<vd:producer> | dt:Producer | [1..*] | Производитель продукции. |
096 | ···············<dt:enterprise> | dt:Enterprise | [1..1] | Информация о предприятии-производителе продукции.
|
097 | ··················<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии предприятия. |
098 | ··················<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор предприятия. |
099 | ··················<dt:name>Производитель</dt:name> | bs:String255 | [0..1] | Наименование производителя. |
100 | ···············</dt:enterprise> | |||
101 | ···············<dt:role>PRODUCER</dt:role> | dt:EnterpriseRole | [1..1] | Роль предприятия-производителя продукции. |
102 | ············</vd:producer> | |||
103 | ·········</vd:origin> | |||
104 | ·········<vd:lowGradeCargo>false</vd:lowGradeCargo> | xs:boolean | [1..1] | Флаг: является ли груз некачественным.
|
105 | ·········<vd:packageList> | dt:PackageList | [0..1] | Список физической упаковки. |
106 | ············<dt:package> | dt:Package | [1..*] | Описание упаковки.
|
107 | ···············<dt:level>1</dt:level> | dt:PackageLevelType | [1..1] | Уровень упаковки.
|
108 | ···············<dt:packingType> | dt:PackingType | [1..1] | Тип упаковки.
|
109 | ··················<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии упаковки. |
110 | ··················<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор упаковки. |
111 | ··················<dt:globalID>BE</dt:globalID> | dt:PackingCodeType | [1..1] | Идентификатор упаковки по классификатору ЕК 013-2010 (ред.1)
ЕК 013-2010 (ред.1) - Классификатор видов груза, упаковки и упаковочных материалов. См. https://eomi.eaeunion.org/ru/#/repository/nsi/173
|
112 | ··················<dt:name>Пакет (пачка/связка)</dt:name> | bs:String255 | [1..1] | Наименование упаковки. |
113 | ···············</dt:packingType> | |||
114 | ···············<dt:quantity>2</dt:quantity> | xs:int | [0..1] | Количество единиц упаковки. |
115 | ···············<dt:productMarks class="BN">ПП64219</dt:productMarks> | dt:ProductMarks | [0..*] | Маркировка партии продукции.
|
116 | ············</dt:package> | |||
117 | ·········</vd:packageList> | |||
118 | ·········<vd:owner> | dt:BusinessEntity | [1..1] | Фирма-владелец продукции. |
119 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии хозяйствующего субъекта-владельца. |
120 | ············<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. |
121 | ·········</vd:owner> | |||
122 | ······</vd:batch> | |||
123 | ······<vd:vetDocument> | vd:VetDocument | [0..*] | |
124 | ·········<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор связанного с записью журнала ВСД. |
125 | ······</vd:vetDocument> | |||
126 | ······<vd:vetEventList> | vd:StockEntryEventList | [0..1] | Список ветеринарных мероприятий для партии продукции. |
127 | ·········<vd:laboratoryResearch> | vd:LaboratoryResearchEvent | [0..*] | Сведения о проведенных лабораторных исследованиях. |
128 | ············<vd:ID>ID</vd:ID> | bs:Identifier | [1..1] | Идентификатор события в разрезе записи складского журнала или вет.сертификата. |
129 | ············<vd:type>LBR</vd:type> | vd:VeterinaryEventType | [1..1] | Тип мероприятия. |
130 | ············<vd:actualDateTime>2017-07-07T12:00:00</vd:actualDateTime> | xs:DateTime | [1..1] | Дата события. |
131 | ············<vd:operator> | dt:Organization | [1..1] | Организация-оператор, осуществляющий мероприятие. |
132 | ···············<dt:name>Лаборатория №81</dt:name> | bs:String255 | [1..1] | Название организации оператора. |
133 | ············</vd:operator> | |||
134 | ············<vd:referencedDocument> | vd:ReferencedDocument | [0..*] | Сведения о связанных документах. |
135 | ···············<vd:issueNumber>79498-97</vd:issueNumber> | bs:String255 | [0..1] | Номер документа. |
136 | ···············<vd:issueDate>2017-07-07</vd:issueDate> | xs:date | [0..1] | Дата оформления документа. |
137 | ···············<vd:type>9</vd:type> | dt:DocumentType | [1..1] | Тип документа = 9 (акт отбора проб). |
138 | ············</vd:referencedDocument> | |||
139 | ············<vd:notes>Доп.сведения</vd:notes> | bs:Text | [0..1] | Дополнительные сведения. |
140 | ············<vd:expertiseID>913-7613</vd:expertiseID> | bs:String255 | [1..1] | Номер экспертизы. |
141 | ············<vd:indicator> | bs:String255 | [0..1] | Показатель безопасности. |
142 | ···············<dt:name>Показатель 1</dt:name> | bs:String255 | [1..1] | Название показателя. |
143 | ············</vd:indicator> | |||
144 | ············<vd:disease> | bs:String255 | [1..1] | Болезнь (наименование показателя).
|
145 | ···············<dt:name>Показатель 1</dt:name> | bs:String255 | [1..1] | Наименование болезни (показателя). |
146 | ············</vd:disease> | |||
147 | ············<vd:method> | dt:ResearchMethod | [0..1] | Метод исследования. |
148 | ···············<dt:name>Метод 1</dt:name> | bs:String255 | [1..1] | Название метода исследования. |
149 | ············</vd:method> | |||
150 | ············<vd:result>NEGATIVE</vd:result> | dt:ResearchResult | [0..1] | Результат исследования. |
151 | ············<vd:conclusion>Заключение</vd:conclusion> | bs:Text | [0..1] | Заключение. |
152 | ·········</vd:laboratoryResearch> | |||
153 | ·········<vd:immunization> | vd:AnimalMedicationEvent | [0..*] | Сведения о проведенной обработке/иммунизации животных. |
154 | ············<vd:ID>ID</vd:ID> | bs:Identifier | [0..1] | Идентификатор события в разрезе записи складского журнала или вет.сертификата. |
155 | ············<vd:type>IMM</vd:type> | vd:VeterinaryEventType | [1..1] | Тип мероприятия. |
156 | ············<vd:actualDateTime>2017-07-07T12:00:00</vd:actualDateTime> | xs:DateTime | [1..1] | Дата события. |
157 | ············<vd:notes>Доп.сведения</vd:notes> | bs:Text | [0..1] | Дополнительные сведения. |
158 | ············<vd:disease> | dt:AnimalDisease | [1..1] | Заболевание. |
159 | ···············<dt:name>Болезнь</dt:name> | bs:String255 | [1..1] | Название заболевания. |
160 | ············</vd:disease> | |||
161 | ············<vd:medicinalDrug> | dt:MedicinalDrug | [0..1] | Препарат. |
162 | ···············<dt:name>Название препарата</dt:name> | bs:String255 | [0..1] | Название препарата. |
163 | ···············<dt:series>92-12</dt:series> | bs:String255 | [0..1] | Номер серии препарата/вакцины |
164 | ············</vd:medicinalDrug> | |||
165 | ············<vd:effectiveBeforeDate>2017-07-07T12:00:00</vd:effectiveBeforeDate> | xs:DateTime | [0..1] | Срок действия препарата/вакцины. |
166 | ·········</vd:immunization> | |||
167 | ······</vd:vetEventList> | |||
168 | ···</vd:stockEntry> | |||
169 | </merc:getStockEntryByUuidResponse> |
Коды ошибок
В таблице ниже приведены коды ошибок, возвращаемые веб-сервисом при различных несоответствиях формату или бизнес-правилам.
Таблица кодов ошибок для GetStockEntryByUuidOperation v2.0
Код ошибки | Сообщение об ошибке |
---|---|
MERC34002 | В запросе отсутствуют сведения о хозяйствующем субъекте, ответственном за выполнение операции |
MERC34004 | В запросе для хозяйствующого субъекта ответственного за выполнение операции указан идентификатор устаревшей версии записи реестра РСХН |
MERC34005 | Хозяйствующий субъект, ответственный за выполнение операции, с указанным идентификатором не найден в реестре РСХН, либо идентификатор не соответствует установленному формату |
MERC34008 | Запись складского журнала продукции с указанным идентификатором не найдена в реестре РСХН, либо идентификатор не соответствует установленному формату |
MERC34047 | Обслуживаемое предприятие обязательно для заполнения |
MERC34127 | Указанные предприятие и хозяйствующий субъект должны быть связаны друг с другом |
MERC34144 | Запись складского журнала продукции должна быть отправлена в ГВЭ |
MERC34174 | Хозяйствующий субъект с указанным идентификатором не найден в реестре РСХН, либо идентификатор не соответствует установленному формату |
MERC34175 | В запросе для хозяйствующего субъекта указан идентификатор устаревшей версии записи реестра РСХН. |
MERC34176 | Идентификатор хозяйствующего субъекта (GUID) обязателен для заполнения |
MERC34180 | Предприятие с указанным идентификатором не найдено в реестре РСХН, либо идентификатор не соответствует установленному формату |
MERC34181 | В запросе для предприятия указан идентификатор устаревшей версии записи реестра РСХН. |
MERC34182 | Идентификатор предприятия (GUID) обязателен для заполнения |
MERC34275 | Идентификатор записи складского журнала продукции обязателен для заполнения |
MERC34306 | Пользователь с указанным идентификатором заблокирован |
MERC34320 | Идентификатор пользователя обязателен для заполнения |
MERC34369 | Инициатор, ответственный за выполнение операции, с указанным идентификатором не найден в реестре РСХН, либо идентификатор не соответствует установленному формату. |
MERC34383 | Хозяйствующий субъект-инициатор запроса должен быть связан с обслуживающим предприятием |
MERC34387 | Пользователь-инициатор запроса обязателен для заполнения |
MERC34393 | В запросе указана организация пользователя и хозяйстующий субъект, должно быть указано что-то одно |
MERC34394 | В запросе не указана ни организация пользователя, ни хозяйстующий субъект |
MERC34395 | Организация пользователя-инициатора запроса не найдена в реестре РСХН |
MERC34396 | В запросе указана неактивная организация пользователя-инициатора |
MERC34397 | Указанный инициатор не связан с ГВЭ региона обслуживаемого предприятия |
MERC34398 | Указанный инициатор не связан с ГВЭ региона указанной организации |
MERC34399 | Инициатор запроса должен быть сотрудником ВУ или иметь доступ в ГВЭ |
MERC34400 | Регион указанной организации и обслуживаемого предприятия должны совпадать |
MERC34401 | Для хозяйствующео субъекта - инициатора запроса указана организация |
MERC34402 | Указанный инициатор не связан с хозяйствующим субъектом |
Примеры запросов
<SOAP-ENV:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<apldef:submitApplicationRequest>
<apldef:apiKey>apikey</apldef:apiKey>
<apl:application>
<apl:serviceId>mercury-g2b.service:2.0</apl:serviceId>
<apl:issuerId>issuerId</apl:issuerId>
<apl:issueDate>2017-09-15T12:00:12</apl:issueDate>
<apl:data>
<merc:getStockEntryByUuidRequest>
<merc:localTransactionId>a10003</merc:localTransactionId>
<merc:initiator>
<vd:login>user_login</vd:login>
</merc:initiator>
<bs:uuid>3885fcf4-dd5c-43b8-a8c9-56d4e094364d</bs:uuid>
<dt:enterpriseGuid>ac264dc6-a3eb-4b0f-a86a-9c9577209d6f</dt:enterpriseGuid>
</merc:getStockEntryByUuidRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<env:Envelope xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:merc="http://api.vetrf.ru/schema/cdm/mercury/g2b/applications/v2" xmlns:apldef="http://api.vetrf.ru/schema/cdm/application/ws-definitions" xmlns:apl="http://api.vetrf.ru/schema/cdm/application" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:vd="http://api.vetrf.ru/schema/cdm/mercury/vet-document/v2">
<env:Header/>
<env:Body>
<apldef:receiveApplicationResultResponse>
<apl:application>
<apl:applicationId>e88d7690-0e29-4413-8641-43a9329b0b10</apl:applicationId>
<apl:status>COMPLETED</apl:status>
<apl:serviceId>mercury-g2b.service</apl:serviceId>
<apl:issuerId>issuerId</apl:issuerId>
<apl:issueDate>2017-09-15T12:00:12.000+03:00</apl:issueDate>
<apl:rcvDate>2017-09-15T12:00:12.000+03:00</apl:rcvDate>
<apl:prdcRsltDate>2017-09-15T12:00:15.000+03:00</apl:prdcRsltDate>
<apl:result>
<merc:getStockEntryByUuidResponse>
<vd:stockEntry>
<bs:uuid>3885fcf4-dd5c-43b8-a8c9-56d4e094364d</bs:uuid>
<bs:guid>4d6e7063-646d-4d39-bcb9-b601b8688fd0</bs:guid>
<bs:active>true</bs:active>
<bs:last>true</bs:last>
<bs:status>103</bs:status>
<bs:createDate>2017-09-15T12:00:08+03:00</bs:createDate>
<bs:updateDate>2017-09-15T12:00:08+03:00</bs:updateDate>
<vd:entryNumber>18398325</vd:entryNumber>
<vd:batch>
<vd:productType>5</vd:productType>
<vd:product>
<bs:uuid>31c94ff1-a217-f38d-6005-1aa5ca67e146</bs:uuid>
<bs:guid>d34504bb-7a93-e1c8-4859-339eafd97c6c</bs:guid>
</vd:product>
<vd:subProduct>
<bs:uuid>a3cecd19-98ca-46f9-ecd5-90c41fd95e13</bs:uuid>
<bs:guid>9540bfdd-4cd6-6f47-ae83-a32a36c36bfe</bs:guid>
</vd:subProduct>
<vd:productItem>
<bs:uuid>de407a38-bab4-4b48-9732-bdc71e253fa2</bs:uuid>
<bs:guid>93acfc5d-7b02-4767-8c7c-9449a02f5971</bs:guid>
<dt:name>Молоко ультрапастеризованное холостятское</dt:name>
<dt:code>41236001</dt:code>
<dt:packaging>
<dt:packagingType>
<bs:uuid>118124c8-ace0-44e1-b212-ee10dd5c1cdc</bs:uuid>
<bs:guid>933312a8-dc11-43ee-9daa-abb240bf9e3f</bs:guid>
<dt:globalID>43</dt:globalID>
<dt:name>Мешок большой для крупноразмерных навалочных грузов</dt:name>
</dt:packagingType>
<dt:quantity>12</dt:quantity>
<dt:volume>33.0</dt:volume>
<dt:unit>
<bs:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</bs:uuid>
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid>
<dt:name>кг</dt:name>
</dt:unit>
</dt:packaging>
</vd:productItem>
<vd:volume>400.0</vd:volume>
<vd:unit>
<bs:uuid>069792f0-053d-11e1-99b4-d8d385fbc9e8</bs:uuid>
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid>
</vd:unit>
<vd:dateOfProduction>
<vd:firstDate>
<dt:year>2020</dt:year>
<dt:month>12</dt:month>
<dt:day>6</dt:day>
</vd:firstDate>
</vd:dateOfProduction>
<vd:expiryDate>
<vd:firstDate>
<dt:year>2021</dt:year>
<dt:month>12</dt:month>
<dt:day>6</dt:day>
</vd:firstDate>
</vd:expiryDate>
<vd:batchID>ASDF1234</vd:batchID>
<vd:perishable>false</vd:perishable>
<vd:origin>
<vd:productItem>
<dt:name>Молоко ультрапастеризованное холостятское</dt:name>
<dt:code>430deaca-95e5-4f83-8f3f-4b611187b622</dt:code>
</vd:productItem>
<vd:country>
<bs:uuid>72a84b51-5c5e-11e1-b9b7-001966f192f1</bs:uuid>
<bs:guid>74a3cbb1-56fa-94f3-ab3f-e8db4940d96b</bs:guid>
<dt:name>Российская Федерация</dt:name>
</vd:country>
<vd:producer>
<dt:enterprise>
<bs:uuid>8888c36c-df2e-442f-b0d9-faef5e063b43</bs:uuid>
<bs:guid>ac264dc6-a3eb-4b0f-a86a-9c9577209d6f</bs:guid>
</dt:enterprise>
<dt:role>PRODUCER</dt:role>
</vd:producer>
</vd:origin>
<vd:lowGradeCargo>false</vd:lowGradeCargo>
<vd:packageList>
<dt:package>
<dt:level>6</dt:level>
<dt:packingType>
<bs:uuid>118124c8-ace0-44e1-b212-ee10dd5c1cdc</bs:uuid>
<bs:guid>933312a8-dc11-43ee-9daa-abb240bf9e3f</bs:guid>
<dt:globalID>43</dt:globalID>
<dt:name>Мешок большой для крупноразмерных навалочных грузов</dt:name>
</dt:packingType>
</dt:package>
<dt:package>
<dt:level>1</dt:level>
<dt:packingType>
<bs:uuid>a7363144-e6a0-4af0-832f-0d403fdeb761</bs:uuid>
<bs:guid>f0b0ec9b-8341-4e95-bc0e-80898be598cb</bs:guid>
<dt:globalID>BE</dt:globalID>
<dt:name>Пакет (пачка/связка)</dt:name>
</dt:packingType>
<dt:productMarks class="UNDEFINED">7456873456-147885</dt:productMarks>
</dt:package>
</vd:packageList>
<vd:owner>
<bs:uuid>04ceb142-053d-11e1-99b4-d8d385fbc9e8</bs:uuid>
<bs:guid>fcd89443-218a-11e2-a69b-b499babae7ea</bs:guid>
</vd:owner>
</vd:batch>
<vd:vetDocument>
<bs:uuid>494169a7-0738-4d1d-9f7b-ce301e9cee22</bs:uuid>
</vd:vetDocument>
</vd:stockEntry>
</merc:getStockEntryByUuidResponse>
</apl:result>
</apl:application>
</apldef:receiveApplicationResultResponse>
</env:Body>
</env:Envelope>