Specification » History » Revision 4
Revision 3 (Soh Keong, 04/01/2021 03:02 PM) → Revision 4/8 (Soh Keong, 05/04/2021 08:30 AM)
{{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 h2. Live tracking.my <pre> function inputTrack() { var num = document.getElementById("TrackNo").value; TrackButton.track({ tracking_no: num }); } <input type="text" id="TrackNo" value="<%=trackNo%>" readonly> <input type="button" value="Detail" onclick="inputTrack()"> </pre>