GetPriceChanges
Description
This method is used to obtain a list of changed products, starting with the indicated version. In the current implementation, versions are no longer supported and any passed parameter (version) value will return the current system version and a list of all products available to the user (just like when 0 parameter is passed). To ensure validity, we recommend that you pass 0 every time to obtain the list of products and update it in your system.
Parameters
Name | Type | Description |
version | int64 | Latest price change version in reseller's system. Always pass 0 |
Return value
Type | Description |
PriceChangesContract | Object with changed prices where version is greater than the version value indicated in the parameter |
Sample requests and replies for GetPriceChanges method
XmlOverHttp requests
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/GetPriceChanges/0
XmlOverHttp replies
<?xml version="1.0" encoding="utf-8"?>
<GetPriceChangesResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GetPriceChangesResult>
<Data>
<ActualVersion>0</ActualVersion>
<ClearBeforeUpdate>true</ClearBeforeUpdate>
<PriceList>
<PriceContract>
<PartNum>AL15-01SWU001-0100</PartNum>
<Price>999.00</Price>
<EndUserPrice>999.00</EndUserPrice>
<CurrencyCode>RUR</CurrencyCode>
<EndUserCurrencyCode>RUR</EndUserCurrencyCode>
<FulfillmentType>2</FulfillmentType>
<LicenseFormRequired>false</LicenseFormRequired>
<InstantDelivery>false</InstantDelivery>
<HasVat>false</HasVat>
<Blocked>false</Blocked>
<MinCountRequired>0</MinCountRequired>
<MaxCountRequired xsi:nil="true"/>
<FamilyGroupId>45</FamilyGroupId>
<ProductType>1</ProductType>
<Returnable>false</Returnable>
<ExistsInCalc>false</ExistsInCalc>
<SubscriptionDuration>0</SubscriptionDuration>
<SubscriptionDurationType>0</SubscriptionDurationType>
<OfferLimit>0</OfferLimit>
<WithdrawlKeysSupport>false</WithdrawlKeysSupport>
<IsAddon>false</IsAddon>
<Addons/>
<IsUsage>false</IsUsage>
<SupplierId>0</SupplierId>
<StrategyClass>0</StrategyClass>
<AxVendorCode>ABBYY</AxVendorCode>
<VatRegistryDateInclude xsi:nil="true"/>
</PriceContract>
<PriceContract>
<PartNum>ABC-11111</PartNum>
<ResellerPrice>150</ResellerPrice>
<EndUserPrice>200</EndUserPrice>
<CurrencyCode>RUR</CurrencyCode>
<EndUserCurrencyCode>RUR</EndUserCurrencyCode>
<FulfillmentType>2</FulfillmentType>
<LicenseFormRequired>false</LicenseFormRequired>
<InstantDelivery>false</InstantDelivery>
<HasVat>false</HasVat>
<Blocked>false</Blocked>
<MinCountRequired>1</MinCountRequired>
<MaxCountRequired>9999</MaxCountRequired>
<FamilyGroupId>36</FamilyGroupId>
<ProductType>1</ProductType>
<Returnable>false</Returnable>
<ExistsInCalc>false</ExistsInCalc>
<SubscriptionDuration>0</SubscriptionDuration>
<SubscriptionDurationType>0</SubscriptionDurationType>
<OfferLimit>0</OfferLimit>
<WithdrawlKeysSupport>false</WithdrawlKeysSupport>
<IsAddon>false</IsAddon>
<Addons/>
<IsUsage>false</IsUsage>
<SupplierId>1</SupplierId>
<StrategyClass>1</StrategyClass>
<AxVendorCode>MS</AxVendorCode>
<VatRegistryCode>12188</VatRegistryCode>
<VatRegistryDateInclude>2021-11-30T00:00:00</VatRegistryDateInclude>
<VatRegistryCopyrightHolderName>Королев Л. Е.;
Котюжанский Л. А.;
Матаков О. А.;
Пичугин С. А.;
Четверкин Н. В.</VatRegistryCopyrightHolderName>
<VatRegistryCopyrightHolderINN>662600465038;
660204799058;
665603235327;
665603192546;
660204882725</VatRegistryCopyrightHolderINN>
<HasValidPromotion>true</HasValidPromotion>
<PromotionStartDate>2023-07-07T00:00:00</PromotionStartDate>
<PromotionEndDate>2023-07-09T23:59:00</PromotionEndDate>
<RegularResellerPrice>1000</RegularResellerPrice>
<RegularResellerCurrencyCode>RUR</RegularResellerCurrencyCode>
<RegularEndUserPrice>1222</RegularEndUserPrice>
<RegularEndUserCurrencyCode>RUR</RegularEndUserCurrencyCode>
</PriceContract>
<!-- массив контрактов -->
<PriceContract>
<PartNum>NOD32-EEA-CL-1-5</PartNum>
<Price>3250.00</Price>
<EndUserPrice>3500.00</EndUserPrice>
<CurrencyCode>RUR</CurrencyCode>
<EndUserCurrencyCode>RUR</EndUserCurrencyCode>
<FulfillmentType>2</FulfillmentType>
<LicenseFormRequired>false</LicenseFormRequired>
<InstantDelivery>true</InstantDelivery>
<HasVat>false</HasVat>
<Blocked>false</Blocked>
<MinCountRequired>5</MinCountRequired>
<MaxCountRequired>5</MaxCountRequired>
<FamilyGroupId>4375</FamilyGroupId>
<ProductType>2</ProductType>
<Returnable>false</Returnable>
<ExistsInCalc>false</ExistsInCalc>
<SubscriptionDuration>1</SubscriptionDuration>
<SubscriptionDurationType>2</SubscriptionDurationType>
<OfferLimit>0</OfferLimit>
<WithdrawlKeysSupport>false</WithdrawlKeysSupport>
<IsAddon>false</IsAddon>
<Addons/>
<IsUsage>false</IsUsage>
<SupplierId>24</SupplierId>
<StrategyClass>1</StrategyClass>
<AxVendorCode>ESET</AxVendorCode>
<VatRegistryDateInclude xsi:nil="true"/>
</PriceContract>
</PriceList>
</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</GetPriceChangesResult>
</GetPriceChangesResponse>
SOAP request
https://sandbox.mont.ru/version2/service/B2BServiceV2.svc
<GetPriceChanges>
<MethodParameters>
<version>0</version>
<compabilityVersion>1</compabilityVersion>
</MethodParameters>
</GetPriceChanges>
SOAP reply
<GetPriceChanges>
<MethodParameters>
<WebStoreResponseContractOfPriceChangesContractAlnJXhXd>
<Data>
<ActualVersion>0</ActualVersion>
<ClearBeforeUpdate>True</ClearBeforeUpdate>
<PriceList attr0="PriceContractArray" isNull="false">
<PriceContractArray0 actualtype="PriceContract" basetype="PriceContract">
<Addons attr0="StringArray" isNull="false" />
<AxVendorCode>LABK</AxVendorCode>
<Blocked>False</Blocked>
<CurrencyCode>RUR</CurrencyCode>
<EndUserCurrencyCode>RUR</EndUserCurrencyCode>
<EndUserPrice>4000,00</EndUserPrice>
<ExistsInCalc>False</ExistsInCalc>
<FamilyGroupId>0</FamilyGroupId>
<FulfillmentType>1</FulfillmentType>
<HasValidPromotion>False</HasValidPromotion>
<HasVat>True</HasVat>
<InstantDelivery>True</InstantDelivery>
<IsAddon>False</IsAddon>
<IsUsage>False</IsUsage>
<LicenseFormRequired>True</LicenseFormRequired>
<MaxCountRequired isNull="true" />
<MinCountRequired>0</MinCountRequired>
<OfferLimit>0</OfferLimit>
<PartNum>KL1849RDBFY</PartNum>
<Price>3800,00</Price>
<ProductType>1</ProductType>
<PromotionEndDate isNull="true" />
<PromotionStartDate isNull="true" />
<RegularEndUserCurrencyCode>RUR</RegularEndUserCurrencyCode>
<RegularEndUserPrice>4000,00</RegularEndUserPrice>
<RegularResellerCurrencyCode>RUR</RegularResellerCurrencyCode>
<RegularResellerPrice>3800,00</RegularResellerPrice>
<Returnable>False</Returnable>
<StrategyClass>1</StrategyClass>
<SubscriptionDuration>0</SubscriptionDuration>
<SubscriptionDurationType>0</SubscriptionDurationType>
<SupplierId>2</SupplierId>
<VatRegistryCode isNull="true" />
<VatRegistryCopyrightHolderINN isNull="true" />
<VatRegistryCopyrightHolderName isNull="true" />
<VatRegistryDateInclude isNull="true" />
<WithdrawlKeysSupport>False</WithdrawlKeysSupport>
</PriceContractArray0>
<!---массив данных--->
<PriceContractArray21 actualtype="PriceContract" basetype="PriceContract">
<Addons attr0="StringArray" isNull="false" />
<AxVendorCode>MS</AxVendorCode>
<Blocked>False</Blocked>
<CurrencyCode>RUR</CurrencyCode>
<EndUserCurrencyCode>RUR</EndUserCurrencyCode>
<EndUserPrice>1222,00</EndUserPrice>
<ExistsInCalc>False</ExistsInCalc>
<FamilyGroupId>36</FamilyGroupId>
<FulfillmentType>2</FulfillmentType>
<HasVat>False</HasVat>
<InstantDelivery>False</InstantDelivery>
<IsAddon>False</IsAddon>
<IsUsage>False</IsUsage>
<LicenseFormRequired>False</LicenseFormRequired>
<MaxCountRequired>9999</MaxCountRequired>
<MinCountRequired>1</MinCountRequired>
<OfferLimit>0</OfferLimit>
<PartNum>ABC-11111</PartNum>
<Price>1000,00</Price>
<ProductType>1</ProductType>
<Returnable>False</Returnable>
<StrategyClass>1</StrategyClass>
<SubscriptionDuration>0</SubscriptionDuration>
<SubscriptionDurationType>0</SubscriptionDurationType>
<SupplierId>1</SupplierId>
<VatRegistryCode>12188</VatRegistryCode>
<VatRegistryCopyrightHolderINN>662600465038;
660204799058;
665603235327;
665603192546;
660204882725</VatRegistryCopyrightHolderINN>
<VatRegistryCopyrightHolderName>Королев Л. Е.;
Котюжанский Л. А.;
Матаков О. А.;
Пичугин С. А.;
Четверкин Н. В.</VatRegistryCopyrightHolderName>
<VatRegistryDateInclude>30.11.2021 0:00:00</VatRegistryDateInclude>
<WithdrawlKeysSupport>False</WithdrawlKeysSupport>
</PriceContractArray21>
<!--- массив данных --->
<PriceContractArray48 actualtype="PriceContract" basetype="PriceContract">
<Addons attr0="StringArray" isNull="false" />
<AxVendorCode>MS</AxVendorCode>
<Blocked>False</Blocked>
<CurrencyCode>RUR</CurrencyCode>
<EndUserCurrencyCode>RUR</EndUserCurrencyCode>
<EndUserPrice>200,00</EndUserPrice>
<ExistsInCalc>False</ExistsInCalc>
<FamilyGroupId>36</FamilyGroupId>
<FulfillmentType>2</FulfillmentType>
<HasValidPromotion>True</HasValidPromotion>
<HasVat>False</HasVat>
<InstantDelivery>False</InstantDelivery>
<IsAddon>False</IsAddon>
<IsUsage>False</IsUsage>
<LicenseFormRequired>False</LicenseFormRequired>
<MaxCountRequired>9999</MaxCountRequired>
<MinCountRequired>1</MinCountRequired>
<OfferLimit>0</OfferLimit>
<PartNum>ABC-11111</PartNum>
<Price>150,00</Price>
<ProductType>1</ProductType>
<PromotionEndDate>09.07.2023 23:59:00</PromotionEndDate>
<PromotionStartDate>07.07.2023 0:00:00</PromotionStartDate>
<RegularEndUserCurrencyCode>RUR</RegularEndUserCurrencyCode>
<RegularEndUserPrice>1222,00</RegularEndUserPrice>
<RegularResellerCurrencyCode>RUR</RegularResellerCurrencyCode>
<RegularResellerPrice>1000,00</RegularResellerPrice>
<Returnable>False</Returnable>
<StrategyClass>1</StrategyClass>
<SubscriptionDuration>0</SubscriptionDuration>
<SubscriptionDurationType>0</SubscriptionDurationType>
<SupplierId>1</SupplierId>
<VatRegistryCode>12188</VatRegistryCode>
<VatRegistryCopyrightHolderINN>662600465038;
660204799058;
665603235327;
665603192546;
660204882725</VatRegistryCopyrightHolderINN>
<VatRegistryCopyrightHolderName>Королев Л. Е.;
Котюжанский Л. А.;
Матаков О. А.;
Пичугин С. А.;
Четверкин Н. В.</VatRegistryCopyrightHolderName>
<VatRegistryDateInclude>30.11.2021 0:00:00</VatRegistryDateInclude>
<WithdrawlKeysSupport>False</WithdrawlKeysSupport>
</PriceContractArray48>
</PriceList>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfPriceChangesContractAlnJXhXd>
</MethodParameters>
</GetPriceChanges>