GeoSearchService
Click here for a complete list of operations.
AddCityRequest
Регистрирует запрос на добавление города в базу данных Гео-сервиса
- string country - название страны
- string city - название (предполагаемое название) города
- int regionId - идентификатор региона в котором город находится
- string desc - описание, ориентиры, координаты и другая важная информация для находжения города
- string wmid - WMID на который будут отсылаться уведомления
- string guid - GUID пользователя
- string pass - пароль пользователя
- Возвращает идентификатор запроса
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/AddCityRequest" <?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> <AddCityRequest xmlns="http://geo.webmoney.ru/geosearch/"> <country>string</country> <city>string</city> <regionId>int</regionId> <desc>string</desc> <wmid>string</wmid> <guid>string</guid> <pass>string</pass> </AddCityRequest> </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> <AddCityRequestResponse xmlns="http://geo.webmoney.ru/geosearch/"> <AddCityRequestResult>int</AddCityRequestResult> <error>string</error> </AddCityRequestResponse> </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> <AddCityRequest xmlns="http://geo.webmoney.ru/geosearch/"> <country>string</country> <city>string</city> <regionId>int</regionId> <desc>string</desc> <wmid>string</wmid> <guid>string</guid> <pass>string</pass> </AddCityRequest> </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> <AddCityRequestResponse xmlns="http://geo.webmoney.ru/geosearch/"> <AddCityRequestResult>int</AddCityRequestResult> <error>string</error> </AddCityRequestResponse> </soap12:Body> </soap12:Envelope>