1. V2.0
HLS ERP
  • V2.0
    • Query Booking Data
      GET
    • Query Pre-Alert Documents
      GET
    • Push Pre-Alert Documents
      POST
  1. V2.0

Query Pre-Alert Documents

GET
https://uateds.hlsholding.com/dts/GetDocuments
Initiated by customerData from HLS
using shipment number to query, will return file objects of the shipment.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params application/json

Example
{
    "shipment_type": "MBL",
    "shipment_number": "string",
    "doc_type": "HBL"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://uateds.hlsholding.com/dts/GetDocuments' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
    "shipment_type": "MBL",
    "shipment_number": "string",
    "doc_type": "HBL"
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "code": 200,
    "success": true,
    "data": {
        "shipment_number": "COSU123456",
        "shipment_type": "Master Bill of Lading",
        "associated_files_collection": [
            {
                "blob": "SGVsbG8gd29ybGQ=",
                "blob_filename": "sample.pdf",
                "description": "Initial Packing List (2025-01-01)",
                "media_type": "application/pdf",
                "organization_access": false,
                "doc_type": "PL"
            }
        ],
        "subshipment_collection": [
            {
                "shipment_number": "SZ26A1234",
                "shipment_type": "House Bill of Lading",
                "associated_files_collection": [
                    {
                        "blob": "SGVsbG8gd29ybGQ=",
                        "blob_filename": "demo.pdf",
                        "description": "HBL-SZ26A1234",
                        "media_type": "application/pdf",
                        "organization_access": false,
                        "doc_type": "HBL"
                    }
                ]
            }
        ]
    }
}
🔴500Server Error
Previous
Query Booking Data
Next
Push Pre-Alert Documents
Built with