GeoSearchService
Click here for a complete list of operations.
CitiesInfo
Возвращает раширенную информацию о городах, по списку id переданных в строке
- string guid - GUID пользователя
- string pass - пароль пользователя
- string ids - список идентификаторов городов через запятую
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /find/GeoSearchService.asmx HTTP/1.1 Host: geo.webmoney.ru Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://geo.webmoney.ru/geosearch/CitiesInfo" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CitiesInfo xmlns="http://geo.webmoney.ru/geosearch/"> <guid>string</guid> <pass>string</pass> <ids>string</ids> </CitiesInfo> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CitiesInfoResponse xmlns="http://geo.webmoney.ru/geosearch/"> <CitiesInfoResult> <CitiesExtentedInfo> <_CityId xmlns="urn:xmlns:geo-webmoney-com">int</_CityId> <_CityName xmlns="urn:xmlns:geo-webmoney-com">string</_CityName> <_RegionId xmlns="urn:xmlns:geo-webmoney-com">int</_RegionId> <_RegionName xmlns="urn:xmlns:geo-webmoney-com">string</_RegionName> <_CountryId xmlns="urn:xmlns:geo-webmoney-com">int</_CountryId> <_CountryName xmlns="urn:xmlns:geo-webmoney-com">string</_CountryName> <_ISO2 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO2> <_ISO3 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO3> <_CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</_CapitalName> <_CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</_CapitalCityId> <_CityLat xmlns="urn:xmlns:geo-webmoney-com">double</_CityLat> <_CityLon xmlns="urn:xmlns:geo-webmoney-com">double</_CityLon> <CityId xmlns="urn:xmlns:geo-webmoney-com">int</CityId> <CityName xmlns="urn:xmlns:geo-webmoney-com">string</CityName> <RegionId xmlns="urn:xmlns:geo-webmoney-com">int</RegionId> <RegionName xmlns="urn:xmlns:geo-webmoney-com">string</RegionName> <CountryId xmlns="urn:xmlns:geo-webmoney-com">int</CountryId> <CountryName xmlns="urn:xmlns:geo-webmoney-com">string</CountryName> <Iso2 xmlns="urn:xmlns:geo-webmoney-com">string</Iso2> <Iso3 xmlns="urn:xmlns:geo-webmoney-com">string</Iso3> <CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</CapitalName> <CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</CapitalCityId> <CityLat xmlns="urn:xmlns:geo-webmoney-com">double</CityLat> <CityLon xmlns="urn:xmlns:geo-webmoney-com">double</CityLon> </CitiesExtentedInfo> <CitiesExtentedInfo> <_CityId xmlns="urn:xmlns:geo-webmoney-com">int</_CityId> <_CityName xmlns="urn:xmlns:geo-webmoney-com">string</_CityName> <_RegionId xmlns="urn:xmlns:geo-webmoney-com">int</_RegionId> <_RegionName xmlns="urn:xmlns:geo-webmoney-com">string</_RegionName> <_CountryId xmlns="urn:xmlns:geo-webmoney-com">int</_CountryId> <_CountryName xmlns="urn:xmlns:geo-webmoney-com">string</_CountryName> <_ISO2 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO2> <_ISO3 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO3> <_CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</_CapitalName> <_CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</_CapitalCityId> <_CityLat xmlns="urn:xmlns:geo-webmoney-com">double</_CityLat> <_CityLon xmlns="urn:xmlns:geo-webmoney-com">double</_CityLon> <CityId xmlns="urn:xmlns:geo-webmoney-com">int</CityId> <CityName xmlns="urn:xmlns:geo-webmoney-com">string</CityName> <RegionId xmlns="urn:xmlns:geo-webmoney-com">int</RegionId> <RegionName xmlns="urn:xmlns:geo-webmoney-com">string</RegionName> <CountryId xmlns="urn:xmlns:geo-webmoney-com">int</CountryId> <CountryName xmlns="urn:xmlns:geo-webmoney-com">string</CountryName> <Iso2 xmlns="urn:xmlns:geo-webmoney-com">string</Iso2> <Iso3 xmlns="urn:xmlns:geo-webmoney-com">string</Iso3> <CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</CapitalName> <CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</CapitalCityId> <CityLat xmlns="urn:xmlns:geo-webmoney-com">double</CityLat> <CityLon xmlns="urn:xmlns:geo-webmoney-com">double</CityLon> </CitiesExtentedInfo> </CitiesInfoResult> </CitiesInfoResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /find/GeoSearchService.asmx HTTP/1.1 Host: geo.webmoney.ru Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CitiesInfo xmlns="http://geo.webmoney.ru/geosearch/"> <guid>string</guid> <pass>string</pass> <ids>string</ids> </CitiesInfo> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CitiesInfoResponse xmlns="http://geo.webmoney.ru/geosearch/"> <CitiesInfoResult> <CitiesExtentedInfo> <_CityId xmlns="urn:xmlns:geo-webmoney-com">int</_CityId> <_CityName xmlns="urn:xmlns:geo-webmoney-com">string</_CityName> <_RegionId xmlns="urn:xmlns:geo-webmoney-com">int</_RegionId> <_RegionName xmlns="urn:xmlns:geo-webmoney-com">string</_RegionName> <_CountryId xmlns="urn:xmlns:geo-webmoney-com">int</_CountryId> <_CountryName xmlns="urn:xmlns:geo-webmoney-com">string</_CountryName> <_ISO2 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO2> <_ISO3 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO3> <_CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</_CapitalName> <_CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</_CapitalCityId> <_CityLat xmlns="urn:xmlns:geo-webmoney-com">double</_CityLat> <_CityLon xmlns="urn:xmlns:geo-webmoney-com">double</_CityLon> <CityId xmlns="urn:xmlns:geo-webmoney-com">int</CityId> <CityName xmlns="urn:xmlns:geo-webmoney-com">string</CityName> <RegionId xmlns="urn:xmlns:geo-webmoney-com">int</RegionId> <RegionName xmlns="urn:xmlns:geo-webmoney-com">string</RegionName> <CountryId xmlns="urn:xmlns:geo-webmoney-com">int</CountryId> <CountryName xmlns="urn:xmlns:geo-webmoney-com">string</CountryName> <Iso2 xmlns="urn:xmlns:geo-webmoney-com">string</Iso2> <Iso3 xmlns="urn:xmlns:geo-webmoney-com">string</Iso3> <CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</CapitalName> <CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</CapitalCityId> <CityLat xmlns="urn:xmlns:geo-webmoney-com">double</CityLat> <CityLon xmlns="urn:xmlns:geo-webmoney-com">double</CityLon> </CitiesExtentedInfo> <CitiesExtentedInfo> <_CityId xmlns="urn:xmlns:geo-webmoney-com">int</_CityId> <_CityName xmlns="urn:xmlns:geo-webmoney-com">string</_CityName> <_RegionId xmlns="urn:xmlns:geo-webmoney-com">int</_RegionId> <_RegionName xmlns="urn:xmlns:geo-webmoney-com">string</_RegionName> <_CountryId xmlns="urn:xmlns:geo-webmoney-com">int</_CountryId> <_CountryName xmlns="urn:xmlns:geo-webmoney-com">string</_CountryName> <_ISO2 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO2> <_ISO3 xmlns="urn:xmlns:geo-webmoney-com">string</_ISO3> <_CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</_CapitalName> <_CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</_CapitalCityId> <_CityLat xmlns="urn:xmlns:geo-webmoney-com">double</_CityLat> <_CityLon xmlns="urn:xmlns:geo-webmoney-com">double</_CityLon> <CityId xmlns="urn:xmlns:geo-webmoney-com">int</CityId> <CityName xmlns="urn:xmlns:geo-webmoney-com">string</CityName> <RegionId xmlns="urn:xmlns:geo-webmoney-com">int</RegionId> <RegionName xmlns="urn:xmlns:geo-webmoney-com">string</RegionName> <CountryId xmlns="urn:xmlns:geo-webmoney-com">int</CountryId> <CountryName xmlns="urn:xmlns:geo-webmoney-com">string</CountryName> <Iso2 xmlns="urn:xmlns:geo-webmoney-com">string</Iso2> <Iso3 xmlns="urn:xmlns:geo-webmoney-com">string</Iso3> <CapitalName xmlns="urn:xmlns:geo-webmoney-com">string</CapitalName> <CapitalCityId xmlns="urn:xmlns:geo-webmoney-com">int</CapitalCityId> <CityLat xmlns="urn:xmlns:geo-webmoney-com">double</CityLat> <CityLon xmlns="urn:xmlns:geo-webmoney-com">double</CityLon> </CitiesExtentedInfo> </CitiesInfoResult> </CitiesInfoResponse> </soap12:Body> </soap12:Envelope>