Return a File Based on ID or File Name
get
/api/file/Files/readContent
Returns the file content based on the file ID or the file name.
Request
Query Parameters
-
FileName(required): string
The file name used for fetching the content.Example:
Test.pdf
-
id: integer
The file ID used for fetching the content.Example:
1021
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/pdf
200 Response
Successful operation
Root Schema : schema
Type:
string(binary)
404 Response
File not found.
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object