API for creating Trip Manifest of the waybills which were created by third party logistics company using the CreateWaybill API. The API is used for sending international shipment data to the gateway OU. The Gateway OU will further be using the web-interface or MATRIX app for receiving the Trip Manifest.
VALID JSON STRING
{
"customerCode": "ABC",
"carrierCode": "CARRIERCODE",
"flightNumber": "JHITURT6680",
"flightDeliveryDate": "yyyy-mm-dd",
"flightDepartureDate": "yyyy-mm-dd",
"flightUnloadingDate": "yyyy-mm-dd",
"countryCode": "IN",
"portUpload": "Kolkata",
"portType": "AIRPORT",
"fromOU": "OperatingUnitCode",
"toOU": "OperatingUnitCode",
"dispatchMode": "BYAIR",
"exim": "IMPORT",
"airline": "airline",
"rule": "TABADUL",
"waybillNumbers":
[
"WAYBILL01",
"WAYBILL02"
]
}
Parameter | Data Type | Required/Optional | Description |
---|---|---|---|
SecureKey | int | Required | It is a Unique key for accessing the API. For secure key email to support team. |
customerCode | String | Optional | Customer Code |
carrierCode | String | Required | Carrier Code. |
flightNumber | String | Required | Flight Number |
flightDeliveryDate | String | Optional | Flight delivery date (yyyy-mm-dd). |
flightDepartureDate | String | Required | Flight departure date (yyyy-mm-dd). |
flightUnloadingDate | String | Required | Flight unloading date (yyyy-mm-dd). |
countryCode | String | Required | Country code |
portUpload | String | Required | Port from where consignment is uploaded. |
portType | String | Required |
It takes the following values: (SEAPORT|DRYPORT|AIRPORT| POSTOFFICE|CUSTOMOFFICE) |
fromOU | String | Required | It is the operating unit from where the trip manifest will be sent. |
toOU | String | Required | It is the operating unit where the trip manifest is meant to receive. |
dispatchMode | String | Required | Dispatch mode (BYRAIL / FREIGHTNXAIR / BYROAD / BYAIR). |
exim | String | Required | It takes the following values: (IMPORT / EXPORT). |
airline | String | Required | Valid name of Airline. |
rule | String | Required | The unique code of the Rule to followed for validating the data. The unique value of the property will be provided by the Customer Support. |
Waybill Numbers | String | Required |
It takes an array of waybills which is meant to be in a trip manifest. [ "WAYBILL01", "WAYBILL02" ] |
packages | String | Required | Count of packages which comes under a particular waybill.. |
actualWeight | String | Required | weight of the packages which comes under a particular waybill. |
ON SUCCESS
{
"message": "Trip Manifest created successfully: 123XXXXX877",
"messageType": "Success",
}
ON ERROR
{
"message": "From OU not found",
"messageType" : "Error"
}
Error Messages | Description |
---|---|
Failed: Waybill Not Found | Waybill given in the request does not exist in the system. |
Dispatch Mode Missing | Dispatch mode is not given. |
To OU Missing | To OU is not given. |
No Such Dispatch Mode Found | Dispatch mode given in the request is invalid. |
Flight Number Missing | Flight number is blank or not given. |
Carrier Code Missing | Carrier code is blank or not given. |
Country Code Missing | Country code is blank or not given. |
Port Upload Missing | Uploading port value is blank or not given. |
Airline Name Missing | Airline is blank or not given. |
From OU Missing | From OU is blank or not given. |
import java.net.URL;
public class Create3PLTripManifest {
public static void main(String[] args) throws IOException {
con.setDoOutput(true);
"}";
}
}import json
access_url = "https://api.logixplatform.com/Rachna/webservice/v2/Create3PLTripManifest"
}