ULIP ACMES Integration Requirement
ULIP ACMES Integration Requirement
Date: 16/07/2021
This document contains proprietary information of NLDSL. Unauthorized access, copying and replication are
prohibited. This document must not be copied in whole or part by any means, without the written authorization of
NLDSL, Noida, India.
ULIP Integration Requirement Document
Revision History
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 2 of 15
ULIP Integration Requirement Document
Table of Contents
Introduction ................................................................................................................................................. 4
1.1 Purpose .................................................................................................................................... 4
The Overall Description .............................................................................................................................. 4
1.2 Data Integration between ACMES System and ULIP application ............................................ 4
1.3 ACMES/01 ................................................................................................................................ 4
1.3.1 Technical Approach ..................................................................................................... 5
1.4 ACMES/02 ................................................................................................................................ 8
1.4.1 Technical Approach ..................................................................................................... 9
1.5 Data Transmission & Authentication Mechanism .................................................................. 14
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 3 of 15
ULIP Integration Requirement Document
Introduction
1.1 Purpose
The purpose of this document is to define and provide details for accessing API for
ACMES system information from ULIP system.
This document details the following points:
1. Data Integration between ACMES and ULIP web service: Identification of operational
points where data integration between ACMES and ULIP web service will be needed.
User will share the information such as AWB number, HAWB number based on data
send by user ULIP system will call respective ACMES API for accessing information.
2. ULIP will expose API for getting data from ACMES API.
3. ACMES/01 API will take AWB number from user and get data from ACMES API.
4. ACMES/02 API will take AWB number and HAWB number from user and get data from
ACMES API.
1.3 ACMES/01
This API will take AWB number and connect with ACMES API to get data.
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 4 of 15
ULIP Integration Requirement Document
Example:
Request:
The request must be of the following format, where AWB number is passed within the URL body
in JSON format.
https://www.ulip.dpiit.gov.in/ulip/v1.0.0/ACMES/01
{
"awbnumber": "40689348000"
}
Curl URL
Response
To acknowledge the above request, ULIP will send the below response -
{
"response": null,
"error": "true",
"code": "400",
"message": "Data format failed OR wrong value entered at:
awbnumber. Format should follow [0-9]{11}"
}
{
"response": [
{
"response": {
"ExportTrackingData": {
"AWB": null,
"SHIPPING_BILL": [],
"LOCATION_DETAILS": [],
"XRAY_DETAILS": [],
"ULD_DETAILS": [],
"EGM_DETAILS": []
}
},
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 6 of 15
ULIP Integration Requirement Document
"responseStatus": "SUCCESS"
}
],
"error": "false",
"code": "200",
"message": "Success"
}
{
"response": [
{
"response": {
"ExportTrackingData": {
"AWB": {
"Destination": "DXB",
"Packages": "24",
"GrossWeight": "464",
"ChargeableWeight": "464",
"TDGDateTime": "08/03/2021
16:57:00",
"BAGDateTime": "08/03/2021
21:13:00",
"GatePassDateTime": "N/A",
"HandOverDateTime": ""
},
"SHIPPING_BILL": [],
"LOCATION_DETAILS": [],
"XRAY_DETAILS": [
{
"XRayDate": "08/03/2021
20:33",
"XRayMachine":
"40011512",
"XRayBy": "XRAY05"
}
],
"ULD_DETAILS": [
{
"ULDNo": "BT07IND:",
"ULDType": "BT",
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 7 of 15
ULIP Integration Requirement Document
"Status": "A",
"FlightNo": "6E9602",
"FlightDate":
"10/03/2021"
}
],
"EGM_DETAILS": [
{
"EGMNo": "341511",
"EGMYear": "11/03/2021",
"FlightNo": "6E23",
"FlightDate":
"11/03/2021",
"ATD": " ",
"Commodity": "CONSOL
COURIER",
"Packages": "24",
"GrossWeight": "464"
}
]
}
},
"responseStatus": "SUCCESS"
}
],
"error": "false",
"code": "200",
"message": "Success"
}
1.4 ACMES/02
This API will take AWB number and HAWB number connect with ACMES API to get
data.
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 8 of 15
ULIP Integration Requirement Document
Example:
Request:
The request must be of the following format, where AWB number and HAWB number is passed
within the URL body in JSON format.
https://www.ulip.dpiit.gov.in/ulip/v1.0.0/ACMES/02
{
"awbnumber": "23552194682",
"hawb":"MUC75007115"
}
Curl URL
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 9 of 15
ULIP Integration Requirement Document
Response
To acknowledge the above request, ULIP will send the below response -
{
"response": null,
"error": "true",
"code": "400",
"message": "Data format failed OR wrong value entered
at: awbnumber. Format should follow [09]{11}"
}
{
"response": null,
"error": "true",
"code": "400",
"message": "Data format failed OR wrong value entered
at: hawb. Format should follow ^[a-zA-Z0-9.]*$"
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 10 of 15
ULIP Integration Requirement Document
{
"response": [
{
"response": {
"ImportTrackingData": {
"AWB_DETAILS": null,
"IGM_DETAILS": [],
"DO_DETAILS": [],
"GP_DETAILS": [],
"LOC_DETAILS": []
}
},
"responseStatus": "SUCCESS"
}
],
"error": "false",
"code": "200",
"message": "Success"
}
{
"response": [
{
"response": {
"ImportTrackingData": {
"AWB_DETAILS": null,
"IGM_DETAILS": [],
"DO_DETAILS": [],
"GP_DETAILS": [],
"LOC_DETAILS": []
}
},
"responseStatus": "SUCCESS"
}
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 11 of 15
ULIP Integration Requirement Document
],
"error": "false",
"code": "200",
"message": "Success"
}
{
"response": [
{
"response": {
"ImportTrackingData": {
"AWB_DETAILS": {
"IgmNo": "1896697",
"IgmYear": "2021",
"AwbNo": "23552194682",
"HawbNo": "MUC75007115",
"ArrivedPackages": "1",
"ArrivedWeight": "70",
"ChargeableWeight": "192",
"DamagedPackages": "0"
},
"IGM_DETAILS": [
{
"IgmNo": "1896697",
"IgmYear": "2021",
"FlightNo": "TK6448",
"FlightDate":
"16/03/2021",
"SegregationDate":
"16/03/2021 15:30",
"SegregationStatus":
"DONE",
"ATA": "16/03/2021
04:45"
}
],
"DO_DETAILS": [
{
"DOIssuedBy": "TURKISH
AIRLINES INC.",
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 12 of 15
ULIP Integration Requirement Document
"DODate": "17/03/2021
12:02:21",
"HawbNo": "0",
"DOIssuedTo": "SUNRISE
FREIGHT FORWARDERS PVT. LTD."
},
{
"DOIssuedBy": "SUNRISE
FREIGHT FORWARDERS PVT. LTD.",
"DODate": "17/03/2021
12:34:28",
"HawbNo": "MUC75007115",
"DOIssuedTo": "REGENT
GARAGE (P) LTD."
}
],
"GP_DETAILS": [
{
"GatePassNo":
"NN202103232098",
"DeliveryPackages": "1",
"GeneratedOn":
"23/03/2021 11:48:00",
"DocStatus": "DELIVERED"
}
],
"LOC_DETAILS": []
}
},
"responseStatus": "SUCCESS"
}
],
"error": "false",
"code": "200",
"message": "Success"
}
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 13 of 15
ULIP Integration Requirement Document
https://www.ulip.dpiit.gov.in/ulip/v1.0.0/ACMES/01
Body:
{
"awbnumber": "40689348000"
}
Access to above data exchange URL would be authorized by use of a security mechanism
implemented by the ULIP system. It is as follows:
• First time access: It would require a username and password [which would be shared with
user beforehand]. Once user hit with valid user id and password, ULIP system will return a
basic authorization token to user, using that token user will communicate with ULIP system
until token will not get expired.
First time when User will hit ULIP secured API through username and password for access token
as follow-
curl -X POST
‘https://www.ulip.dpiit.gov.in/ulip/v1.0.0/user/login’
-H 'accept: application/json'
-H 'content-type: application/json'
-data ‘{"username":"xxxxxx","password":" XXxxx@12345"} ‘
Authorization:
Bearer
eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJpbnRlcmNvbnQiLCJpYXQiOjE1ODU1NjYyMzcsImFwcHMi
OiJkYXRhcHVzaCJ9.jb-23DbkWpz-3ptsuuZofzH-
ce7jd0xR5WlkFfBPO_Dzjop01dSx9OamqsjsgUAryLUPtUDiMX07oHG4L2AfFQ
Upon successful authentication, the user would be logged into the ULIP system and get an access
token. Though this token user can communicate with ULIP. This token has expiry time which
represent user session. The session time out for the same to be fixed hour, generally it is for 30
minutes. If there is no request coming from user for 30 minutes, then session (token) will be
expired and user need to re authenticate.
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 14 of 15
ULIP Integration Requirement Document
Using The above token, user can request ULIP system for vehicle details as follow -
Doc Ref. No: ULIP Integration Doc Version No: 1.0 Page 15 of 15