GetProductItemByGuid v2.0: различия между версиями

Материал из Справочная система Россельхознадзора
Перейти к навигации Перейти к поиску
Строка 57: Строка 57:
! Тип
! Тип
! Обязат.
! Обязат.
! Описание
! Описание (нажмите [...] для отображения дополнительного описания)
! Пример
|-
|-
|1
|001
|style="font-weight: bold; font-family: Courier;" |<ws:getProductItemByGuidResponse>
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<ws:getProductItemByGuidResponse>'''}}
|
|
|
|
|
| style="width:52em;"|  
|style="font-family: Courier;" |
|-
|-
|2
|002
|style="font-weight: bold; font-family: Courier;" |···&lt;dt:productItem>
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''<{{color|#660e7a|dt:}}productItem>'''}}
|[[ProductItem_v2.0|dt:ProductItem]]
|[[ProductItem_v2.0|dt:ProductItem]]
|[1..1]
|[1..1]
|Данные о номенклатуре производителя
| style="width:52em;"| Данные о номенклатуре производителя
|style="font-family: Courier;" |
|-
|-
|3
|003
|style="font-weight: bold; font-family: Courier;" |······<bs:uuid>
|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;"| Идентификатор версии номенклатуры.
|style="font-family: Courier;" |<bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid>
|-
|-
|4
|004
|style="font-weight: bold; font-family: Courier;" |······<bs:guid>
|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;"| Глобальный идентификатор номенклатуры.
|style="font-family: Courier;" |<bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid>
|-
|-
|5
|005
|style="font-weight: bold; font-family: Courier;" |······<bs:active>
|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="&nbsp;...&nbsp;" 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>
|style="font-family: Courier;" |<bs:active>true</bs:active>
</div>
|-
|-
|6
|006
|style="font-weight: bold; font-family: Courier;" |······<bs:last>
|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="&nbsp;...&nbsp;" 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 - нет.  
|style="font-family: Courier;" |<bs:last>true</bs:last>
</div>
</div>
|-
|-
|7
|007
|style="font-weight: bold; font-family: Courier;" |······<bs:status>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}status>'''}}{{color|#131313|100}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}status>'''}}
|[[VersionStatus|bs:VersionStatus]]
|[[VersionStatus|bs:VersionStatus]]
|[1..1]
|[1..1]
|Статус версии номенклатуры.
| style="width:52em;"| Статус версии номенклатуры.
|style="font-family: Courier;" |<bs:status>100</bs:status>
|-
|-
|8
|008
|style="font-weight: bold; font-family: Courier;" |······<bs:createDate>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}createDate>'''}}{{color|#131313|2017-07-07T12:00:00}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}createDate>'''}}
|[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime]
|[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime]
|[1..1]
|[1..1]
|Дата создания номенклатуры.
| style="width:52em;"| Дата создания номенклатуры.
|style="font-family: Courier;" |<bs:createDate>2017-07-07T12:00:00</bs:createDate>
|-
|-
|9
|009
|style="font-weight: bold; font-family: Courier;" |······<bs:updateDate>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}updateDate>'''}}{{color|#131313|2017-07-07T12:00:00}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}updateDate>'''}}
|[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime]
|[http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime]
|[1..1]
|[1..1]
|Дата изменения номенклатуры.
| style="width:52em;"| Дата изменения номенклатуры.
|style="font-family: Courier;" |<bs:updateDate>2017-07-07T12:00:00</bs:updateDate>
|-
|-
|10
|010
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:globalID>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}globalID>'''}}{{color|#131313|85672854}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}globalID>'''}}
|[[GTINType_v2.0|dt:GTINType]]
|[[GTINType_v2.0|dt:GTINType]]
|[0..1]
|[0..1]
|Trade Identification Number (GTIN) - идентификационный номер продукции производителя.
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|style="font-family: Courier;" |&lt;dt:globalID>85672854</dt:globalID>
<span style="white-space:nowrap; font-weight: normal;">Trade Identification Number (GTIN) </span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* идентификационный номер продукции производителя</div>
</div>
|-
|-
|11
|011
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:name>
|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]]
|[0..1]
|[0..1]
|Наименование продукции.
| style="width:52em;"| Наименование продукции.
|style="font-family: Courier;" |&lt;dt:name>Название</dt:name>
|-
|-
|12
|012
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:code>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}code>'''}}{{color|#131313|12}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}code>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
|[0..1]
|[0..1]
|Артикул (код) продукции в соответствии с внутренним кодификатором производителя.  
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|style="font-family: Courier;" |&lt;dt:code>12</dt:code>
<span style="white-space:nowrap; font-weight: normal;">Артикул.</span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* код продукции в соответствии с внутренним кодификатором производителя </div>
</div>
|-
|-
|13
|013
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:productType>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}productType>'''}}{{color|#131313|1}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}productType>'''}}
|[[ProductType_v2.0|dt:ProductType]]
|[[ProductType_v2.0|dt:ProductType]]
|[1..1]
|[1..1]
|Тип продукции. Первый уровень иерархического справочника продукции ИС Меркурий.
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|style="font-family: Courier;" |&lt;dt:productType>1</dt:productType>
<span style="white-space:nowrap; font-weight: normal;">Тип продукции. </span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* первый уровень иерархического справочника продукции ИС Меркурий</div>
</div>
|-
|-
|14
|014
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:product>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}product>'''}}
|[[Product_v2.0|dt:Product]]
|[[Product_v2.0|dt:Product]]
|[1..1]
|[1..1]
|Продукция. Второй уровень иерархического справочника продукции ИС Меркурий.
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|style="font-family: Courier;" |
<span style="white-space:nowrap; font-weight: normal;">Продукция. </span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* второй уровень иерархического справочника продукции ИС Меркурий</div>
</div>
|-
|-
|15
|015
|style="font-weight: bold; font-family: Courier;" |·········<bs:uuid>
|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;"| Идентификатор версии продукции.
|style="font-family: Courier;" |<bs:uuid>53557240-35e7-48c8-81ce-8b9948cfef90</bs:uuid>
|-
|-
|16
|016
|style="font-weight: bold; font-family: Courier;" |·········<bs:guid>
|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;"| Глобальный идентификатор продукции.
|style="font-family: Courier;" |<bs:guid>2c779c29-1fc2-44a6-8add-92752657f089</bs:guid>
|-
|-
|17
|017
|style="font-weight: bold; font-family: Courier;" |······</dt:product>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}product>'''}}
|
|
|
|
|
| style="width:52em;"|  
|style="font-family: Courier;" |
|-
|-
|18
|018
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:subProduct>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}subProduct>'''}}
|[[SubProduct_v2.0|dt:SubProduct]]
|[[SubProduct_v2.0|dt:SubProduct]]
|[1..1]
|[1..1]
|Вид продукции. Третий уровень иерархического справочника продукции ИС Меркурий.
|<div class="mw-collapsible mw-collapsed" data-expandtext="&nbsp;...&nbsp;" data-collapsetext="свернуть" style="font-weight: bold; width:52em;">
|style="font-family: Courier;" |
<span style="white-space:nowrap; font-weight: normal;">Вид продукции. </span>
<div class="mw-collapsible-content" style="font-weight: normal;">
* третий уровень иерархического справочника продукции ИС Меркурий</div>
</div>
|-
|-
|19
|019
|style="font-weight: bold; font-family: Courier;" |·········<bs:uuid>
|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;"| Идентификатор версии вида продукции.
|style="font-family: Courier;" |<bs:uuid>d9d008eb-057a-4cd4-8cb2-d69364318bbe</bs:uuid>
|-
|-
|20
|020
|style="font-weight: bold; font-family: Courier;" |·········<bs:guid>
|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;"| Глобальный идентификатор вида продукции.
|style="font-family: Courier;" |<bs:guid>6f5feda1-a3d4-4dfd-8625-de62777a205e</bs:guid>
|-
|-
|21
|021
|style="font-weight: bold; font-family: Courier;" |······</dt:subProduct>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}subProduct>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|22
|022
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:correspondsToGost>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}correspondsToGost>'''}}{{color|#131313|true}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}correspondsToGost>'''}}
|[http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean]  
|[http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean]  
|[1..1]
|[1..1]
|Соответствует ли ГОСТу.
| style="width:52em;"| Соответствует ли ГОСТу.
|style="font-family: Courier;" |&lt;dt:correspondsToGost>true</dt:correspondsToGost>
|-
|-
|23
|023
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:gost>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}gost>'''}}{{color|#131313|ГОСТ-621187/53}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}gost>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
|[0..1]
|[0..1]
|ГОСТ.
| style="width:52em;"| ГОСТ.
|style="font-family: Courier;" |&lt;dt:gost>ГОСТ-621187/53</dt:gost>
|-
|-
|24
|024
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:producer>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}producer>'''}}
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[0..1]
|[0..1]
|ХС-производитель продукции.
| style="width:52em;"| ХС-производитель продукции.
|style="font-family: Courier;" |
|-
|-
|25
|025
|style="font-weight: bold; font-family: Courier;" |·········<bs:uuid>
|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;"| Идентификатор версии хозяйствующего субъекта-владельца.
|style="font-family: Courier;" |<bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid>
|-
|-
|26
|026
|style="font-weight: bold; font-family: Courier;" |·········<bs:guid>
|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;"| Глобальный идентификатор хозяйствующего субъекта-владельца.
|style="font-family: Courier;" |<bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid>
|-
|-
|27
|027
|style="font-weight: bold; font-family: Courier;" |······</dt:producer>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}producer>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|28
|028
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:tmOwner>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}tmOwner>'''}}
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[[BusinessEntity_v2.0|dt:BusinessEntity]]
|[0..1]
|[0..1]
|ХС-собственник торговой марки.
| style="width:52em;"| ХС-собственник торговой марки.
|style="font-family: Courier;" |
|-
|-
|29
|029
|style="font-weight: bold; font-family: Courier;" |·········<bs:uuid>
|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;"| Идентификатор версии хозяйствующего субъекта-владельца.
|style="font-family: Courier;" |<bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid>
|-
|-
|30
|030
|style="font-weight: bold; font-family: Courier;" |·········<bs:guid>
|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;"| Глобальный идентификатор хозяйствующего субъекта-владельца.
|style="font-family: Courier;" |<bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid>
|-
|-
|31
|031
|style="font-weight: bold; font-family: Courier;" |······</dt:tmOwner>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}tmOwner>'''}}
|
|
|
|
|
| style="width:52em;"|  
|style="font-family: Courier;" |
|-
|-
|32
|032
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:producing>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}producing>'''}}
|[[ProductItemProducing_v2.0|dt:ProductItemProducing]]
|[[ProductItemProducing_v2.0|dt:ProductItemProducing]]
|[0..*]
|[0..*]
|Список площадок, на которых выпускается данная продукция.
| style="width:52em;"| Список площадок, на которых выпускается данная продукция.
|style="font-family: Courier;" |
|-
|-
|33
|033
|style="font-weight: bold; font-family: Courier;" |········&lt;dt:location>
|style="font-weight: ; font-family: Courier;" |········{{color|#190dbf|'''<{{color|#660e7a|dt:}}location>'''}}
|[[Enterprise_v2.0|dt:Enterprise]]
|[[Enterprise_v2.0|dt:Enterprise]]
|[1..1]
|[1..1]
|Площадка, осуществляющая выпуск продукции.
| style="width:52em;"| Площадка, осуществляющая выпуск продукции.
|style="font-family: Courier;" |
|-
|-
|34
|034
|style="font-weight: bold; font-family: Courier;" |············<bs:uuid>
|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;"| Идентификатор версии предприятия.
|style="font-family: Courier;" |<bs:uuid>9c706614-b995-4bdd-bda3-8fa9de70803a</bs:uuid>
|-
|-
|35
|035
|style="font-weight: bold; font-family: Courier;" |············<bs:guid>
|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;"| Глобальный идентификатор предприятия.
|style="font-family: Courier;" |<bs:guid>12f04ea3-e236-4b71-b427-e04d41b26de4</bs:guid>
|-
|-
|36
|036
|style="font-weight: bold; font-family: Courier;" |·········</dt:location>
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}location>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|37
|037
|style="font-weight: bold; font-family: Courier;" |······</dt:producing>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}producing>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|38
|038
|style="font-weight: bold; font-family: Courier;" |······&lt;dt:packaging>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|dt:}}packaging>'''}}
|[[Packaging_v2.0|dt:Packaging]]
|[[Packaging_v2.0|dt:Packaging]]
|[0..1]
|[0..1]
|Фасовка.
| style="width:52em;"| Фасовка.
|style="font-family: Courier;" |
|-
|-
|39
|039
|style="font-weight: bold; font-family: Courier;" |·········&lt;dt:packagingType>
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}packagingType>'''}}{{color|#131313|1}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}packagingType>'''}}
|[[PackingType_v2.0|dt:PackingType]]
|[[PackingType_v2.0|dt:PackingType]]
|[1..1]
|[1..1]
|Тип упаковки.
| style="width:52em;"| Тип упаковки.
|style="font-family: Courier;" |&lt;dt:packagingType>1</dt:packagingType>
|-
|-
|40
|040
|style="font-weight: bold; font-family: Courier;" |············<bs:uuid>
|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;"| Идентификатор версии типа упаковки.
|style="font-family: Courier;" |<bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid>
|-
|-
|41
|041
|style="font-weight: bold; font-family: Courier;" |············<bs:guid>
|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;"| Глобальный идентификатор упаковки.
|style="font-family: Courier;" |<bs:guid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:guid>
|-
|-
|42
|042
|style="font-weight: bold; font-family: Courier;" |············&lt;dt:globalID>
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}globalID>'''}}{{color|#131313|7B}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}globalID>'''}}
|[[PackingCodeType_v2.0|dt:PackingCodeType]]
|[[PackingCodeType_v2.0|dt:PackingCodeType]]
|[1..1]
|[1..1]
|Уникальный идентификатор упаковки.
| style="width:52em;"| Уникальный идентификатор упаковки.
|style="font-family: Courier;" |&lt;dt:globalID>7B</dt:globalID>
|-
|-
|43
|043
|style="font-weight: bold; font-family: Courier;" |············&lt;dt:name>
|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]
|[1..1]
|Наименование упаковки.
| style="width:52em;"| Наименование упаковки.
|style="font-family: Courier;" |&lt;dt:name>Название</dt:name>
|-
|-
|44
|044
|style="font-weight: bold; font-family: Courier;" |·········</dt:packagingType>
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}packagingType>'''}}
|
|
|
|
|
| style="width:52em;"|  
|style="font-family: Courier;" |
|-
|-
|45
|045
|style="font-weight: bold; font-family: Courier;" |·········&lt;dt:quantity>
|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]  
|[http://www.w3.org/TR/xmlschema-2/#int xs:int]  
|[0..1]
|[0..1]
|Количество единиц упаковки.
| style="width:52em;"| Количество единиц упаковки.
|style="font-family: Courier;" |&lt;dt:quantity>10</dt:quantity>
|-
|-
|46
|046
|style="font-weight: bold; font-family: Courier;" |·········&lt;dt:volume>
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}volume>'''}}{{color|#131313|50}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}volume>'''}}
|[[Decimal |bs:Decimal]]
|[[Decimal |bs:Decimal]]
|[0..1]
|[0..1]
|Объём единицы упаковки товара.
| style="width:52em;"| Объём единицы упаковки товара.
|style="font-family: Courier;" |&lt;dt:volume>50</dt:volume>
|-
|-
|47
|047
|style="font-weight: bold; font-family: Courier;" |·········&lt;dt:unit>
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|dt:}}unit>'''}}
|[[Unit_v2.0|dt:Unit]]
|[[Unit_v2.0|dt:Unit]]
|[0..1]
|[0..1]
|Единица измерения объёма единицы упаковки товара.
| style="width:52em;"| Единица измерения объёма единицы упаковки товара.
|style="font-family: Courier;" |
|-
|-
|48
|048
|style="font-weight: bold; font-family: Courier;" |············<bs:uuid>
|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;"| Идентификатор версии единицы измерения.
|style="font-family: Courier;" |<bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid>
|-
|-
|49
|049
|style="font-weight: bold; font-family: Courier;" |············<bs:guid>
|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;"| Глобальный идентификатор единицы измерения.
|style="font-family: Courier;" |<bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid>
|-
|-
|50
|050
|style="font-weight: bold; font-family: Courier;" |············&lt;dt:name>
|style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|dt:}}name>'''}}
|[[String255|bs:String255]]
|[[String255|bs:String255]]
|[1..1]
|[1..1]
|Наименование единицы измерения
| style="width:52em;"| Наименование единицы измерения
|style="font-family: Courier;" |&lt;dt:name>кг</dt:name>
|-
|-
|51
|051
|style="font-weight: bold; font-family: Courier;" |·········</dt:unit>
|style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}unit>'''}}{{color|#131313|кг}}{{color|#190dbf|'''</{{color|#660e7a|dt:}}name>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|52
|052
|style="font-weight: bold; font-family: Courier;" |······</dt:packaging>
|style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}packaging>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|53
|053
|style="font-weight: bold; font-family: Courier;" |···</dt:productItem>
|style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|dt:}}productItem>'''}}
|
|
|
|
|
| style="width:52em;"|  
|style="font-family: Courier;" |
|-
|-
|54
|054
|style="font-weight: bold; font-family: Courier;" |</ws:getProductItemByGuidResponse>
|style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</ws:getProductItemByGuidResponse>'''}}
|
|
|
|
|
|style="font-family: Courier;" |
| style="width:52em;"|  
|-
|-
|}
|}

