This operation returns package records based on the requested custom header mapping. The request body contains package field names as keys and custom header labels as values. These header labels can be used to display the returned package data with user-defined column names.
Defines custom header mappings for package search results.
Each key represents a package response field, and each value represents the custom header label to be used for that field. The request body is a key-value mapping used to define custom headers for the package search response.
Key (Field Name):
Represents the actual package field from the system.
This can include nested fields using dot notation (for example, subId, packageId, currentLocation.name, givenTo.name, currentRoute.routeName).
Value (Header Label):
Represents the custom header name for the corresponding field in the response output.
This mapping allows users to control how package data fields are labeled when returned in response.
Example:
"packageId": "Package Identifier" → Returns the packageId field as "Package Identifier""currentLocation.name": "Site Name" → Returns current location name as "Site Name"deliveryClerk: "Delivered By" → Returns delivery clerk name as "Delivered By"Note:
Package details have been retrived successfully.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "subId": "subID",
- "userName": "Operator",
- "insertTimestamp": "ReceivedDate",
- "packageId": "Package ID",
- "currentLocation.name": "Site Name",
- "currentStatus": "Status",
- "locationZip": "Location ZIP",
- "lockerBank": "Locker Bank",
- "deliveryClerk": "Delivered By",
- "receiveClerk": "Received By",
- "givenTo.name": "Given To",
- "currentRoute.routeName": "Route",
- "deliveryTime": "Delivery Time"
}{- "packages": [
- {
- "Bank": "Sector 142 LockerBank",
- "DT": "",
- "Delivered By": "",
- "Given To": "",
- "JvoZmPNeYGWlKR0w7gKlR": "lkgP5Xb0r32AMKK6w2z6E",
- "Operator": "pse US Sanity",
- "ReceivedDate": "2026-04-09T13:58:17.394Z",
- "Route": "Delhi Route",
- "SiteName": "API_Site_Update",
- "Status": "RECEIVED",
- "locZip": "06810",
- "subID": "sac11be"
}
], - "totalCount": 1
}