Project

General

Profile

Actions

Specification » History » Revision 6

« Previous | Revision 6/8 (diff) | Next »
Soh Keong, 05/04/2021 08:40 AM


Specification

Programming Guide

Jar version

version Description
1.0 Init

Jar File Download

Jar
Lib
Properties

properties file

  • service.properties
  1. json.url - provided by DotNet team
  2. connection.timeout - set connection timeout
  3. 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(num) {
        TrackButton.track({
                tracking_no: num
            });
    }
</script>

<input type="button" value="Detail" onclick="inputTrack('<%=trackNo %>')">

Updated by Soh Keong over 3 years ago · 6 revisions