freight forwarder software freight forwarding software freight logistics software freight transportation software logistics management software shipping software freight software freight shipping logistics software NVOCC ocean freight software air freight software export freight software import freight software airwaybill software bill of lading software pickup freight software logistics accounting software cargo tracking software cargo documentation software transportation management systems courier cargo software airline software export documentation software 3pl software

K SSS, Inc.
Kappa Simple Software Solution


This appendix provides reference information for all HTML variables for developing a customized Tracking solution for your company web site. All variables are uploaded using POST method


  • Input Variables
    These variables control how and which Module will respond to your customers query

  • Output Variables
    These variable are the ones specifying the tracking information if any returned by the service

  • Web Form code
    An aspx web form sample code for implementing a customized solution with input and output variable values


Input Variables


Name
Type
Description
_strUriReturn
String
Postback URL web address
_strModule
Char
W - Warehouse, Q - QuickCourier, A - Air Freight, O - Ocean Freight
_strNumber
String
Tracking Number
_strReference
String
Reference String
_strLanguage
String
Language Value String will post back without processing
_strCustomValue
String
Custom Value String will post back without processing
_strAccountNumber
String
Customer Account Number (ex. shipperID, consigneeID, thirdpartyID, ...)
Note: For non-local hosted pages this account needs a contact named WEB_AUTOMATON

Errors


Number
Message
Description
10000.0
No
Unknown error occurred
10000.1
Yes
Unknown exception occurred
10000.2
No
Invalid configuration file
10001
No
_strUriReturn holds an invalid page address
10002
No
_str_Number and _strReference hold empty strings
10003
No
_strNumber lenght less than 6 (for W) or 4 (for Q, A, O ) characters
10003.1
No
_strReference lenght less than 5 characters
10004
No
_strModule holds an invalid module code
20000
No
For security reasons access to this service may be done only in two ways. One: to grant access to a third party please contact your Kappa Logistics account manager to activate this service for your company or Two: make the request from a local web page

Output Variable


Name
Type
Description
_strLanguage
String
_strLanguage value
_strCustomValue
String
_CustomValue value
Error_Number
Number
Error Number if exception occurred
Error_Msg
String
Message Error if exception occurred
Module_Code
Char
Returns _strModule value
Number_Value
String
Returns _strNumber value
Reference_Value
String
Returns _strReference value
Result_Count
Number
Result record count. If more than 15 hits then posting only the first most recent 15

Case _strModule = W


Tracking_Flag
Boolean
Record made an exact match with _strNumber
Tracing_Number_XXX
String
Tracking Number (partial) matching _strNumber or _strReference
Warehouse_Number_XXX
String
Warehouse Receipt Number
Shipper_Name_XXX
String
Shipper Name
Consignee_Name_XXX
String
Consignee Name
Destination_Code_XXX
String
Destination Code
Status_Code_XXX
String
Status Code updates from FieldB in Warehouse Receipt
Vehicle_Flag
Boolean
Tracking holds vehicle information
Vehicle_Vin_Number
String
Vehicle VIN Number if Vehicle Flag is True
Origin_Received_Date_XXX
Date
Cargo received at warehouse date
Origin_Loaded_Date
Date
Scanned to loading guide date
Destination_Unloaded_Date
Date
Received cargo at destination agent place
Destination_Delivered_Date
Date
Delivered to final consignee date
Destination_Delivered_User
String
Delivered to final consignee made by user
Destination_Delivered_Initials
String
Delivered to final consignee signed initials
Additional_Cargo_Count
Number
Warehouse receipt has more lines (only when Tracking_Flag = True)
Additional_Tracking_Number_XXX
String
Tracking Number in additional lines
Additional_Vehicle_Flag_XXX
Boolean
Vehicle additional line
Additional_Vehicle_Vin_Number_XXX
String
Vehicle VIN Number in additional line
Other_XXX
String
Tracking Number in warehouse receipt matching _strReference
Event_Count
Nummber
Status events (only when Tracking_Flag = True)
Event_Time_XXX
String
Time of the status event
Event_Description_XXX
String
Status event description

Case _strModule = Q


Tracking_Flag
Boolean
Record made an exact match with _strNumber
Result_Recieving_Count
Number
Receiving Batch records count. If more than 15 hits then posting only the first most recent 15
Recieving_Tracking_Number_XXX
String
Matched Tracking Number
Recieving_Batch_Number_XXX
String
Receiving Batch Number
Recieving_Manifest_Number_XXX
String
Manifest Number in Batch
Recieving_Comment_XXX
String
Comment
Tracking_Number_XXX
String
Tracking Number with partial matched
Tracking_Entered_XXX
Date
Date entered
Manifest_Number_XXX
String
Manifest number
Courier_Waybill_Number
String
Courier Waybill Number
Master_AWB_Number
String
Master Air Waybill Number
Shipper_Name
String
Shipper Name
Consignee_Name
String
Consignee Name
Pieces
Number
Total Pieces
Weight_LB
Number
Total Weight Pounds
Weight_KG
Number
Total Weight Kilograms
Dimmensions_IN
String
Length X Width X Height in inches
Dimmensions_CM
String
Length X Width X Height in centimeters
Description
String
Description
Comment
String
Comment
Status_Lines_Count
Number
Status Action Lines Count
Status_Code_Line_XXX
String
Status Action Code
Status_Action_Line_XXX
String
Status Action
Status_Date_Line_XXX
String
Status Action Date
Status_Comment_Line_XXX
String
Status Action Comment
Trackings_Same_Consignee_Count
Number
More trackings for this consignee in this manifest
Trackings_Same_Consignee_CSV_List
Stirng
List of Tracking Numbers comma separated

