Specification » History » Version 1
Soh Keong, 12/14/2020 03:25 PM
1 | 1 | Soh Keong | {{toc}} |
---|---|---|---|
2 | |||
3 | h1. Specification |
||
4 | |||
5 | h2. Programming Guide |
||
6 | |||
7 | h3. Jar version |
||
8 | |||
9 | |_. version |_. Description | |
||
10 | | 1.0 | Init | |
||
11 | |||
12 | h3. Jar File Download |
||
13 | |||
14 | "Jar":/redmine/attachments/download/547/orderTrackingService-1.0.jar |
||
15 | "Lib":/redmine/attachments/download/548/lib.rar |
||
16 | "Properties":/redmine/attachments/download/550/service.properties |
||
17 | |||
18 | h3. properties file |
||
19 | |||
20 | * *service.properties* |
||
21 | |||
22 | # *json.url* - provided by DotNet team |
||
23 | # *connection.timeout* - set connection timeout |
||
24 | # *connection.read.timeout* - set connection read timeout |
||
25 | |||
26 | |||
27 | h1. Methods |
||
28 | |||
29 | <pre> |
||
30 | cosway.eCos2WebApi.service.TrackService service = new cosway.eCos2WebApi.service.TrackService(); |
||
31 | </pre> |
||
32 | |||
33 | h2. getTrackingOrderDetail |
||
34 | |||
35 | <pre> |
||
36 | cosway.eCos2WebApi.model.ResponseTrack responseBean = service.getTrackingOrderDetail(String orderId) |
||
37 | </pre> |
||
38 | |||
39 | * *cosway.eCos2WebApi.model.ResponseTrack* |
||
40 | > * *errorCode* - String |
||
41 | > * *errorMessage* - String |
||
42 | > * *detail* - TrackOrderDetail |
||
43 | >> * *companyName* - String |
||
44 | >> * *trackingNo* - String |
||
45 | >> * *updateDatetime* - Date |