ModifyProducerStockListOperation v2: различия между версиями
Строка 585: | Строка 585: | ||
! Пример | ! Пример | ||
|- | |- | ||
| | | 001 | ||
| style="font-weight: bold; font-family: Courier;" | <merc:modifyProducerStockListResponse> | | style="font-weight: bold; font-family: Courier;" | <merc:modifyProducerStockListResponse> | ||
| | | | ||
Строка 592: | Строка 592: | ||
| | | | ||
|- | |- | ||
| | | 002 | ||
| style="font-weight: bold; font-family: Courier;" | ···<vd:productItemList> | | style="font-weight: bold; font-family: Courier;" | ···<vd:productItemList> | ||
| [[ProductItemList_v2.0|dt:ProductItemList]] | | [[ProductItemList_v2.0|dt:ProductItemList]] | ||
Строка 599: | Строка 599: | ||
| | | | ||
|- | |- | ||
| | | 003 | ||
| style="font-weight: bold; font-family: Courier;" | ······<vd:productItem> | | style="font-weight: bold; font-family: Courier;" | ······<vd:productItem> | ||
| [[ProductItem_v2.0|dt:ProductItem]] | | [[ProductItem_v2.0|dt:ProductItem]] | ||
Строка 606: | Строка 606: | ||
| | | | ||
|- | |- | ||
| | | 004 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 613: | Строка 613: | ||
| <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> | | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> | ||
|- | |- | ||
| | | 005 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 620: | Строка 620: | ||
| <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> | | <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> | ||
|- | |- | ||
| | | 006 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:active> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:active> | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | | [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | ||
Строка 629: | Строка 629: | ||
| <bs:active>true</bs:active> | | <bs:active>true</bs:active> | ||
|- | |- | ||
| | | 007 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:last> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:last> | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | | [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | ||
Строка 638: | Строка 638: | ||
| <bs:last>true</bs:last> | | <bs:last>true</bs:last> | ||
|- | |- | ||
| | | 008 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:status> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:status> | ||
| [[VersionStatus|bs:VersionStatus]] | | [[VersionStatus|bs:VersionStatus]] | ||
Строка 645: | Строка 645: | ||
| <bs:status></bs:status> | | <bs:status></bs:status> | ||
|- | |- | ||
| | | 009 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:createDate> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:createDate> | ||
| [http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | | [http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | ||
Строка 652: | Строка 652: | ||
| <bs:createDate>2017-07-07T12:00:00</bs:createDate> | | <bs:createDate>2017-07-07T12:00:00</bs:createDate> | ||
|- | |- | ||
| | | 010 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<bs:updateDate> | | style="font-weight: bold; font-family: Courier;" | ·········<bs:updateDate> | ||
| [http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | | [http://www.w3.org/TR/xmlschema-2/#DateTime xs:DateTime] | ||
Строка 659: | Строка 659: | ||
| <bs:updateDate>2017-07-07T12:00:00</bs:updateDate> | | <bs:updateDate>2017-07-07T12:00:00</bs:updateDate> | ||
|- | |- | ||
| | | 011 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<dt:globalID> | | style="font-weight: bold; font-family: Courier;" | ·········<dt:globalID> | ||
| [[GTINType_v2.0|dt:GTINType]] | | [[GTINType_v2.0|dt:GTINType]] | ||
Строка 666: | Строка 666: | ||
| <dt:globalID>85672854</dt:globalID> | | <dt:globalID>85672854</dt:globalID> | ||
|- | |- | ||
| | | 012 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<dt:name> | | style="font-weight: bold; font-family: Courier;" | ·········<dt:name> | ||
| [[String255|bs:String255]] | | [[String255|bs:String255]] | ||
Строка 673: | Строка 673: | ||
| <dt:name>Название</dt:name> | | <dt:name>Название</dt:name> | ||
|- | |- | ||
| | | 013 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<dt:code> | | style="font-weight: bold; font-family: Courier;" | ·········<dt:code> | ||
| [[String255|bs:String255]] | | [[String255|bs:String255]] | ||
Строка 680: | Строка 680: | ||
| <dt:code>12</dt:code> | | <dt:code>12</dt:code> | ||
|- | |- | ||
| | | 014 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:productType> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:productType> | ||
| [[ProductType_v2.0|dt:ProductType]] | | [[ProductType_v2.0|dt:ProductType]] | ||
Строка 687: | Строка 687: | ||
| <vd:productType>1</vd:productType> | | <vd:productType>1</vd:productType> | ||
|- | |- | ||
| | | 015 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:product> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:product> | ||
| [[Product_v2.0|dt:Product]] | | [[Product_v2.0|dt:Product]] | ||
Строка 694: | Строка 694: | ||
| | | | ||
|- | |- | ||
| | | 016 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 701: | Строка 701: | ||
| <bs:uuid>53557240-35e7-48c8-81ce-8b9948cfef90</bs:uuid> | | <bs:uuid>53557240-35e7-48c8-81ce-8b9948cfef90</bs:uuid> | ||
|- | |- | ||
| | | 017 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 708: | Строка 708: | ||
| <bs:guid>2c779c29-1fc2-44a6-8add-92752657f089</bs:guid> | | <bs:guid>2c779c29-1fc2-44a6-8add-92752657f089</bs:guid> | ||
|- | |- | ||
| | | 018 | ||
| style="font-weight: bold; font-family: Courier;" | ·········</vd:product> | | style="font-weight: bold; font-family: Courier;" | ·········</vd:product> | ||
| | | | ||
Строка 715: | Строка 715: | ||
| | | | ||
|- | |- | ||
| | | 019 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:subProduct> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:subProduct> | ||
| [[SubProduct_v2.0|dt:SubProduct]] | | [[SubProduct_v2.0|dt:SubProduct]] | ||
Строка 722: | Строка 722: | ||
| | | | ||
|- | |- | ||
| | | 020 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 729: | Строка 729: | ||
| <bs:uuid>d9d008eb-057a-4cd4-8cb2-d69364318bbe</bs:uuid> | | <bs:uuid>d9d008eb-057a-4cd4-8cb2-d69364318bbe</bs:uuid> | ||
|- | |- | ||
| | | 021 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 736: | Строка 736: | ||
| <bs:guid>6f5feda1-a3d4-4dfd-8625-de62777a205e</bs:guid> | | <bs:guid>6f5feda1-a3d4-4dfd-8625-de62777a205e</bs:guid> | ||
|- | |- | ||
| | | 022 | ||
| style="font-weight: bold; font-family: Courier;" | ·········</vd:subProduct> | | style="font-weight: bold; font-family: Courier;" | ·········</vd:subProduct> | ||
| | | | ||
Строка 743: | Строка 743: | ||
| | | | ||
|- | |- | ||
| | | 023 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:correspondsToGost> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:correspondsToGost> | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | | [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | ||
Строка 750: | Строка 750: | ||
| <vd:correspondsToGost>true</vd:correspondsToGost> | | <vd:correspondsToGost>true</vd:correspondsToGost> | ||
|- | |- | ||
| | | 024 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:gost> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:gost> | ||
| [[String255|bs:String255]] | | [[String255|bs:String255]] | ||
Строка 757: | Строка 757: | ||
| <vd:gost>ГОСТ-621187/53</vd:gost> | | <vd:gost>ГОСТ-621187/53</vd:gost> | ||
|- | |- | ||
| | | 025 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:producer> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:producer> | ||
| [[BusinessEntity_v2.0|dt:BusinessEntity]] | | [[BusinessEntity_v2.0|dt:BusinessEntity]] | ||
Строка 764: | Строка 764: | ||
| | | | ||
|- | |- | ||
| | | 026 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 771: | Строка 771: | ||
| <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> | | <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> | ||
|- | |- | ||
| | | 027 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 778: | Строка 778: | ||
| <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> | | <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> | ||
|- | |- | ||
| | | 028 | ||
| style="font-weight: bold; font-family: Courier;" | ·········</vd:producer> | | style="font-weight: bold; font-family: Courier;" | ·········</vd:producer> | ||
| | | | ||
Строка 785: | Строка 785: | ||
| | | | ||
|- | |- | ||
| | | 029 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:tmOwner> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:tmOwner> | ||
| [[BusinessEntity_v2.0|dt:BusinessEntity]] | | [[BusinessEntity_v2.0|dt:BusinessEntity]] | ||
Строка 792: | Строка 792: | ||
| | | | ||
|- | |- | ||
| | | 030 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 799: | Строка 799: | ||
| <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> | | <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> | ||
|- | |- | ||
| | | 031 | ||
| style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 806: | Строка 806: | ||
| <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> | | <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> | ||
|- | |- | ||
| | | 032 | ||
| style="font-weight: bold; font-family: Courier;" | ·········</vd:tmOwner> | | style="font-weight: bold; font-family: Courier;" | ·········</vd:tmOwner> | ||
| | | | ||
Строка 813: | Строка 813: | ||
| | | | ||
|- | |- | ||
| | | 033 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<vd:producing> | | style="font-weight: bold; font-family: Courier;" | ·········<vd:producing> | ||
| [[ProductItemProducing_v2.0|dt:ProductItemProducing]] | | [[ProductItemProducing_v2.0|dt:ProductItemProducing]] | ||
Строка 820: | Строка 820: | ||
| | | | ||
|- | |- | ||
| | | 034 | ||
| style="font-weight: bold; font-family: Courier;" | ············<dt:location> | | style="font-weight: bold; font-family: Courier;" | ············<dt:location> | ||
| [[Enterprise_v2.0|dt:Enterprise]] | | [[Enterprise_v2.0|dt:Enterprise]] | ||
Строка 827: | Строка 827: | ||
| | | | ||
|- | |- | ||
| | | 035 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ···············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 834: | Строка 834: | ||
| <bs:uuid>9c706614-b995-4bdd-bda3-8fa9de70803a</bs:uuid> | | <bs:uuid>9c706614-b995-4bdd-bda3-8fa9de70803a</bs:uuid> | ||
|- | |- | ||
| | | 036 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ···············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 841: | Строка 841: | ||
| <bs:guid>12f04ea3-e236-4b71-b427-e04d41b26de4</bs:guid> | | <bs:guid>12f04ea3-e236-4b71-b427-e04d41b26de4</bs:guid> | ||
|- | |- | ||
| | | 037 | ||
| style="font-weight: bold; font-family: Courier;" | ············</dt:location> | | style="font-weight: bold; font-family: Courier;" | ············</dt:location> | ||
| | | | ||
Строка 848: | Строка 848: | ||
| | | | ||
|- | |- | ||
| | | 038 | ||
| style="font-weight: bold; font-family: Courier;" | ·········</vd:producing> | | style="font-weight: bold; font-family: Courier;" | ·········</vd:producing> | ||
| | | | ||
Строка 855: | Строка 855: | ||
| | | | ||
|- | |- | ||
| | | 039 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<dt:packaging> | | style="font-weight: bold; font-family: Courier;" | ·········<dt:packaging> | ||
| [[Packaging_v2.0|dt:Packaging]] | | [[Packaging_v2.0|dt:Packaging]] | ||
Строка 862: | Строка 862: | ||
| | | | ||
|- | |- | ||
| | | 040 | ||
| style="font-weight: bold; font-family: Courier;" | ············<dt:packagingType> | | style="font-weight: bold; font-family: Courier;" | ············<dt:packagingType> | ||
| [[PackingType_v2.0|dt:PackingType]] | | [[PackingType_v2.0|dt:PackingType]] | ||
Строка 869: | Строка 869: | ||
| <dt:packagingType>1</dt:packagingType> | | <dt:packagingType>1</dt:packagingType> | ||
|- | |- | ||
| | | 041 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ···············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 876: | Строка 876: | ||
| <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> | | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> | ||
|- | |- | ||
| | | 042 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ···············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 883: | Строка 883: | ||
| style="font-weight: bold; font-family: Courier;" | <bs:guid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:guid> | | style="font-weight: bold; font-family: Courier;" | <bs:guid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:guid> | ||
|- | |- | ||
| | | 043 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<dt:globalID> | | style="font-weight: bold; font-family: Courier;" | ···············<dt:globalID> | ||
| [[PackingCodeType_v2.0|dt:PackingCodeType]] | | [[PackingCodeType_v2.0|dt:PackingCodeType]] | ||
Строка 890: | Строка 890: | ||
| <dt:globalID>7B</dt:globalID> | | <dt:globalID>7B</dt:globalID> | ||
|- | |- | ||
| | | 044 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<dt:name> | | style="font-weight: bold; font-family: Courier;" | ···············<dt:name> | ||
| [[String255|bs:String255]] | | [[String255|bs:String255]] | ||
Строка 897: | Строка 897: | ||
| <dt:name>Название</dt:name> | | <dt:name>Название</dt:name> | ||
|- | |- | ||
| | | 045 | ||
| style="font-weight: bold; font-family: Courier;" | ············</dt:packagingType> | | style="font-weight: bold; font-family: Courier;" | ············</dt:packagingType> | ||
| | | | ||
Строка 904: | Строка 904: | ||
| | | | ||
|- | |- | ||
| | | 046 | ||
| style="font-weight: bold; font-family: Courier;" | ············<dt:quantity> | | style="font-weight: bold; font-family: Courier;" | ············<dt:quantity> | ||
| [http://www.w3.org/TR/xmlschema-2/#int xs:int] | | [http://www.w3.org/TR/xmlschema-2/#int xs:int] | ||
Строка 911: | Строка 911: | ||
| <dt:quantity>10</dt:quantity> | | <dt:quantity>10</dt:quantity> | ||
|- | |- | ||
| | | 047 | ||
| style="font-weight: bold; font-family: Courier;" | ············<dt:volume> | | style="font-weight: bold; font-family: Courier;" | ············<dt:volume> | ||
| [[Decimal |bs:Decimal]] | | [[Decimal |bs:Decimal]] | ||
Строка 918: | Строка 918: | ||
| <dt:volume>50</dt:volume> | | <dt:volume>50</dt:volume> | ||
|- | |- | ||
| | | 048 | ||
| style="font-weight: bold; font-family: Courier;" | ············<dt:unit> | | style="font-weight: bold; font-family: Courier;" | ············<dt:unit> | ||
| [[Unit_v2.0|dt:Unit]] | | [[Unit_v2.0|dt:Unit]] | ||
Строка 925: | Строка 925: | ||
| | | | ||
|- | |- | ||
| | | 049 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<bs:uuid> | | style="font-weight: bold; font-family: Courier;" | ···············<bs:uuid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 932: | Строка 932: | ||
| <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> | | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> | ||
|- | |- | ||
| | | 050 | ||
| style="font-weight: bold; font-family: Courier;" | ···············<bs:guid> | | style="font-weight: bold; font-family: Courier;" | ···············<bs:guid> | ||
| [[UUID|bs:UUID]] | | [[UUID|bs:UUID]] | ||
Строка 939: | Строка 939: | ||
| <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> | | <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> | ||
|- | |- | ||
| | | 051 | ||
| style="font-weight: bold; font-family: Courier;" | ············</dt:unit> | | style="font-weight: bold; font-family: Courier;" | ············</dt:unit> | ||
| | | | ||
Строка 946: | Строка 946: | ||
| | | | ||
|- | |- | ||
| | | 052 | ||
| style="font-weight: bold; font-family: Courier;" | ·········</dt:packaging> | | style="font-weight: bold; font-family: Courier;" | ·········</dt:packaging> | ||
| | | | ||
Строка 953: | Строка 953: | ||
| | | | ||
|- | |- | ||
| | | 053 | ||
| style="font-weight: bold; font-family: Courier;" | ·········<dt:isPublic> | | style="font-weight: bold; font-family: Courier;" | ·········<dt:isPublic> | ||
| [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | | [http://www.w3.org/TR/xmlschema-2/#boolean xs:boolean] | ||
Строка 961: | Строка 961: | ||
| <dt:isPublic>true</dt:isPublic> | | <dt:isPublic>true</dt:isPublic> | ||
|- | |- | ||
| | | 054 | ||
| style="font-weight: bold; font-family: Courier;" | ······</vd:productItem> | | style="font-weight: bold; font-family: Courier;" | ······</vd:productItem> | ||
| | | | ||
Строка 968: | Строка 968: | ||
| | | | ||
|- | |- | ||
| | | 055 | ||
| style="font-weight: bold; font-family: Courier;" | ···</vd:productItemList> | | style="font-weight: bold; font-family: Courier;" | ···</vd:productItemList> | ||
| | | | ||
Строка 975: | Строка 975: | ||
| | | | ||
|- | |- | ||
| | | 056 | ||
| style="font-weight: bold; font-family: Courier;" | </merc:modifyProducerStockListResponse> | | style="font-weight: bold; font-family: Courier;" | </merc:modifyProducerStockListResponse> | ||
| | | |
Версия 13:45, 15 сентября 2017
Общие сведения
Операция ModifyProducerStockListOperation предназначена для ведения реестра наименований продукции в соответствии с номенклатурой производителя. Вести реестр наименований производимой продукции может хозяйствующий субъект - производитель данных наименований продукции, либо хозяйствующий субъект - владелец торговой марки (ТМ).
Если одно наименование продукции (ТМ) производится одним ХС-производителем на нескольких площадках, в реестре должна быть зарегистрирована строго одна запись. Если одно наименование продукции (ТМ), принадлежащее одному ХС-собственнику ТМ, производится несколькими ХС-производителями, в реестре должно быть зарегистрировано несколько записей по одной на каждого ХС-производителя.
Сформированный производителем реестр наименований выпускаемой продукции можно получить с помощью методов сервиса ProductionService. В рамках операции доступны следующие действия:
- добавление новой позиции в реестр производимой продукции;
- изменение существующей позиции в реестре производимой продукции;
- удаление существующей позиции из реестра производимой продукции.
На вход системы при этом передаются следующие сведения:
- информация о пользователе - инициаторе запроса;
- тип операции (добавление, удаление, изменение);
- информация о предприятии, на котором вырабатывается продукция.
- информация о наименовании продукции, которую необходимо добавить в реестр.
- идентификатор изменяемого наименования продукции, а так же сведения о наименовании продукции на которые необходимо заменить существующую запись.
- идентификатор и информация о наименовании продукции, которую необходимо удалить из реестра.
Результатом выполнения данной операции является:
- добавленные и/или измененные записи в реестре наименований производимой продукции.
Возможные сценарии
- 1.1. Запрос успешно обработан. Наименование производимой продукции добавлено в реестр.
- 1.2. Произошла ошибка при обработке запроса.
- • Некорректный запрос.
- • Внутренняя ошибка системы.
- 2.1. Запрос успешно обработан. Наименование производимой продукции обновлено.
- 2.2. Произошла ошибка при обработке запроса.
- • Некорректный запрос.
- • Внутренняя ошибка системы.
- 3.1. Запрос успешно обработан. Наименование производимой продукции удалено из реестра.
- 3.2. Произошла ошибка при обработке запроса.
- • Некорректный запрос.
- • Внутренняя ошибка системы.
Используемые пространства имен
|
|
|
Данные запроса
# | Название XML-элемента | Тип | Обязат. | Описание | Пример |
---|---|---|---|---|---|
001 | <merc:modifyProducerStockListRequest> | ||||
002 | ···<merc:localTransactionId> | xs:NCName | [1..1] | Идентификатор заявки в клиентской системе. | <bs:guid>A00001</bs:guid> |
003 | ···<merc:initiator> | dt:User | [1..1] | Пользователь, зарегистрированный в системе Меркурий и инициирующий запрос к шлюзу.
|
|
004 | ······<vd:login> | xs:NCName | [1..1] | Логин пользователя, зарегистрированного в системе Меркурий. | <vd:login>user_ab_150101</vd:login> |
005 | ···</merc:initiator> | ||||
006 | ···<dt:enterprise> | dt:Enterprise | [1..1] | Информация о предприятии, на котором вырабатывается продукция.
|
|
007 | ······<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии предприятия. | <bs:uuid>9c706614-b995-4bdd-bda3-8fa9de70803a</bs:uuid> |
008 | ······<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор предприятия. | <bs:guid>12f04ea3-e236-4b71-b427-e04d41b26de4</bs:guid> |
009 | ···</dt:enterprise> | ||||
010 | ···<vd:type> | bs:RegisterModificationType | [1..1] | Тип операции.
|
<vd:type>CREATE</vd:type> |
011 | ···<vd:affectedList> | dt:ProductItemList | [0..1] | Входящие записи для операции.
|
|
012 | ·····<vd:productItem> | dt:ProductItem | [1..1] | Наименование продукции в номенклатуре производителя.
|
|
013 | ········<bs:uuid> | bs:UUID | [1..1] | Идентификатор версии номенклатуры продукции. | <bs:uuid>53557240-35e7-48c8-81ce-8b9948cfef90</bs:uuid> |
014 | ········<dt:globalID> | dt:GTINType | [0..1] | Trade Identification Number (GTIN) - уникальный идентификационный номер продукции производителя. | <dt:globalID>85672854</dt:globalID> |
015 | ········<dt:name> | bs:String255 | [0..1] | Наименование продукции. | <dt:name>Наименование</dt:name> |
016 | ········<dt:code> | bs:String255 | [0..1] | Артикул (код) продукции в соответствии с внутренним кодификатором производителя. | <dt:code>12</dt:code> |
017 | ·····</vd:productItem> | ||||
018 | ···</vd:affectedList> | dt:ProductItemList | |||
019 | ···<vd:resultingList> | dt:ProductItemList | [0..1] | Список продукции, который должен быть получен в результате выполнения операции.
|
|
020 | ······<vd:productItem> | dt:ProductItem | [1..1] | Сведения о наименовании продукции в соответствии с номенклатурой производителя. | |
021 | ·········<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии номенклатуры. Указывается при изменении записи. | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> |
022 | ·········<dt:globalID> | dt:GTINType | [0..1] | Trade Identification Number (GTIN) - идентификационный номер продукции производителя.
|
<dt:globalID>85672854</dt:globalID> |
023 | ·········<dt:name> | bs:String255 | [0..1] | Наименование продукции. | <dt:name>Название</dt:name> |
024 | ·········<dt:code> | bs:String255 | [0..1] | Артикул (код) продукции в соответствии с внутренним кодификатором производителя.
|
<dt:code>12</dt:code> |
025 | ·········<vd:productType> | dt:ProductType | [1..1] | Тип продукции. Первый уровень иерархического справочника продукции ИС Меркурий. | <vd:productType>1</vd:productType> |
026 | ·········<vd:product> | dt:Product | [1..1] | Продукция. Второй уровень иерархического справочника продукции ИС Меркурий.
|
|
027 | ············<bs:uuid> | bs:UUID | [1..1] | Идентификатор версии продукции. | <bs:uuid>53557240-35e7-48c8-81ce-8b9948cfef90</bs:uuid> |
028 | ············<bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор продукции. | <bs:guid>2c779c29-1fc2-44a6-8add-92752657f089</bs:guid> |
029 | ············<dt:name> | bs:String255 | [0..1] | Наименование продукции. | <dt:name>говядина</dt:name> |
030 | ·········</vd:product> | ||||
031 | ·········<vd:subProduct> | dt:SubProduct | [1..1] | Вид продукции. Третий уровень иерархического справочника продукции ИС Меркурий.
|
|
032 | ············<bs:uuid> | bs:UUID | [1..1] | Идентификатор версии вида продукции. | <bs:uuid>d9d008eb-057a-4cd4-8cb2-d69364318bbe</bs:uuid> |
033 | ············<bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор вида продукции. | <bs:guid>6f5feda1-a3d4-4dfd-8625-de62777a205e</bs:guid> |
034 | ············<dt:name> | bs:String255 | [0..1] | Наименование вида продукции. | <dt:name>говядина на кости охлажденная</dt:name> |
035 | ·········</vd:subProduct> | ||||
036 | ·········<vd:correspondsToGost> | xs:boolean | [1..1] | Соответствует ли ГОСТу. | <vd:correspondsToGost>true</vd:correspondsToGost> |
037 | ·········<vd:gost> | bs:String255 | [0..1] | ГОСТ. | <vd:gost>ГОСТ-621187/53</vd:gost> |
038 | ·········<vd:producer> | dt:BusinessEntity | [0..1] | ХС-производитель продукции.
|
|
039 | ············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии хозяйствующего субъекта-владельца. | <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> |
040 | ············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. | <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> |
041 | ·········</vd:producer> | ||||
042 | ·········<vd:tmOwner> | dt:BusinessEntity | [0..1] | ХС-собственник торговой марки.
|
|
043 | ············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии хозяйствующего субъекта-владельца. | <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> |
044 | ············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. | <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> |
045 | ·········</vd:tmOwner> | ||||
046 | ·········<vd:producing> | dt:ProductItemProducing | [0..*] | Список площадок, на которых выпускается данная продукция. | |
047 | ············<dt:location> | dt:Enterprise | [1..1] | Площадка, осуществляющая выпуск продукции.
|
|
048 | ···············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии предприятия. | <bs:uuid>9c706614-b995-4bdd-bda3-8fa9de70803a</bs:uuid> |
049 | ···············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор предприятия. | <bs:guid>12f04ea3-e236-4b71-b427-e04d41b26de4</bs:guid> |
050 | ············</dt:location> | ||||
051 | ·········</vd:producing> | ||||
052 | ·········<dt:packaging> | dt:Packaging | [0..1] | Фасовка. | |
053 | ············<dt:packagingType> | dt:PackingType | [1..1] | Тип упаковки. | <dt:packagingType>1</dt:packagingType> |
054 | ···············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии типа упаковки. | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> |
055 | ···············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор типа упаковки. | <bs:guid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:guid> |
056 | ···············<dt:globalID> | dt:PackingCodeType | [0..1] | Уникальный идентификатор упаковки. | <dt:globalID>7B</dt:globalID> |
057 | ···············<dt:name> | bs:String255 | [0..1] | Наименование упаковки. | <dt:name>Название</dt:name> |
058 | ············</dt:packagingType> | ||||
059 | ············<dt:quantity> | xs:int | [0..1] | Количество единиц упаковки. | <dt:quantity>10</dt:quantity> |
060 | ············<dt:volume> | bs:Decimal | [0..1] | Объём единицы упаковки товара. | <dt:volume>50</dt:volume> |
061 | ············<dt:unit> | dt:Unit | [0..1] | Единица измерения объёма единицы упаковки товара.
|
|
062 | ···············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии единицы измерения. | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> |
063 | ···············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор единицы измерения. | <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> |
064 | ············</dt:unit> | ||||
065 | ·········</dt:packaging> | ||||
066 | ······</vd:productItem> | ||||
067 | ···</vd:resultingList> | ||||
068 | </merc:modifyProducerStockListRequest> |
Данные ответа
# | Название XML-элемента | Тип | Обязат. | Описание
|
Пример |
---|---|---|---|---|---|
001 | <merc:modifyProducerStockListResponse> | ||||
002 | ···<vd:productItemList> | dt:ProductItemList | [1..1] | Список продукции, в которую внесены изменения. | |
003 | ······<vd:productItem> | dt:ProductItem | [1..1] | Данные о номенклатуре производителя | |
004 | ·········<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии номенклатуры. | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> |
005 | ·········<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор номенклатуры. | <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> |
006 | ·········<bs:active> | xs:boolean | [1..1] | Является ли запись номенклатуры активной:
|
<bs:active>true</bs:active> |
007 | ·········<bs:last> | xs:boolean | [1..1] | Последняя версия номенклатуры:
|
<bs:last>true</bs:last> |
008 | ·········<bs:status> | bs:VersionStatus | [1..1] | Статус версии номенклатуры. | <bs:status></bs:status> |
009 | ·········<bs:createDate> | xs:DateTime | [1..1] | Дата создания номенклатуры. | <bs:createDate>2017-07-07T12:00:00</bs:createDate> |
010 | ·········<bs:updateDate> | xs:DateTime | [1..1] | Дата изменения номенклатуры. | <bs:updateDate>2017-07-07T12:00:00</bs:updateDate> |
011 | ·········<dt:globalID> | dt:GTINType | [0..1] | Trade Identification Number (GTIN) - идентификационный номер продукции производителя. | <dt:globalID>85672854</dt:globalID> |
012 | ·········<dt:name> | bs:String255 | [0..1] | Наименование продукции. | <dt:name>Название</dt:name> |
013 | ·········<dt:code> | bs:String255 | [0..1] | Артикул (код) продукции в соответствии с внутренним кодификатором производителя. | <dt:code>12</dt:code> |
014 | ·········<vd:productType> | dt:ProductType | [1..1] | Тип продукции. Первый уровень иерархического справочника продукции ИС Меркурий. | <vd:productType>1</vd:productType> |
015 | ·········<vd:product> | dt:Product | [1..1] | Продукция. Второй уровень иерархического справочника продукции ИС Меркурий. | |
016 | ············<bs:uuid> | bs:UUID | [1..1] | Идентификатор версии продукции. | <bs:uuid>53557240-35e7-48c8-81ce-8b9948cfef90</bs:uuid> |
017 | ············<bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор продукции. | <bs:guid>2c779c29-1fc2-44a6-8add-92752657f089</bs:guid> |
018 | ·········</vd:product> | ||||
019 | ·········<vd:subProduct> | dt:SubProduct | [1..1] | Вид продукции. Третий уровень иерархического справочника продукции ИС Меркурий. | |
020 | ············<bs:uuid> | bs:UUID | [1..1] | Идентификатор версии вида продукции. | <bs:uuid>d9d008eb-057a-4cd4-8cb2-d69364318bbe</bs:uuid> |
021 | ············<bs:guid> | bs:UUID | [1..1] | Глобальный идентификатор вида продукции. | <bs:guid>6f5feda1-a3d4-4dfd-8625-de62777a205e</bs:guid> |
022 | ·········</vd:subProduct> | ||||
023 | ·········<vd:correspondsToGost> | xs:boolean | [1..1] | Соответствует ли ГОСТу. | <vd:correspondsToGost>true</vd:correspondsToGost> |
024 | ·········<vd:gost> | bs:String255 | [0..1] | ГОСТ. | <vd:gost>ГОСТ-621187/53</vd:gost> |
025 | ·········<vd:producer> | dt:BusinessEntity | [0..1] | ХС-производитель продукции. | |
026 | ············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии хозяйствующего субъекта-владельца. | <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> |
027 | ············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. | <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> |
028 | ·········</vd:producer> | ||||
029 | ·········<vd:tmOwner> | dt:BusinessEntity | [0..1] | ХС-собственник торговой марки. | |
030 | ············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии хозяйствующего субъекта-владельца. | <bs:uuid>dc400640-0496-4f06-b83c-d00107edc744</bs:uuid> |
031 | ············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор хозяйствующего субъекта-владельца. | <bs:guid>879b525c-248d-46a5-bbde-2ee02d4d0bf9</bs:guid> |
032 | ·········</vd:tmOwner> | ||||
033 | ·········<vd:producing> | dt:ProductItemProducing | [0..*] | Список площадок, на которых выпускается данная продукция. | |
034 | ············<dt:location> | dt:Enterprise | [1..1] | Площадка, осуществляющая выпуск продукции. | |
035 | ···············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии предприятия. | <bs:uuid>9c706614-b995-4bdd-bda3-8fa9de70803a</bs:uuid> |
036 | ···············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор предприятия. | <bs:guid>12f04ea3-e236-4b71-b427-e04d41b26de4</bs:guid> |
037 | ············</dt:location> | ||||
038 | ·········</vd:producing> | ||||
039 | ·········<dt:packaging> | dt:Packaging | [0..1] | Фасовка. | |
040 | ············<dt:packagingType> | dt:PackingType | [1..1] | Тип упаковки. | <dt:packagingType>1</dt:packagingType> |
041 | ···············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии типа упаковки. | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> |
042 | ···············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор типа упаковки. | <bs:guid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:guid> |
043 | ···············<dt:globalID> | dt:PackingCodeType | [0..1] | Уникальный идентификатор упаковки. | <dt:globalID>7B</dt:globalID> |
044 | ···············<dt:name> | bs:String255 | [0..1] | Наименование упаковки. | <dt:name>Название</dt:name> |
045 | ············</dt:packagingType> | ||||
046 | ············<dt:quantity> | xs:int | [0..1] | Количество единиц упаковки. | <dt:quantity>10</dt:quantity> |
047 | ············<dt:volume> | bs:Decimal | [0..1] | Объём единицы упаковки товара. | <dt:volume>50</dt:volume> |
048 | ············<dt:unit> | dt:Unit | [0..1] | Единица измерения объёма единицы упаковки товара. | |
049 | ···············<bs:uuid> | bs:UUID | [0..1] | Идентификатор версии единицы измерения. | <bs:uuid>c9781d68-8f7d-4fb6-a007-d7a14f0815f6</bs:uuid> |
050 | ···············<bs:guid> | bs:UUID | [0..1] | Глобальный идентификатор единицы измерения. | <bs:guid>8aaaac24-8e10-499e-b1a2-cda0bf3f5855</bs:guid> |
051 | ············</dt:unit> | ||||
052 | ·········</dt:packaging> | ||||
053 | ·········<dt:isPublic> | xs:boolean | [1..1] | Признак, является ли номенклатура публичной.
|
<dt:isPublic>true</dt:isPublic> |
054 | ······</vd:productItem> | ||||
055 | ···</vd:productItemList> | ||||
056 | </merc:modifyProducerStockListResponse> |
Примеры запросов
1. Добавление новой позиции в реестр наименований производимой продукции.
Запрос 1.1 Добавление номенклатуры с GTIN, артикулом, фасовкой.
<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-14T13:20:38</apl:issueDate>
<apl:data>
<merc:modifyProducerStockListRequest>
<merc:localTransactionId>a-1894254899</merc:localTransactionId>
<merc:initiator>
<vd:login>user_login</vd:login>
</merc:initiator>
<merc:modificationOperation>
<vd:type>CREATE</vd:type>
<vd:resultingList>
<dt:productItem>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские -257866684</dt:name>
<dt:code>2094302091</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_735240625</dt:gost>
<dt:packaging>
<dt:packagingType>
<bs:guid>f0b0ec9b-8341-4e95-bc0e-80898be598cb</bs:guid>
</dt:packagingType>
<dt:quantity>12</dt:quantity>
<dt:volume>33</dt:volume>
<dt:unit>
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid>
</dt:unit>
</dt:packaging>
</dt:productItem>
</vd:resultingList>
</merc:modificationOperation>
</merc:modifyProducerStockListRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ответ на запрос 1.1
<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/">
<env:Header/>
<env:Body>
<apldef:receiveApplicationResultResponse>
<apl:application>
<apl:applicationId>665fed45-9aaf-460f-804f-72722122b077</apl:applicationId>
<apl:status>COMPLETED</apl:status>
<apl:serviceId>mercury-g2b.service</apl:serviceId>
<apl:issuerId>issuerId</apl:issuerId>
<apl:issueDate>2017-09-14T13:20:38.000+03:00</apl:issueDate>
<apl:rcvDate>2017-09-14T13:20:38.000+03:00</apl:rcvDate>
<apl:prdcRsltDate>2017-09-14T13:20:38.000+03:00</apl:prdcRsltDate>
<apl:result>
<merc:modifyProducerStockListResponse>
<merc:productItemList total="1" offset="0" count="1">
<dt:productItem>
<bs:uuid>7855e4fb-c083-47e0-a607-8bb1e879de83</bs:uuid>
<bs:guid>35c3a075-fc2d-40a0-93e6-299cafd783c0</bs:guid>
<bs:active>true</bs:active>
<bs:last>true</bs:last>
<bs:status>100</bs:status>
<bs:createDate>2017-09-14T13:20:39+03:00</bs:createDate>
<bs:updateDate>2017-09-14T13:20:39+03:00</bs:updateDate>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские -257866684</dt:name>
<dt:code>2094302091</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>26b81265-a498-0a42-5b77-08da2eb03ab9</bs:uuid>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>92302080-0972-9504-94c9-6b0028ccbdb6</bs:uuid>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_735240625</dt:gost>
<dt:packaging>
<dt:packagingType>
<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: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>
<dt:isPublic>true</dt:isPublic>
</dt:productItem>
</merc:productItemList>
</merc:modifyProducerStockListResponse>
</apl:result>
</apl:application>
</apldef:receiveApplicationResultResponse>
</env:Body>
</env:Envelope>
Запрос 1.2 Добавление номенклатуры с производителем, собственником ТМ.
<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-14T13:20:37</apl:issueDate>
<apl:data>
<merc:modifyProducerStockListRequest>
<merc:localTransactionId>a-1546489214</merc:localTransactionId>
<merc:initiator>
<vd:login>user_login</vd:login>
</merc:initiator>
<merc:modificationOperation>
<vd:type>CREATE</vd:type>
<vd:resultingList>
<dt:productItem>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 405367066</dt:name>
<dt:code>131913667</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_-1638773361</dt:gost>
<dt:producer>
<bs:guid>4277703a-7b49-455c-a2c3-3215faeca5d2</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:guid>4277703a-7b49-455c-a2c3-3215faeca5d2</bs:guid>
</dt:tmOwner>
<dt:packaging>
<dt:packagingType>
<bs:guid>f0b0ec9b-8341-4e95-bc0e-80898be598cb</bs:guid>
</dt:packagingType>
<dt:quantity>12</dt:quantity>
<dt:volume>33</dt:volume>
<dt:unit>
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid>
</dt:unit>
</dt:packaging>
</dt:productItem>
</vd:resultingList>
</merc:modificationOperation>
</merc:modifyProducerStockListRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ответ на запрос 1.2
<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/">
<env:Header/>
<env:Body>
<apldef:receiveApplicationResultResponse>
<apl:application>
<apl:applicationId>469ec79c-f685-4f6b-a864-29ffa6764626</apl:applicationId>
<apl:status>COMPLETED</apl:status>
<apl:serviceId>mercury-g2b.service</apl:serviceId>
<apl:issuerId>issuerId</apl:issuerId>
<apl:issueDate>2017-09-14T13:20:37.000+03:00</apl:issueDate>
<apl:rcvDate>2017-09-14T13:20:37.000+03:00</apl:rcvDate>
<apl:prdcRsltDate>2017-09-14T13:20:38.000+03:00</apl:prdcRsltDate>
<apl:result>
<merc:modifyProducerStockListResponse>
<merc:productItemList total="1" offset="0" count="1">
<dt:productItem>
<bs:uuid>c076f3ff-2088-46f2-8083-ddae35ce5ddf</bs:uuid>
<bs:guid>63dde1e7-6aac-4920-a690-a1eab7746993</bs:guid>
<bs:active>true</bs:active>
<bs:last>true</bs:last>
<bs:status>100</bs:status>
<bs:createDate>2017-09-14T13:20:38+03:00</bs:createDate>
<bs:updateDate>2017-09-14T13:20:38+03:00</bs:updateDate>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 405367066</dt:name>
<dt:code>131913667</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>26b81265-a498-0a42-5b77-08da2eb03ab9</bs:uuid>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>92302080-0972-9504-94c9-6b0028ccbdb6</bs:uuid>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_-1638773361</dt:gost>
<dt:producer>
<bs:uuid>cbee869d-5405-4181-a1d8-7e8c8af4597b</bs:uuid>
<bs:guid>4277703a-7b49-455c-a2c3-3215faeca5d2</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:uuid>cbee869d-5405-4181-a1d8-7e8c8af4597b</bs:uuid>
<bs:guid>4277703a-7b49-455c-a2c3-3215faeca5d2</bs:guid>
</dt:tmOwner>
<dt:packaging>
<dt:packagingType>
<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: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>
<dt:isPublic>true</dt:isPublic>
</dt:productItem>
</merc:productItemList>
</merc:modifyProducerStockListResponse>
</apl:result>
</apl:application>
</apldef:receiveApplicationResultResponse>
</env:Body>
</env:Envelope>
Запрос 1.3 Добавление номенклатуры со списком площадок-производителей.
<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-14T13:21:35</apl:issueDate>
<apl:data>
<merc:modifyProducerStockListRequest>
<merc:localTransactionId>a658941498</merc:localTransactionId>
<merc:initiator>
<vd:login>user_login</vd:login>
</merc:initiator>
<merc:modificationOperation>
<vd:type>CREATE</vd:type>
<vd:resultingList>
<dt:productItem>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 822980743</dt:name>
<dt:code>1756991</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_270026233</dt:gost>
<dt:producer>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:tmOwner>
<dt:producing>
<dt:location>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:guid>35558a9d-6c87-41a3-9030-1c18dc40f3cc</bs:guid>
</dt:location>
</dt:producing>
<dt:packaging>
<dt:packagingType>
<bs:guid>f0b0ec9b-8341-4e95-bc0e-80898be598cb</bs:guid>
</dt:packagingType>
<dt:quantity>12</dt:quantity>
<dt:volume>33</dt:volume>
<dt:unit>
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid>
</dt:unit>
</dt:packaging>
</dt:productItem>
</vd:resultingList>
</merc:modificationOperation>
</merc:modifyProducerStockListRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ответ на запрос 1.3
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<receiveApplicationResultResponse xmlns="http://api.vetrf.ru/schema/cdm/application/ws-definitions">
<application xmlns="http://api.vetrf.ru/schema/cdm/application">
<applicationId>7911a998-a96c-4b9d-9595-f3ff7c4781bd</applicationId>
<status>COMPLETED</status>
<serviceId>mercury-g2b.service</serviceId>
<issuerId>issuerId</issuerId>
<issueDate>2017-09-14T13:21:35.000+03:00</issueDate>
<rcvDate>2017-09-15T10:35:11.000+03:00</rcvDate>
<prdcRsltDate>2017-09-15T10:35:11.000+03:00</prdcRsltDate>
<result>
<merc:modifyProducerStockListResponse 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">
<merc:productItemList count="1" total="1" offset="0">
<dt:productItem>
<bs:uuid>50fc2804-f729-4a99-913c-8e804ec78bf1</bs:uuid>
<bs:guid>5f95c3f9-71d4-40dd-bf67-caf6277de2a4</bs:guid>
<bs:active>true</bs:active>
<bs:last>true</bs:last>
<bs:status>100</bs:status>
<bs:createDate>2017-09-15T10:35:12+03:00</bs:createDate>
<bs:updateDate>2017-09-15T10:35:12+03:00</bs:updateDate>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 822980743</dt:name>
<dt:code>1756991</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>26b81265-a498-0a42-5b77-08da2eb03ab9</bs:uuid>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>92302080-0972-9504-94c9-6b0028ccbdb6</bs:uuid>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_270026233</dt:gost>
<dt:producer>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:tmOwner>
<dt:producing>
<dt:location>
<bs:uuid>97851c2b-5fe2-42d9-9b4f-5a790a4dc3af</bs:uuid>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:uuid>0f5d3119-da56-4f45-ae23-f83088f55614</bs:uuid>
<bs:guid>35558a9d-6c87-41a3-9030-1c18dc40f3cc</bs:guid>
</dt:location>
</dt:producing>
<dt:packaging>
<dt:packagingType>
<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: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>
<dt:isPublic>true</dt:isPublic>
</dt:productItem>
</merc:productItemList>
</merc:modifyProducerStockListResponse>
</result>
</application>
</receiveApplicationResultResponse>
</env:Body>
</env:Envelope>
2. Обновление позиции в реестре наименований производимой продукции.
Запрос 2.1 Обновление позиции - добавление еще одной производственной площадки.
<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-14T13:21:35</apl:issueDate>
<apl:data>
<merc:modifyProducerStockListRequest>
<merc:localTransactionId>a658941498</merc:localTransactionId>
<merc:initiator>
<vd:login>user_login</vd:login>
</merc:initiator>
<merc:modificationOperation>
<vd:type>UPDATE</vd:type>
<vd:resultingList>
<dt:productItem>
<bs:uuid>63a46330-e6a1-4a1a-ae00-be90a6c8f5f1</bs:uuid>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 822980743</dt:name>
<dt:code>1756995</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_270026233</dt:gost>
<dt:producer>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:tmOwner>
<dt:producing>
<dt:location>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:guid>35558a9d-6c87-41a3-9030-1c18dc40f3cc</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:guid>14a45f61-11dc-49c7-b595-b6088e7697c6</bs:guid>
</dt:location>
</dt:producing>
<dt:packaging>
<dt:packagingType>
<bs:guid>f0b0ec9b-8341-4e95-bc0e-80898be598cb</bs:guid>
</dt:packagingType>
<dt:quantity>12</dt:quantity>
<dt:volume>33</dt:volume>
<dt:unit>
<bs:guid>21ed96c9-337b-4a27-8761-c6e6ad3c9f5b</bs:guid>
</dt:unit>
</dt:packaging>
</dt:productItem>
</vd:resultingList>
</merc:modificationOperation>
</merc:modifyProducerStockListRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ответ на запрос 2.1
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<receiveApplicationResultResponse xmlns="http://api.vetrf.ru/schema/cdm/application/ws-definitions">
<application xmlns="http://api.vetrf.ru/schema/cdm/application">
<applicationId>c08b4e24-46f3-4fca-816b-a2f4e7008f58</applicationId>
<status>COMPLETED</status>
<serviceId>mercury-g2b.service</serviceId>
<issuerId>issuerId</issuerId>
<issueDate>2017-09-14T13:21:35.000+03:00</issueDate>
<rcvDate>2017-09-15T11:02:27.000+03:00</rcvDate>
<prdcRsltDate>2017-09-15T11:02:27.000+03:00</prdcRsltDate>
<result>
<merc:modifyProducerStockListResponse 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">
<merc:productItemList count="2" total="2" offset="0">
<dt:productItem>
<bs:uuid>63a46330-e6a1-4a1a-ae00-be90a6c8f5f1</bs:uuid>
<bs:guid>a200b3e1-cbad-4faa-b531-893e50db903e</bs:guid>
<bs:active>false</bs:active>
<bs:last>false</bs:last>
<bs:status>100</bs:status>
<bs:createDate>2017-09-15T11:01:47+03:00</bs:createDate>
<bs:updateDate>2017-09-15T11:02:28+03:00</bs:updateDate>
<bs:next>c2feda6e-9bbb-462f-80f8-ed2148f8dac9</bs:next>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 822980743</dt:name>
<dt:code>1756995</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>26b81265-a498-0a42-5b77-08da2eb03ab9</bs:uuid>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>92302080-0972-9504-94c9-6b0028ccbdb6</bs:uuid>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_270026233</dt:gost>
<dt:producer>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:tmOwner>
<dt:producing>
<dt:location>
<bs:uuid>97851c2b-5fe2-42d9-9b4f-5a790a4dc3af</bs:uuid>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:uuid>0f5d3119-da56-4f45-ae23-f83088f55614</bs:uuid>
<bs:guid>35558a9d-6c87-41a3-9030-1c18dc40f3cc</bs:guid>
</dt:location>
</dt:producing>
<dt:packaging>
<dt:packagingType>
<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: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>
<dt:isPublic>true</dt:isPublic>
</dt:productItem>
<dt:productItem>
<bs:uuid>c2feda6e-9bbb-462f-80f8-ed2148f8dac9</bs:uuid>
<bs:guid>a200b3e1-cbad-4faa-b531-893e50db903e</bs:guid>
<bs:active>true</bs:active>
<bs:last>true</bs:last>
<bs:status>200</bs:status>
<bs:createDate>2017-09-15T11:02:28+03:00</bs:createDate>
<bs:updateDate>2017-09-15T11:02:28+03:00</bs:updateDate>
<bs:previous>63a46330-e6a1-4a1a-ae00-be90a6c8f5f1</bs:previous>
<dt:globalID>4607147136201</dt:globalID>
<dt:name>Пельмени холостятские 822980743</dt:name>
<dt:code>1756995</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>26b81265-a498-0a42-5b77-08da2eb03ab9</bs:uuid>
<bs:guid>b45f20b3-9ade-342e-976f-f1f3b2567c53</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>92302080-0972-9504-94c9-6b0028ccbdb6</bs:uuid>
<bs:guid>80b7fc16-110c-a663-67e3-b5d9ce3f02ff</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_270026233</dt:gost>
<dt:producer>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:tmOwner>
<dt:producing>
<dt:location>
<bs:uuid>97851c2b-5fe2-42d9-9b4f-5a790a4dc3af</bs:uuid>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:uuid>0f5d3119-da56-4f45-ae23-f83088f55614</bs:uuid>
<bs:guid>35558a9d-6c87-41a3-9030-1c18dc40f3cc</bs:guid>
</dt:location>
</dt:producing>
<dt:producing>
<dt:location>
<bs:uuid>ef0bc00a-953e-4d6f-9cbb-fb440f3837dd</bs:uuid>
<bs:guid>14a45f61-11dc-49c7-b595-b6088e7697c6</bs:guid>
</dt:location>
</dt:producing>
<dt:packaging>
<dt:packagingType>
<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: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>
<dt:isPublic>true</dt:isPublic>
</dt:productItem>
</merc:productItemList>
</merc:modifyProducerStockListResponse>
</result>
</application>
</receiveApplicationResultResponse>
</env:Body>
</env:Envelope>
3. Удаление позиции из реестра наименований производимой продукции.
Запрос 3.1 Удаление позиции по uuid
<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-14T13:21:35</apl:issueDate>
<apl:data>
<merc:modifyProducerStockListRequest>
<merc:localTransactionId>a658941498</merc:localTransactionId>
<merc:initiator>
<vd:login>user_login</vd:login>
</merc:initiator>
<merc:modificationOperation>
<vd:type>DELETE</vd:type>
<vd:affectedList>
<dt:productItem>
<bs:uuid>d99a095d-5e9f-4575-9139-cdf2fc9f1582</bs:uuid>
</dt:productItem>
</vd:affectedList>
</merc:modificationOperation>
</merc:modifyProducerStockListRequest>
</apl:data>
</apl:application>
</apldef:submitApplicationRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Ответ на запрос 3.1
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<receiveApplicationResultResponse xmlns="http://api.vetrf.ru/schema/cdm/application/ws-definitions">
<application xmlns="http://api.vetrf.ru/schema/cdm/application">
<applicationId>bfd510ba-b35c-42f8-aa3d-7c7bfd66d406</applicationId>
<status>COMPLETED</status>
<serviceId>mercury-g2b.service</serviceId>
<issuerId>issuerId</issuerId>
<issueDate>2017-08-28T13:16:57.000+03:00</issueDate>
<rcvDate>2017-09-15T13:34:15.000+03:00</rcvDate>
<prdcRsltDate>2017-09-15T13:34:15.000+03:00</prdcRsltDate>
<result>
<merc:modifyProducerStockListResponse 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">
<merc:productItemList count="2" total="2" offset="0">
<dt:productItem>
<bs:uuid>d99a095d-5e9f-4575-9139-cdf2fc9f1582</bs:uuid>
<bs:guid>e99938f8-7b73-4bfc-bbe3-986fbedaab96</bs:guid>
<bs:active>false</bs:active>
<bs:last>false</bs:last>
<bs:status>100</bs:status>
<bs:createDate>2017-09-15T13:32:52+03:00</bs:createDate>
<bs:updateDate>2017-09-15T13:34:15+03:00</bs:updateDate>
<bs:next>c00fce16-8f0b-442e-a2e3-bf72b6608bdf</bs:next>
<dt:name>Молоко супер пастеризованное</dt:name>
<dt:code>R00016</dt:code>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>31c94ff1-a217-f38d-6005-1aa5ca67e146</bs:uuid>
<bs:guid>d34504bb-7a93-e1c8-4859-339eafd97c6c</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>a3cecd19-98ca-46f9-ecd5-90c41fd95e13</bs:uuid>
<bs:guid>9540bfdd-4cd6-6f47-ae83-a32a36c36bfe</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_51187-98</dt:gost>
<dt:producer>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:producer>
<dt:tmOwner>
<bs:uuid>55eaeea5-d16e-452a-a24a-068efcfaabc6</bs:uuid>
<bs:guid>c585d4d5-e5db-4d28-b716-a1b5f3338e47</bs:guid>
</dt:tmOwner>
<dt:producing>
<dt:location>
<bs:uuid>97851c2b-5fe2-42d9-9b4f-5a790a4dc3af</bs:uuid>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:isPublic>true</dt:isPublic>
</dt:productItem>
<dt:productItem>
<bs:uuid>c00fce16-8f0b-442e-a2e3-bf72b6608bdf</bs:uuid>
<bs:guid>e99938f8-7b73-4bfc-bbe3-986fbedaab96</bs:guid>
<bs:active>false</bs:active>
<bs:last>true</bs:last>
<bs:status>400</bs:status>
<bs:createDate>2017-09-15T13:34:15+03:00</bs:createDate>
<bs:updateDate>2017-09-15T13:34:15+03:00</bs:updateDate>
<bs:previous>d99a095d-5e9f-4575-9139-cdf2fc9f1582</bs:previous>
<dt:name>Молоко супер пастеризованное</dt:name>
<dt:productType>5</dt:productType>
<dt:product>
<bs:uuid>31c94ff1-a217-f38d-6005-1aa5ca67e146</bs:uuid>
<bs:guid>d34504bb-7a93-e1c8-4859-339eafd97c6c</bs:guid>
</dt:product>
<dt:subProduct>
<bs:uuid>a3cecd19-98ca-46f9-ecd5-90c41fd95e13</bs:uuid>
<bs:guid>9540bfdd-4cd6-6f47-ae83-a32a36c36bfe</bs:guid>
</dt:subProduct>
<dt:correspondsToGost>false</dt:correspondsToGost>
<dt:gost>ГОСТ_Р_51187-98</dt:gost>
<dt:producing>
<dt:location>
<bs:uuid>97851c2b-5fe2-42d9-9b4f-5a790a4dc3af</bs:uuid>
<bs:guid>1ac126a3-8333-41fc-8cb5-a6fae47ee958</bs:guid>
</dt:location>
</dt:producing>
<dt:isPublic>false</dt:isPublic>
</dt:productItem>
</merc:productItemList>
</merc:modifyProducerStockListResponse>
</result>
</application>
</receiveApplicationResultResponse>
</env:Body>
</env:Envelope>