Запрос 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>