Project

General

Profile

Specification » History » Revision 3

Revision 2 (Soh Keong, 12/14/2020 03:26 PM) → Revision 3/8 (Soh Keong, 04/01/2021 03:02 PM)

{{toc}} 

 h1. Specification 

 h2. Programming Guide 

 h3. Jar version  

 |_. version |_. Description                      | 
 | 1.0         | Init                               | 

 h3. Jar File Download 

 "Jar":/redmine/attachments/download/551/orderTrackingService-1.0.jar 
 "Lib":/redmine/attachments/download/548/lib.rar 
 "Properties":/redmine/attachments/download/550/service.properties 

 h3. properties file 

 * *service.properties* 

 # *json.url*                  - provided by DotNet team 
 # *connection.timeout*        - set connection timeout 
 # *connection.read.timeout* - set connection read timeout 


 h1. Methods 

 <pre> 
 cosway.eCos2WebApi.service.TrackService service = new cosway.eCos2WebApi.service.TrackService(); 
 </pre> 

 h2. getTrackingOrderDetail (GetTrackingOrderDetail) 

 <pre> 
 cosway.eCos2WebApi.model.ResponseTrack responseBean = service.getTrackingOrderDetail(String orderId) 
 </pre> 

 * *cosway.eCos2WebApi.model.ResponseTrack* 
 > * *errorCode*        - String 
 > * *errorMessage*     - String 
 > * *detail*           - TrackOrderDetail 
 >> * *companyName*       - String 
 >> * *trackingNo*        - String 
 >> * *updateDatetime*    - Date