Версия 16:04, 27 сентября 2020

Общие сведения

Операция GetProductItemByGuid предназначена для получения последней актуальной (last = true, active = true) записи о номенклатуре производителя (4 уровень иерархического справочника) по её глобальному идентификатору. Глобальный идентификатор присваивается номенклатуре при занесении её в список с помощью метода ModifyProducerStockListOperation. Выполнение операции заканчивается либо возвратом объекта номенклатуры производителя , либо ошибкой, в случае если параметры запроса не корректны, если запись по запросу не найдена или произошла иная ошибка выполнения запроса.

Входные данные

  • глобальный уникальный идентификатор номенклатуры производителя.

Выходные данные

  • данные номенклатуры производителя.

Спецификация запроса

# Название XML-элемента Тип Обязат. Описание (нажмите [...] для отображения дополнительного описания)
001 <ws:getProductItemByGuidRequest>
002 ···<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор номенклатуры.
003 </ws:getProductItemByGuidRequest>

Спецификация ответа

# Название XML-элемента Тип Обязат. Описание (нажмите [...] для отображения дополнительного описания)
001 <ws:getProductItemByGuidResponse>
002 ···<dt:productItem> dt:ProductItem [1..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]

Описывает, является ли запись активной.

  • true - запись активна;
  • false - запись не активна.
