Description
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
Restrictions
OrderReserveContract
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 |
OrderReserveLineContract
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 |
EndUserInfoContract
Return value
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 |
OrderReserveResultLineContract
Name | Type | Description |
PartNum | string | Product ID (PartNumber) |
ReservedQuantity | int | Quantity of reserved keys |
RequestedQuantity | int | Requested quantity of keys to reserve |
Errors
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 |
Examples
Запрос 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>
Description
The method is used to confirm the placed reserve in the MontWebstore system.
Restrictions
Parameters
Name | Type | Description |
reserveNum | string | Number of reserve |
Return value
Name | Type | Description |
ConfirmationResult | bool | Confirmation result |
OrderNum | string | Reserved order number |
Errors
Код | Текст ошибки |
52 | Reserve not found |
48 | Reserve already confirmed |
50 | Canceled reseve cant be confirmed |
Examples
XmlOverHttp request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmReserve?reserveNum=2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmReserveResult>
<Data>
<OrderNum>Myshop4-R-2084</OrderNum>
<ConfirmationResult>true</ConfirmationResult>
</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmReserveResult>
</ConfirmReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmReserve>
<MethodParameters>
<reserveNum>2085</reserveNum>
</MethodParameters>
</ConfirmReserve>
Ответ SOAP
<ConfirmReserve>
<MethodParameters>
<WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
<Data>
<ConfirmationResult>True</ConfirmationResult>
<OrderNum>Myshop5-R-2085</OrderNum>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
</MethodParameters>
</ConfirmReserve>
XmlOverHttp response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmReserve?reserveNum=2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmReserveResult>
<Data>
<OrderNum>Myshop4-R-2084</OrderNum>
<ConfirmationResult>true</ConfirmationResult>
</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmReserveResult>
</ConfirmReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmReserve>
<MethodParameters>
<reserveNum>2085</reserveNum>
</MethodParameters>
</ConfirmReserve>
Ответ SOAP
<ConfirmReserve>
<MethodParameters>
<WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
<Data>
<ConfirmationResult>True</ConfirmationResult>
<OrderNum>Myshop5-R-2085</OrderNum>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
</MethodParameters>
</ConfirmReserve>
SOAP request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmReserve?reserveNum=2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmReserveResult>
<Data>
<OrderNum>Myshop4-R-2084</OrderNum>
<ConfirmationResult>true</ConfirmationResult>
</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmReserveResult>
</ConfirmReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmReserve>
<MethodParameters>
<reserveNum>2085</reserveNum>
</MethodParameters>
</ConfirmReserve>
Ответ SOAP
<ConfirmReserve>
<MethodParameters>
<WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
<Data>
<ConfirmationResult>True</ConfirmationResult>
<OrderNum>Myshop5-R-2085</OrderNum>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
</MethodParameters>
</ConfirmReserve>
SOAP response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmReserve?reserveNum=2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmReserveResult>
<Data>
<OrderNum>Myshop4-R-2084</OrderNum>
<ConfirmationResult>true</ConfirmationResult>
</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmReserveResult>
</ConfirmReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmReserve>
<MethodParameters>
<reserveNum>2085</reserveNum>
</MethodParameters>
</ConfirmReserve>
Ответ SOAP
<ConfirmReserve>
<MethodParameters>
<WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
<Data>
<ConfirmationResult>True</ConfirmationResult>
<OrderNum>Myshop5-R-2085</OrderNum>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfOrderReserveConfirmationContractxDcf_SQ1_P>
</MethodParameters>
</ConfirmReserve>
Description
The method is used to cancel the placed reserve in the MontWebstore system.
Restrictions
Parameters
Name | Type | Description |
reserveNum | string | Reserve number |
Return value
Type | Description |
bool | Operation result |
Errors
Код | Текст ошибки |
52 | Reserve not found |
48 | Reserve already canceled |
50 | Confirmed reseve cant be canceled |
Examples
XmlOverHttp request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelReserve?reserveNum=2082
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelReserveResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelReserveResult>
</CancelReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelReserve>
<MethodParameters>
<reserveNum>2083</reserveNum>
</MethodParameters>
</CancelReserve>
Ответ SOAP
<CancelReserve>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelReserve>
XmlOverHttp response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelReserve?reserveNum=2082
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelReserveResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelReserveResult>
</CancelReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelReserve>
<MethodParameters>
<reserveNum>2083</reserveNum>
</MethodParameters>
</CancelReserve>
Ответ SOAP
<CancelReserve>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelReserve>
SOAP request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelReserve?reserveNum=2082
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelReserveResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelReserveResult>
</CancelReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelReserve>
<MethodParameters>
<reserveNum>2083</reserveNum>
</MethodParameters>
</CancelReserve>
Ответ SOAP
<CancelReserve>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelReserve>
SOAP response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelReserve?reserveNum=2082
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelReserveResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelReserveResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelReserveResult>
</CancelReserveResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelReserve>
<MethodParameters>
<reserveNum>2083</reserveNum>
</MethodParameters>
</CancelReserve>
Ответ SOAP
<CancelReserve>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelReserve>
Description
The method is used to confirm the placed order (according to the SMS scheme) in the MontWebstore system.
Restrictions
Parameters
Name | Type | Description |
orderNum | string | Number of order |
Return value
Type | Description |
bool | Operation result |
Errors
Код | Текст ошибки |
3 | Reserve not found |
6007 | Order is canceled |
6006 | Can't confirm non-reserved order |
Examples
XmlOverHttp request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmOrderSms?orderNum=Myshop7-R-2086
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmOrderSmsResult>
</ConfirmOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmOrderSms>
<MethodParameters>
<orderNum>Myshop8-R-2087</orderNum>
</MethodParameters>
</ConfirmOrderSms>
Ответ SOAP
<ConfirmOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</ConfirmOrderSms>
XmlOverHttp response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmOrderSms?orderNum=Myshop7-R-2086
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmOrderSmsResult>
</ConfirmOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmOrderSms>
<MethodParameters>
<orderNum>Myshop8-R-2087</orderNum>
</MethodParameters>
</ConfirmOrderSms>
Ответ SOAP
<ConfirmOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</ConfirmOrderSms>
SOAP request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmOrderSms?orderNum=Myshop7-R-2086
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmOrderSmsResult>
</ConfirmOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmOrderSms>
<MethodParameters>
<orderNum>Myshop8-R-2087</orderNum>
</MethodParameters>
</ConfirmOrderSms>
Ответ SOAP
<ConfirmOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</ConfirmOrderSms>
SOAP response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/ConfirmOrderSms?orderNum=Myshop7-R-2086
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<ConfirmOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ConfirmOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</ConfirmOrderSmsResult>
</ConfirmOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<ConfirmOrderSms>
<MethodParameters>
<orderNum>Myshop8-R-2087</orderNum>
</MethodParameters>
</ConfirmOrderSms>
Ответ SOAP
<ConfirmOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</ConfirmOrderSms>
Description
The method is used to cancel a placed order (according to the SMS scheme) in the MontWebstore system.
Restrictions
Parameters
Name | Type | Description |
orderNum | string | Order number |
Return value
Type | Description |
bool | Operation result |
Errors
Код | Текст ошибки |
3 | Order not found |
6004 | Can't cancel reserved order |
6007 | Order already canceled |
6006 | Can't cancel non-reserved order |
Examples
XmlOverHttp request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelOrderSms?orderNum=Myshop4-R-2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelOrderSmsResult>
</CancelOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelOrderSms>
<MethodParameters>
<orderNum>Myshop5-R-2085</orderNum>
</MethodParameters>
</CancelOrderSms>
Ответ SOAP
<CancelOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelOrderSms>
XmlOverHttp response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelOrderSms?orderNum=Myshop4-R-2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelOrderSmsResult>
</CancelOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelOrderSms>
<MethodParameters>
<orderNum>Myshop5-R-2085</orderNum>
</MethodParameters>
</CancelOrderSms>
Ответ SOAP
<CancelOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelOrderSms>
SOAP request
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelOrderSms?orderNum=Myshop4-R-2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelOrderSmsResult>
</CancelOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelOrderSms>
<MethodParameters>
<orderNum>Myshop5-R-2085</orderNum>
</MethodParameters>
</CancelOrderSms>
Ответ SOAP
<CancelOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelOrderSms>
SOAP response
Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/CancelOrderSms?orderNum=Myshop4-R-2084
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<CancelOrderSmsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CancelOrderSmsResult>
<Data>true</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</CancelOrderSmsResult>
</CancelOrderSmsResponse>
Запрос SOAP
POST https://sandbox.mont.ru/Version2/Service/B2BServiceV2.svc
<CancelOrderSms>
<MethodParameters>
<orderNum>Myshop5-R-2085</orderNum>
</MethodParameters>
</CancelOrderSms>
Ответ SOAP
<CancelOrderSms>
<MethodParameters>
<WebStoreResponseContractOfboolean>
<Data>True</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfboolean>
</MethodParameters>
</CancelOrderSms>