Case _strModule = A


Tracking_Number_XXX
Stirng
_strNumber
House_Number_XXX
Stirng
House Air Waybill Number
Flight_Number_XXX
Stirng
Flight Number
ETD_XXX
Date
Estimated Time of Departure
ETA
Date
Estimated Time of Arrival
Master_Air_Waybill_Number
String
Master Air Waybill Number
Verified_Time_Arrival
Date
Verified Time of Arrival
Additional_Information
String
Additional Status Information
Pieces
Number
Total Pieces
Weight_LB
Number
Total Weight Pounds
Weight_KG
Number
Total Weight Kilograms
Volume_Weight_LB
Number
Total Volume-Weight Pounds
Volume_Weight_KG
Number
Total Volume-Weight Kilograms

Case _strModule = O


Tracking_Number_XXX
Stirng
_strNumber
House_Number_XXX
Stirng
House Bill of Lading Number
Voyage_Number_XXX
Stirng
Voyage Number
ETD_XXX
Date
Estimated Time of Departure
ETA
Date
Estimated Time of Arrival
Booking_Number
String
Booking Number
Vessel_Name
Stirng
Vessel Name
Verified_Time_Arrival
Date
Verified Time of Arrival
Additional_Information
String
Additional Status Information
Pieces
Number
Total Pieces
Weight_LB
Number
Total Weight Pounds
Weight_KG
Number
Total Weight Kilograms
Volume_Weight_LB
Number
Total Volume-Weight Pounds
Volume_Weight_KG
Number
Total Volume-Weight Kilograms

ASPX Sample Form Code



    <%@ Page Language="VB" AutoEventWireup="false"  
        CodeFile="TestPage.aspx.vb" Inherits="TestPage" %>

            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

            <html xmlns="http://www.w3.org/1999/xhtml">

            <head runat="server">
                <title></title>
            <script language="javascript" type="text/javascript">
            // <![CDATA[

                function Air_onclick() {
                    form1._strModule.value = "A";
                    return true
                }

                function Ocean_onclick() {
                    form1._strModule.value = "O";
                    return true
                }

                function Quick_onclick() {
                    form1._strModule.value = "Q";
                    return true
                }

                function Warehouse_onclick() {
                    form1._strModule.value = "W";
                    return true
                }

            // ]]>
            </script>
    
            </head>

            <body>

                <form id="form1" method="post" 
                    action="http://YOUR_COMPANY_SERVER_NAME/TrackingHandler.ashx">

                    <div>
                        <table style="width: 465px" cellpadding="4">
                            <tr>
                                <td>
                                    Tracking
                                </td>
                                <td style="width: 100%">
                                    <input id="_strNumber" name="_strNumber" type="text" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Reference
                                </td>
                                <td style="width: 100%">
                                    <input id="_strReference" name="_strReference" type="text" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan=2>
                                    <input id="Air" type="submit" value="Air Freight" 
                                        onclick="return Air_onclick()" />
                                    <input id="Ocean" type="submit" value="Ocean Freight" 
                                        onclick="return Ocean_onclick()" />
                                    <input id="Quick" type="submit" value="Quick Courier" 
                                        onclick="return Quick_onclick()" />
                                    <input id="Warehouse" type="submit" value="Warehouse" 
                                        onclick="return Warehouse_onclick()" />
                                </td>
                            </tr>
                        </table>
        
                        <input id="_strUriReturn" name="_strUriReturn" type="hidden" 
                            value="<%=HttpContext.Current.Request.Url.AbsoluteUri %>" />
                        <input id="_strModule" name="_strModule" type="hidden" />
                        <input id="_strAccountNumber" name="YOUR_ACCOUNT" type="hidden" />

                    </div>

                </form>

                <asp:Label ID="lblResult" runat="server" Text=""></asp:Label>

                <script runat="server" language="vbscript">
        
                    Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load

                        For Each vInter In Request.Form.Keys
                            lblResult.Text &= vInter & ": " & Request.Form.Item(vInter) & "<br />"
                        Next

                    End Sub
                </script>

            </body>

    </html>
    

ASPX Tracking Sample Input Values



    _strNumber = "NCC2012"
    _strReference = ""
    _StrModule = "Q"
    

ASPX Tracking Sample Output Values


    Module_Code: Q
    Result_Receiving_Count: 0
    Result_Count: 4
    Tracking_Number_0: NCC20121012093041
    Tracking_Entered_0: 10/12/2012 9:30:41 AM
    Manifest_Number_0: SJOATD091605
    Tracking_Number_1: NCC20121012121756
    Tracking_Entered_1: 10/12/2012 12:17:56 PM
    Manifest_Number_1: SJOATD091605
    Tracking_Number_2: NCC20121019194224
    Tracking_Entered_2: 10/19/2012 7:42:24 PM
    Manifest_Number_2: SJOATD091605
    Tracking_Number_3: NCC20121020103642
    Tracking_Entered_3: 10/20/2012 10:36:42 AM
    Manifest_Number_3: SJOATD091605
    


Give us a call and we we are here to help. Free and Non-Compromise Quote
 Powered by K SSS, Inc.