006 ······<bs:last>true</bs:last> xs:boolean [1..1]

Описывает, является ли версия записи последней.

  • true - да;
  • false - нет.
007 ······<bs:status>100</bs:status> bs:VersionStatus [1..1] Статус версии номенклатуры.
008 ······<bs:createDate>2017-07-07T12:00:00</bs:createDate> xs:DateTime [1..1] Дата создания номенклатуры.
009 ······<bs:updateDate>2017-07-07T12:00:00</bs:updateDate> xs:DateTime [1..1] Дата изменения номенклатуры.
010 ······<dt:globalID>85672854</dt:globalID> dt:GTINType [0..1]

Trade Identification Number (GTIN)

  • идентификационный номер продукции производителя
011 ······<dt:name>Название</dt:name> bs:String255 [0..1] Наименование продукции.
012 ······<dt:code>12</dt:code> bs:String255 [0..1]

Артикул.

  • код продукции в соответствии с внутренним кодификатором производителя
013 ······<dt:productType>1</dt:productType> dt:ProductType [1..1]

Тип продукции.

  • первый уровень иерархического справочника продукции ИС Меркурий
014 ······<dt:product> dt:Product [1..1]

Продукция.

  • второй уровень иерархического справочника продукции ИС Меркурий
015 ·········<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии продукции.
016 ·········<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор продукции.
017 ······</dt:product>
018 ······<dt:subProduct> dt:SubProduct [1..1]

