My Oracle Support Banner

Documents Not Downloading From Endpoint Download Link in REST API Response (Doc ID 2767532.1)

Last updated on APRIL 08, 2021

Applies to:

Oracle Transportation Management Cloud Service - Version 21.1 and later
Information in this document applies to any platform.


The REST API let you consume Documents information. The response provides a download link for the document you are asking about and it looks like this

  "hasMore": false,
  "limit": 25,
  "count": 1,
  "offset": 0,
  "items": [
  "isAwaitingVirusCheck": false,
  "domainName": "<DOMAIN>",
  "content": {
  "download": "https://<instance>/logisticsRestApi/resources-int/v2/custom-actions/download/documents/<DOMAIN.DOC_ID>/contents/<DOMAIN.DOC_ID>"

You are not able to use the download link to get the actual file, the file you get from the download link is an empty file.

If you log in to OTM and try to open the file, you can do it successfully. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.