Запрос XmlOverHttp
GET https://sandbox.mont.ru/Version2/Service/B2BServiceV2Xml.svc/GetFamilies?page=1&ItemsOnPage=10&VendorCode=MS
Ответ XmlOverHttp
<?xml version="1.0" encoding="utf-8"?>
<GetFamiliesResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<GetFamiliesResult>
<Data>
<TotalCount>3</TotalCount>
<ItemsOnPage>10</ItemsOnPage>
<Page>1</Page>
<Families>
<FamilyContract>
<Id>105</Id>
<VendorCode>MS</VendorCode>
<Title>Office 365 для дома</Title>
</FamilyContract>
<FamilyContract>
<Id>139</Id>
<VendorCode>MS</VendorCode>
<Title>Золотой статус Xbox Live Gold 3 месяца</Title>
</FamilyContract>
<FamilyContract>
<Id>395</Id>
<VendorCode>MS</VendorCode>
<Title>Office Home and Business 2013. Английская версия.</Title>
</FamilyContract>
</Families>
</Data>
<IsError>false</IsError>
<ErrorCode>0</ErrorCode>
<Errors/>
</GetFamiliesResult>
</GetFamiliesResponse>
Запрос SOAP
https://sandbox.mont.ru/version2/service/B2BServiceV2.svc
<GetFamilies>
<MethodParameters>
<page>1</page>
<itemsOnPage>10</itemsOnPage>
<vendorCode>MS</vendorCode>
</MethodParameters>
</GetFamilies>
Ответ SOAP
<GetFamilies>
<MethodParameters>
<WebStoreResponseContractOfFamilyPageContractAlnJXhXd>
<Data>
<Families attr0="FamilyContractArray" isNull="false">
<FamilyContractArray0>
<Id>105</Id>
<Title>Office 365 для дома</Title>
<VendorCode>MS</VendorCode>
</FamilyContractArray0>
<FamilyContractArray1>
<Id>139</Id>
<Title>Золотой статус Xbox Live Gold 3 месяца</Title>
<VendorCode>MS</VendorCode>
</FamilyContractArray1>
<FamilyContractArray2>
<Id>395</Id>
<Title>Office Home and Business 2013. Английская версия.</Title>
<VendorCode>MS</VendorCode>
</FamilyContractArray2>
</Families>
<ItemsOnPage>10</ItemsOnPage>
<Page>1</Page>
<TotalCount>3</TotalCount>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorText isNull="true" />
<Errors attr0="ErrorContractArray" isNull="false" />
<IsError>False</IsError>
</WebStoreResponseContractOfFamilyPageContractAlnJXhXd>
</MethodParameters>
</GetFamilies>