Вид продукции.

  • третий уровень иерархического справочника продукции ИС Меркурий
019 ·········<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии вида продукции.
020 ·········<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор вида продукции.
021 ······</dt:subProduct>
022 ······<dt:correspondsToGost>true</dt:correspondsToGost> xs:boolean [1..1] Соответствует ли ГОСТу.
023 ······<dt:gost>ГОСТ-621187/53</dt:gost> bs:String255 [0..1] ГОСТ.
024 ······<dt:producer> dt:BusinessEntity [0..1] ХС-производитель продукции.
025 ·········<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии хозяйствующего субъекта-владельца.
026 ·········<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор хозяйствующего субъекта-владельца.
027 ······</dt:producer>
028 ······<dt:tmOwner> dt:BusinessEntity [0..1] ХС-собственник торговой марки.
029 ·········<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии хозяйствующего субъекта-владельца.
030 ·········<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор хозяйствующего субъекта-владельца.
031 ······</dt:tmOwner>
032 ······<dt:producing> dt:ProductItemProducing [0..*] Список площадок, на которых выпускается данная продукция.
033 ········<dt:location> dt:Enterprise [1..1] Площадка, осуществляющая выпуск продукции.
034 ············<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии предприятия.
035 ············<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор предприятия.
036 ·········</dt:location>
037 ······</dt:producing>
038 ······<dt:packaging> dt:Packaging [0..1] Фасовка.
039 ·········<dt:packagingType>1</dt:packagingType> dt:PackingType [1..1] Тип упаковки.
040 ············<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии типа упаковки.
041 ············<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор упаковки.
042 ············<dt:globalID>7B</dt:globalID> dt:PackingCodeType [1..1] Уникальный идентификатор упаковки.
043 ············<dt:name>Название</dt:name> bs:String255 [1..1] Наименование упаковки.
044 ·········</dt:packagingType>
045 ·········<dt:quantity>10</dt:quantity> xs:int [0..1] Количество единиц упаковки.
046 ·········<dt:volume>50</dt:volume> bs:Decimal [0..1] Объём единицы упаковки товара.
047 ·········<dt:unit> dt:Unit [0..1] Единица измерения объёма единицы упаковки товара.
048 ············<bs:uuid>UUID</bs:uuid> bs:UUID [1..1] Идентификатор версии единицы измерения.
049 ············<bs:guid>GUID</bs:guid> bs:UUID [1..1] Глобальный идентификатор единицы измерения.
050 ············<dt:name> bs:String255 [1..1] Наименование единицы измерения
051 ·········</dt:unit>кг</dt:name>
052 ······</dt:packaging>
053 ···</dt:productItem>
054 </ws:getProductItemByGuidResponse>

