Fetch contents of a document in Base 64 format
get
/obcr-correspondence-services/inboundDocument/downloadDocument
This endpoint is used to fetch contents of a document in Base 64 format.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
-
accountId(required): string
Account Id
-
caseId(required): string
Case Id
-
docRefId(required): string
Document Reference Id associated with document to be downloaded.
Header Parameters
-
appId(required): string
The application ID of host service.
-
branchCode(required): string
The branch code of requesting branch.
-
contentType: string
The content type of request or response body.
-
userId(required): string
The user ID of requesting user.
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns message of success or failure
Root Schema : DocContentDto
Type:
Show Source
object
-
fileContent:
string
File content in Base 64 format
-
fileName:
string
File name of the uploaded document
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error