Actions
Specification » History » Revision 5
« Previous |
Revision 5/8
(diff)
| Next »
Soh Keong, 05/04/2021 08:32 AM
- Table of contents
- Specification
- Methods
Specification¶
Programming Guide¶
Jar version¶
version | Description |
---|---|
1.0 | Init |
Jar File Download¶
properties file¶
- service.properties
- json.url - provided by DotNet team
- connection.timeout - set connection timeout
- connection.read.timeout - set connection read timeout
Methods¶
cosway.eCos2WebApi.service.TrackService service = new cosway.eCos2WebApi.service.TrackService();
getTrackingOrderDetail (GetTrackingOrderDetail)¶
cosway.eCos2WebApi.model.ResponseTrack responseBean = service.getTrackingOrderDetail(String orderId)
- cosway.eCos2WebApi.model.ResponseTrack
- errorCode - String
- errorMessage - String
- detail - TrackOrderDetail
- companyName - String
- trackingNo - String
- updateDatetime - Date
Live tracking.my¶
<script src="//www.tracking.my/track-button.js"></script> <script> function inputTrack() { var num = document.getElementById("TrackNo").value; TrackButton.track({ tracking_no: num }); } </script> <input type="text" id="TrackNo" value="<%=trackNo%>" readonly> <input type="button" value="Detail" onclick="inputTrack()">
Updated by Soh Keong over 3 years ago · 5 revisions