Project

General

Profile

Wiki » History » Version 6

Soh Keong, 04/16/2012 10:01 AM

1 1 Soh Keong
h1. Wiki
2
3
4 2 Soh Keong
*Development*
5
<pre>
6 6 Soh Keong
URL: http://192.168.2.68:8080/russiaTest/
7 2 Soh Keong
</pre>
8
9 6 Soh Keong
*ems.get.locations*
10 2 Soh Keong
<pre>
11 6 Soh Keong
Arguments: 
12
1. type: cities, regions, countries or russia
13
2. plain: true or false
14
URL: http://emspost.ru/api/rest/?method=ems.get.locations&type=cities&plain=true
15 1 Soh Keong
16 6 Soh Keong
Example method call from "russia_ems.jar" :
17
  my.com.eCosway.service.RussiaEMSPost post = new my.com.eCosway.service.impl.RussiaEMSPostImpl();
18
  my.com.eCosway.model.LocationResp res = post.getLocations();
19
</pre>
20 2 Soh Keong
21 6 Soh Keong
*ems.calculate*
22
<pre>
23 2 Soh Keong
24 1 Soh Keong
</pre>