GetProductItemByUuid v2.0: различия между версиями
Строка 56: | Строка 56: | ||
! Тип | ! Тип | ||
! Обязат. | ! Обязат. | ||
! Описание | ! Описание (нажмите [...] для отображения дополнительного описания) | ||
|- | |- | ||
| | |001 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''<ws:getProductItemByUuidResponse>'''}} | ||
| | | | ||
| | | | ||
| style="width:52em;"| | |||
|style=" | |||
|- | |- | ||
| | |002 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |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;"| Идентификатор версии номенклатуры. | |||
|style=" | |||
|- | |- | ||
| | |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;"| Глобальный идентификатор номенклатуры. | |||
|style=" | |||
|- | |- | ||
| | |005 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''<{{color|#660e7a|bs:}}active>'''}}{{color|#131313|}}{{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> | |||
</div> | |||
|- | |- | ||
| | |007 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |008 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |009 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |010 | ||
|style="font-weight: | |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: ; 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: ; 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=" ... " data-collapsetext="свернуть" style="font-weight: bold; width:52em;"> | ||
<span style="white-space:nowrap; font-weight: normal;">Trade Identification Number (GTIN).</span> | |||
<div class="mw-collapsible-content" style="font-weight: normal;"> | |||
* идентификационный номер продукции производителя</div> | |||
</div> | |||
|- | |- | ||
| | |013 | ||
|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]] | ||
|[0..1] | |[0..1] | ||
| style="width:52em;"| Наименование продукции. | |||
|style=" | |||
|- | |- | ||
| | |014 | ||
|style="font-weight: | |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=" ... " 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> | |||
|- | |- | ||
| | |015 | ||
|style="font-weight: | |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=" ... " 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> | |||
|- | |- | ||
| | |016 | ||
|style="font-weight: | |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=" ... " 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> | |||
|- | |- | ||
| | |017 | ||
|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;"| Идентификатор версии продукции. | |||
|style=" | |||
|- | |- | ||
| | |018 | ||
|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;"| Глобальный идентификатор продукции. | |||
|style=" | |||
|- | |- | ||
| | |019 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}product>'''}} | ||
| | | | ||
| | | | ||
|style=" | | style="width:52em;"| | ||
|- | |- | ||
| | |020 | ||
|style="font-weight: | |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=" ... " 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> | |||
|- | |- | ||
| | |021 | ||
|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;"| Идентификатор версии вида продукции. | |||
|style=" | |||
|- | |- | ||
| | |022 | ||
|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;"| Глобальный идентификатор вида продукции. | |||
|style=" | |||
|- | |- | ||
| | |023 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}subProduct>'''}} | ||
| | | | ||
| | | | ||
|style=" | | style="width:52em;"| | ||
|- | |- | ||
| | |024 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |025 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |026 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |027 | ||
|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;"| Идентификатор версии хозяйствующего субъекта-владельца. | |||
|style=" | |||
|- | |- | ||
| | |028 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| Глобальный идентификатор хозяйствующего субъекта-владельца. | |||
|style=" | |||
|- | |- | ||
| | |029 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}producer>'''}} | ||
| | | | ||
| | | | ||
|style=" | | style="width:52em;"| | ||
|- | |- | ||
| | |030 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |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] | |[1..1] | ||
| style="width:52em;"| Идентификатор версии хозяйствующего субъекта-владельца. | |||
|style=" | |||
|- | |- | ||
| | |032 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| Глобальный идентификатор хозяйствующего субъекта-владельца. | |||
|style=" | |||
|- | |- | ||
| | |033 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}tmOwner>'''}} | ||
| | | | ||
| | | | ||
| style="width:52em;"| | |||
|style=" | |||
|- | |- | ||
| | |034 | ||
|style="font-weight: | |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;"| Список площадок, на которых выпускается данная продукция. | ||
|- | |- | ||
| | |035 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |036 | ||
|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;"| Идентификатор версии предприятия. | |||
|style=" | |||
|- | |- | ||
| | |037 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| Глобальный идентификатор предприятия. | |||
|style=" | |||
|- | |- | ||
| | |038 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}location>'''}} | ||
| | | | ||
| | | | ||
| style="width:52em;"| | |||
|style=" | |||
|- | |- | ||
| | |039 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}producing>'''}} | ||
| | | | ||
| | | | ||
| style="width:52em;"| | |||
|style=" | |||
|- | |- | ||
| | |040 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |041 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |042 | ||
|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;"| Идентификатор версии типа упаковки. | |||
|style=" | |||
|- | |- | ||
| | |043 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| Глобальный идентификатор упаковки. | |||
|style=" | |||
|- | |- | ||
| | |044 | ||
|style="font-weight: | |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=" | |||
|- | |- | ||
| | |045 | ||
|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] | |[1..1] | ||
| style="width:52em;"| Наименование упаковки. | |||
|style=" | |||
|- | |- | ||
| | |046 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}packagingType>'''}} | ||
| | | | ||
| | | | ||
| style="width:52em;"| | |||
|style=" | |||
|- | |- | ||
| | |047 | ||
|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] | |[http://www.w3.org/TR/xmlschema-2/#int xs:int] | ||
|[0..1] | |[0..1] | ||
| style="width:52em;"| Количество единиц упаковки. | |||
|style=" | |||
|- | |- | ||
| | |048 | ||
|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]] | |[[Decimal |bs:Decimal]] | ||
|[0..1] | |[0..1] | ||
| style="width:52em;"| Объём единицы упаковки товара. | |||
|style=" | |||
|- | |- | ||
| | |049 | ||
|style="font-weight: | |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;"| Единица измерения объёма единицы упаковки товара. | ||
|- | |- | ||
| | |050 | ||
|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;"| Идентификатор версии еиницы измерения. | |||
|style=" | |||
|- | |- | ||
| | |051 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |············{{color|#190dbf|'''<{{color|#660e7a|bs:}}guid>'''}}{{color|#131313|GUID}}{{color|#190dbf|'''</{{color|#660e7a|bs:}}uuid>'''}} | ||
|[[UUID|bs:UUID]] | |[[UUID|bs:UUID]] | ||
|[1..1] | |[1..1] | ||
| style="width:52em;"| Глобальный идентификатор еиницы измерения. | |||
|style=" | |||
|- | |- | ||
| | |052 | ||
|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] | |[1..1] | ||
| style="width:52em;"| Наименование единицы измерения | |||
|style=" | |||
|- | |- | ||
| | |053 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |·········{{color|#190dbf|'''</{{color|#660e7a|dt:}}unit>'''}} | ||
| | | | ||
| | | | ||
| style="width:52em;"| | |||
|style=" | |||
|- | |- | ||
| | |054 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |······{{color|#190dbf|'''</{{color|#660e7a|dt:}}packaging>'''}} | ||
| | | | ||
| | | | ||
|style=" | | style="width:52em;"| | ||
|- | |- | ||
| | |055 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |···{{color|#190dbf|'''</{{color|#660e7a|dt:}}productItem>'''}} | ||
| | | | ||
| | | | ||
|style=" | | style="width:52em;"| | ||
|- | |- | ||
| | |056 | ||
|style="font-weight: | |style="font-weight: ; font-family: Courier;" |{{color|#190dbf|'''</ws:getProductItemByUuidResponse>'''}} | ||
| | | | ||
| | | | ||
|style=" | | style="width:52em;"| | ||
|- | |- | ||
|} | |} |
Текущая версия на 16:11, 27 сентября 2020
Общие сведения
Операция GetProductItemByUuid предназначена для получения записи о номенклатуре производителя (4 уровень иерархического справочника) по уникальному идентификатору версии записи. Запись может быть не последней и/или не актуальной (last=false, active=false). Номенклатура может быть изменена при помощи метода ModifyProducerStockListOperation, при изменении глобальный идентификатор GUID останется прежним, идентификатор версии записи UUID изменится. Выполнение операции заканчивается либо возвратом объекта номенклатуры производителя, либо ошибкой, в случае если параметры запроса не корректны, если запись по запросу не найдена или произошла иная ошибка выполнения запроса.
Входные данные
- уникальный идентификатор версии записи номенклатуры производителя.
Выходные данные
- данные записи номенклатуры производителя.
Спецификация запроса
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <ws:getProductItemByUuidRequest> | |||
002 | ···<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии номенклатуры |
003 | </ws:getProductItemByUuidRequest> |
Спецификация ответа
# | Название XML-элемента | Тип | Обязат. | Описание (нажмите [...] для отображения дополнительного описания) |
---|---|---|---|---|
001 | <ws:getProductItemByUuidResponse> | |||
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></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>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 | ······<bs:previous>UUID</bs:previous> | bs:UUID | [0..1] | Идентификатор предыдущей версии записи. |
011 | ······<bs:next>UUID</bs:next> | bs:UUID | [0..1] | Идентификатор следующей версии записи. |
012 | ······<dt:globalID>85672854</dt:globalID> | dt:GTINType | [0..1] | Trade Identification Number (GTIN).
|
013 | ······<dt:name>Название</dt:name> | bs:String255 | [0..1] | Наименование продукции. |
014 | ······<dt:code>12</dt:code> | bs:String255 | [0..1] | Артикул.
|
015 | ······<dt:productType>1</dt:productType> | dt:ProductType | [1..1] | Тип продукции.
|
016 | ······<dt:product> | dt:Product | [1..1] | Продукция.
|
017 | ·········<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии продукции. |
018 | ·········<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор продукции. |
019 | ······</dt:product> | |||
020 | ······<dt:subProduct> | dt:SubProduct | [1..1] | Вид продукции.
|
021 | ·········<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии вида продукции. |
022 | ·········<bs:guid>GUID</bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор вида продукции. |
023 | ······</dt:subProduct> | |||
024 | ······<dt:correspondsToGost>true</dt:correspondsToGost> | xs:boolean | [1..1] | Соответствует ли ГОСТу. |
025 | ······<dt:gost>ГОСТ-621187/53</dt:gost> | bs:String255 | [0..1] | ГОСТ. |
026 | ······<dt:producer> | dt:BusinessEntity | [0..1] | ХС-производитель продукции. |
027 | ·········<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии хозяйствующего субъекта-владельца. |
028 | ·········<bs:guid>GUID</bs:uuid> | bs:UUID | [1..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. |
029 | ······</dt:producer> | |||
030 | ······<dt:tmOwner> | dt:BusinessEntity | [0..1] | ХС-собственник торговой марки. |
031 | ·········<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии хозяйствующего субъекта-владельца. |
032 | ·········<bs:guid>GUID</bs:uuid> | bs:UUID | [1..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. |
033 | ······</dt:tmOwner> | |||
034 | ······<dt:producing> | dt:ProductItemProducing | [0..*] | Список площадок, на которых выпускается данная продукция. |
035 | ········<dt:location> | dt:Enterprise | [1..1] | Площадка, осуществляющая выпуск продукции. |
036 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии предприятия. |
037 | ············<bs:guid>GUID</bs:uuid> | bs:UUID | [1..1] | Глобальный идентификатор предприятия. |
038 | ·········</dt:location> | |||
039 | ······</dt:producing> | |||
040 | ······<dt:packaging> | dt:Packaging | [0..1] | Фасовка. |
041 | ·········<dt:packagingType>1</dt:packagingType> | dt:PackingType | [1..1] | Тип упаковки. |
042 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии типа упаковки. |
043 | ············<bs:guid>GUID</bs:uuid> | bs:UUID | [1..1] | Глобальный идентификатор упаковки. |
044 | ············<dt:globalID>7B</dt:globalID> | dt:PackingCodeType | [1..1] | Уникальный идентификатор упаковки. |
045 | ············<dt:name>Название</dt:name> | bs:String255 | [1..1] | Наименование упаковки. |
046 | ·········</dt:packagingType> | |||
047 | ·········<dt:quantity>10</dt:quantity> | xs:int | [0..1] | Количество единиц упаковки. |
048 | ·········<dt:volume>50</dt:volume> | bs:Decimal | [0..1] | Объём единицы упаковки товара. |
049 | ·········<dt:unit> | dt:Unit | [0..1] | Единица измерения объёма единицы упаковки товара. |
050 | ············<bs:uuid>UUID</bs:uuid> | bs:UUID | [1..1] | Идентификатор версии еиницы измерения. |
051 | ············<bs:guid>GUID</bs:uuid> | bs:UUID | [1..1] | Глобальный идентификатор еиницы измерения. |
052 | ············<dt:name>кг</dt:name> | bs:String255 | [1..1] | Наименование единицы измерения |
053 | ·········</dt:unit> | |||
054 | ······</dt:packaging> | |||
055 | ···</dt:productItem> | |||
056 | </ws:getProductItemByUuidResponse> |
Описание ошибок
Ошибка | Описание |
---|---|
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:getProductItemByUuidRequest>
<bs:uuid>3aefb5af-4244-4563-8481-5e83bb28e2e9</bs:uuid>
</ws:getProductItemByUuidRequest>
</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:getProductItemByUuidResponse 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:getProductItemByUuidResponse>
</soap:Body>
</soapenv:Envelope>