Transaction Document PDF Download API - GET

Transaction Document PDF Download API - GET API Endpoint
StoRegister - Login

Transaction Document PDF Download API

The File Retrieval API enables clients to obtain transaction-specific PDF files from the server by specifying a unique identifier known as the asset ID. This API endpoint streamlines the process of requesting and retrieving specific files stored on the server. The asset ID serves as a distinct reference to the PDF file, ensuring precise and targeted retrieval.

GET
/v1/common/download/{id}
Request Content Type
application/json
Response Content Type
application/pdf

URL Query Parameters:

  • id string required

    The unique identifier (asset ID) of the file to be downloaded.

Response Payload:

The server will respond with the requested PDF file.

Error Codes

  • INVALID_PARAM_ASSETS_INFO_ID

    INVALID_PARAM_ASSETS_INFO_ID refers to invalid transaction asset ID.
  • NO_RECORDS_FOUND

    NO_RECORDS_FOUND means there is no relevant information found.
  • FAILED

    FAILED refers to an unsuccessful API call.
  • SOMETHING_WENT_WRONG

    SOMETHING_WENT_WRONG refers to technical glitch. Please contact administrator.