Описание ошибок

Ошибка Описание
InternalServiceFault Внутренняя ошибка сервиса.
IncorrectRequestFault Некорректный запрос. Происходит в случае, если запрос не соответствует требованиям указанным в xsd, то есть сообщение не проходит валидацию.
EntityNotFoundFault Объект с заданными параметрами не найден в базе.

Пример запроса

Запрос данных о номенклатуре производителя по его глобальному идентификатору.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://api.vetrf.ru/schema/cdm/registry/ws-definitions/v2" xmlns:bs="http://api.vetrf.ru/schema/cdm/base">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:getProductItemByGuidRequest>
         <bs:guid>31be83d0-4867-43fb-a3b6-460a03bd260b</bs:guid>
      </ws:getProductItemByGuidRequest>
   </soapenv:Body>
</soapenv:Envelope>


Ответ на запрос.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <v2:getProductItemByGuidResponse xmlns:bs="http://api.vetrf.ru/schema/cdm/base" xmlns:dt="http://api.vetrf.ru/schema/cdm/dictionary/v2" xmlns:v2="http://api.vetrf.ru/schema/cdm/registry/ws-definitions/v2">
         <dt:productItem>
            <bs:uuid>3aefb5af-4244-4563-8481-5e83bb28e2e9</bs:uuid>
            <bs:guid>31be83d0-4867-43fb-a3b6-460a03bd260b</bs:guid>
            <bs:active>false</bs:active>
            <bs:last>true</bs:last>
            <bs:status>400</bs:status>
            <bs:createDate>2017-08-23T19:53:23+03:00</bs:createDate>
            <bs:updateDate>2017-08-23T19:53:23+03:00</bs:updateDate>
            <bs:previous>3e8d9859-a635-4b61-9c5b-cf48fa186255</bs:previous>
            <dt:name>Филе Cциллы мороженое (100% качество)</dt:name>
            <dt:code>001122</dt:code>
            <dt:productType>7</dt:productType>
            <dt:product>
               <bs:uuid>339a2e35-d937-b97d-33eb-5bec659483ce</bs:uuid>
               <bs:guid>41fb53ea-31c3-b116-9ce2-7d7df18c5835</bs:guid>
            </dt:product>
            <dt:subProduct>
               <bs:uuid>ebf8177a-378e-034c-8c88-6e6a5349a571</bs:uuid>
               <bs:guid>9956d97a-6231-a1a3-7726-ad538a3ff3fc</bs:guid>
            </dt:subProduct>
            <dt:correspondsToGost>false</dt:correspondsToGost>
            <dt:producing>
               <dt:location>
                  <bs:uuid>33aff5fa-b9d5-4109-8c00-bca490c24107</bs:uuid>
                  <bs:guid>87e0bc14-5e9f-4861-ba2d-5766662475d9</bs:guid>
               </dt:location>
            </dt:producing>
         </dt:productItem>
      </v2:getProductItemByGuidResponse>
   </soap:Body>
</soapenv:Envelope>