Project

General

Profile

Actions

Specification » History » Revision 4

« Previous | Revision 4/8 (diff) | Next »
Soh Keong, 05/04/2021 08:30 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

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()">

Updated by Soh Keong over 3 years ago · 4 revisions