The method is used to place a reserve in the MontWebstore system. The input object contains the phone number of the end user, to which the keys will be sent, the list of reserve lines. Each line corresponds to one ordered item. It describes:
In the DomainPrefix field, you can specify code, which describes< for example, branch office. When creating orders on the side of Webstore, order numbers will include this prefix by the rule: DomainPrefix + “-Reserve” + Reserve_number
Name | Type | Description |
---|---|---|
Phone | string | End user phone number for SMS |
ReseveLines | array of OrderReserveLineContract | Array of reservelines |
OrderPrefix | string | Order prefix. Result order number will be <OrderPrefix>-reserve<reserve number>. Order lines numbers will be: <OrderPrefix>-reserve<reserve number>-<orderline count> |
ReceiptId | string | Voucher ID |
Name | Type | Description |
---|---|---|
PartNum | string | Product ID (PartNumber) |
Quantity | int | Quantity of product units |
EndUserInfo | EndUserInfoContract | End user info (if required) |
EndUserPrice | decimal | End user price |
CurrencyCode | string | End user price currency code |
Name | Type | Description |
---|---|---|
Fields | array of EndUserInfoFieldContract | List of the end user license form fields |
All replies of web services B2BServiceV2Xml.svc and B2BServiceV2.svc are wrapped in a contract type (the contract contains information about the violations in the operation of the web service, as well as the response of the called method inside the <Data> tag.):
Name | Type | Description |
---|---|---|
Reserved | bool | Reserve rusult. If false - reserve not created and it's reserve number will be 0 |
ReserveNum | string | Reserve number. If = 0 reserve not created |
ReservedLines | array of OrderReserveResultLineContract | List of reserve lines |
Name | Type | Description |
---|---|---|
PartNum | string | Product ID (PartNumber) |
ReservedQuantity | int | Quantity of reserved keys |
RequestedQuantity | int | Requested quantity of keys to reserve |
Error code | Error text |
---|---|
2 | Product not found |
6 | Credit limit exceeded |
10 | Product is blocked |
12 | The license form has not been specified |
16 | Reseller is blocked |
17 | Quantity is incorrect |
25 | Invalid format for the order line number. For Microsoft products, the line number must not exceed 32 characters |
45 | Reservelines not found |
200 | Incorrect EndUserInfo Data |
46 | Can't Reserve Subscription |
53 | End User Price Missmatch |
6009 | ReservesForbidden - Reserve not allowed for reseller |
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo /> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> <EndUserPrice>4399.00</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (без лицензионной формы)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2081</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>6GQ-00084</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP без лицензионной формы
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop1</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName isNull="false" /> <FieldValue isNull="false" /> </EndUserInfoFieldContractArray0> </Fields> </EndUserInfo> <EndUserPrice>4399</EndUserPrice> <PartNum>6GQ-00084</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (без лицензионной формы)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2080</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>6GQ-00084</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>
Запрос XmlOverHttp (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/AddReserve
<?xml version="1.0" encoding="utf-8"?> <OrderReserveContract> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReseveLines> <OrderReserveLineContract> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContract> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContract> <EndUserInfoFieldContract> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContract> </Fields> </EndUserInfo> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> <EndUserPrice>4000</EndUserPrice> <CurrencyCode>RUR</CurrencyCode> </OrderReserveLineContract> </ReseveLines> </OrderReserveContract>
Ответ XmlOverHttp (с лицензионной формой)
<?xml version="1.0" encoding="utf-8"?> <AddReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddReserveResult> <Data> <Reserved>true</Reserved> <ReserveNum>2082</ReserveNum> <ReservedLines> <OrderReserveResultLineContract> <PartNum>KL1849RDBFY</PartNum> <ReservedQuantity>1</ReservedQuantity> <RequestedQuantity>1</RequestedQuantity> </OrderReserveResultLineContract> </ReservedLines> </Data> <IsError>false</IsError> <ErrorCode>0</ErrorCode> <Errors/> </AddReserveResult> </AddReserveResponse>
Запрос SOAP (с лицензионной формой)
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<AddReserve> <MethodParameters> <reserve> <OrderPrefix>Myshop2</OrderPrefix> <Phone>9101112233</Phone> <ReceiptId isNull="false" /> <ReseveLines attr0="OrderReserveLineContractArray" isNull="false"> <OrderReserveLineContractArray0> <CurrencyCode>RUR</CurrencyCode> <EndUserInfo> <Fields attr0="EndUserInfoFieldContractArray" isNull="false"> <EndUserInfoFieldContractArray0> <FieldName>KasperskyPIN</FieldName> <FieldValue>12345678</FieldValue> </EndUserInfoFieldContractArray0> <EndUserInfoFieldContractArray1> <FieldName>CustomerOrganization</FieldName> <FieldValue>MyPetShop</FieldValue> </EndUserInfoFieldContractArray1> <EndUserInfoFieldContractArray2> <FieldName>IsLegalPerson</FieldName> <FieldValue>true</FieldValue> </EndUserInfoFieldContractArray2> <EndUserInfoFieldContractArray3> <FieldName>Email</FieldName> <FieldValue>my@email.ru</FieldValue> </EndUserInfoFieldContractArray3> </Fields> </EndUserInfo> <EndUserPrice>4000</EndUserPrice> <PartNum>KL1849RDBFY</PartNum> <Quantity>1</Quantity> </OrderReserveLineContractArray0> </ReseveLines> </reserve> </MethodParameters> </AddReserve>
Ответ SOAP (с лицензионной формой)
<AddReserve> <MethodParameters> <WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> <Data> <ReserveNum>2083</ReserveNum> <Reserved>True</Reserved> <ReservedLines attr0="OrderReserveResultLineContractArray" isNull="false"> <OrderReserveResultLineContractArray0> <PartNum>KL1849RDBFY</PartNum> <RequestedQuantity>1</RequestedQuantity> <ReservedQuantity>1</ReservedQuantity> </OrderReserveResultLineContractArray0> </ReservedLines> </Data> <ErrorCode>0</ErrorCode> <ErrorText isNull="true" /> <Errors attr0="ErrorContractArray" isNull="false" /> <IsError>False</IsError> </WebStoreResponseContractOfOrderReserveResultContractxDcf_SQ1_P> </MethodParameters> </AddReserve>