Downloading a Document

You use this API to download a document based on document ID and language to view information pertaining to the model or item of equipment.

Prerequisite

You have identified the document that you want to download.

Request

  • HTTP Method:GET
  • Example URL:Application_URL/services/api/v1/documents/{documentID}
  • Query Parameter: language
  • URI Parameter: documentID
  • Authorization:You must have the roles DOCUMENT_READ, DOCUMENT_EDIT or DOCUMENT_DELETE assigned to your user ID in the SAP HANA Cloud Platform account.
  • Schema:Not applicable.

Response

The system returns the file as a stream. For more information, see https://help.sap.com/doc/c8af652c31a6435baf13e424539276d4/1902/en-US/documents.html#documents__documentID__get.