You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to fetch shipment id for a Parent Invoice (both standard and secondary Shipments) via API

edited 2:24PM in Transportation Management 4 comments

Summary:

Unable to fetch Secondary charge shipment id via Invoice Shipments API.

Using below API

https://{OTMurl}.oraclecloud.com:443/logisticsRestApi/resources/v2/{invoice_id}/shipments

Results:

Getting the Invoice id href, but shipment id href is missing

{
"hasMore": false,
"limit": 25,
"count": 0,
"offset": 0,
"items": [],
"links": [
{
"rel": "self",
"href": "https://{OTMurl}.ocs.oraclecloud.com:443/logisticsRestApi/resources/v2/invoices/{invoice_id}/shipments"
}
]
}

Content (please ensure you mask any confidential information):

Getting the Invoice id href, but shipment id href is missing

{"hasMore": false,"limit": 25,"count": 0,"offset": 0,"items": [],"links": [{"rel": "self","href": "https://{OTMurl}.ocs.oraclecloud.com:443/logisticsRestApi/resources/v2/invoices/{invoice_id}/shipments"}]}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!