This interface allows automatic uploading to WebMoney GeoService server the list of user WM-objects of certain type.
The example below describes one user object (exchange agency):
<?xml version="1.0" encoding="windows-1251"?> <wmobjects> <row sid="30482" citid="12918" name="Association "WMEXPRESS" in Moscow" wmid="477230148314" web="http://wmmoscow.com/" email="" type="1" addr="17 Bolshaya Ordynka" worktime="Monday - Friday, from 10:30 till 19:00" phone="(901)530xxx1, (901)530xxx2" mid="16" mid2="0" dopinfo="exchanging WM*, EGOLD, Yandex.Money. Adding and withdrawing WebMoney in Moscow. Cashless adding and withdrawing WebMoney and E-Gold" help="" lng="" lat="" direction="3" lang="ru-RU" /> </wmobjects>
| Attribute name XML | Mandatory | Parameter description |
| wmobjects/row/@sid | Mandatory | Unique number of the location or unique identifier of ATM (kiosk_id). |
| wmobjects/row/@citid | Mandatory | City number (ID), where the object is located. You can find the list of city IDs here |
| wmobjects/row/@name | Mandatory | Object name |
| wmobjects/row/@type | Mandatory | Object type (6 – WM cards selling points, 7 – points for adding funds by depositing cash, other must be conformed with the service administrator (geosupport@webmoney.ru) |
| wmobjects/row/@lang | Mandatory | Language (CultureInfo) |
| wmobjects/row/@direction | Mandatory | Type of service (1-adding, 2-withdrawing, 3-adding/withdrawing) |
| wmobjects/row/@country | Optional | Country |
| wmobjects/row/@region | Optional | Region |
| wmobjects/row/@city | Optional | City |
| wmobjects/row/@wmid | Optional | WM-identifier |
| wmobjects/row/@web | Optional | Web-site URL |
| wmobjects/row/@email | Optional | |
| wmobjects/row/@mid | Mandatory for objects located in Moscow and St. Petersbourgh | Number (ID) of the closest metro station (1). Only for Moscow and St. Petersbourgh You can find the list of metro stations IDs here |
| wmobjects/row/@mid2 | Optional | Number (ID) of the closest metro station (2). Only for Moscow and St. Petersbourgh You can find the list of metro stations IDs here |
| wmobjects/row/@dopinfo | Optional | Additional information |
| wmobjects/row/@phone | Optional | Contact phone number |
| wmobjects/row/@addr | Optional | Address |
| wmobjects/row/@worktime | Optional | Working hours |
| wmobjects/row/@tarif | Optional | Rates |
| wmobjects/row/@proezd | Optional | Location map (URL) |
| wmobjects/row/@srok | Optional | Adding term |
| wmobjects/row/@help | Optional | Instructions (URL) |
| wmobjects/row/@lng | Optional | Longitude |
| wmobjects/row/@lat | Optional | Latitude |
Each XML batch must not exceed 200 (maximum) strings in one data set. To update the data, having greater number of strings in one set, the web-site update service calls the registered URL several times, with different FirstId parameters, specifying maximum SID of the previous data set. For correct operation of the update system, each data set batch (200 strings) must have LastID specified. LastId is the ID of the last string in one data set.
Its format is described below:
http://yoursite.com/yourservice/dataxml?fisrtid=0 (lastid=200)
http://yoursite.com/yourservice/dataxml?fisrtid=200 (lastid=400)
http://yoursite.com/yourservice/dataxml?fisrtid=400 (lastid=600)
.
.
.
http://yoursite.com/yourservice/dataxml?fisrtid=1000 (lastid=1200)
http://yoursite.com/yourservice/dataxml?fisrtid=1200 (lastid=1200 not greater than 1200 or -1, data is out of range)
| Attribute name XML | Mandatory | Parameter description |
| wmobjects/lastid/@value | Mandatory, if the total volume of data exceeds 200 strings | ID of the last record in the data set |
<?xml version="1.0" encoding="windows-1251"?>
<wmobjects>
<row
sid="1000"
citid="12918"
name="X-System payment terminal"
web="http://www.x-system.ru/"
email="support@x-system.ru"
mid="117"
addr="11-28 Kvesisskaya str."
srok="immediately"
tarif="2.5% from transaction sum"
worktime="24 hours"
help="http://www.webmoney.ru/wmintrans6.shtml"
dopinfo="Adding funds to R-purse by depositing cash"
direction="1"
type="7"/>
<row
sid="1001"
citid="28610"
name="X-System payment terminal"
web="http://www.x-system.ru/"
email="support@x-system.ru"
mid="1001"
addr="2-23 Kolontai str"
srok="immediately"
tarif="2.5% from transaction sum"
worktime="24 hours"
help="http://www.webmoney.ru/wmintrans6.shtml"
dopinfo="Adding funds to R-purse by depositing cash"
direction="1"
type="7"/>
.
.
.
<row
sid="1200"
citid="12918"
name="X-System payment terminal"
web="http://www.x-system.ru/"
email="support@x-system.ru"
mid="13"
addr="22, Rimsky-Korsakov str"
srok="from 9-00 till 22-00"
tarif="2.5% from transaction sum"
worktime="24 hours"
help="http://www.webmoney.ru/wmintrans6.shtml"
dopinfo="Adding funds to R-purse by depositing cash"
direction="1"
type="7"/>
<lastid value="-1" />
<!-- end of data -->
</wmobjects>
https://geo.webmoney.ru/find/GeoSearchService.asmx
In order to user the service, the user must go through the registration procedure. After the registration process you will GUID (unique user’s identifier) and password. Each method of this web-service accepts two additional parameters – GUID and password.
You can find more detailed information on this page offering help for a user of this interface.
This interface allows making geographical binding of any resources (offices and subsidiaries, objects of storage or agent network, etc), i.e. everything that can be later displayed on a map. The main task of this interface is provide access to unique for WebMoney Transfer system geodata database, and by using which it is possible to display “geographically binded” objects by means of WebMoney GeoService without earlier processing.
You can find more detailed information on page with help services of this service.
Category: XML-Interfaces
This article in other languages: Русский