The GUID in these calls should be obtained from Login API
Endpoint URL
Based URL address depends on domain address on which the backend is deployed
Method | URL |
---|---|
POST | {base url}/api/Report/PreviewReport |
Query parameters
Type | Params | Values |
---|---|---|
HEADER | Guid | {GUID obtained from login call} |
BODY | ID | Invoice ID of the document we want to download report from |
BODY | OrderType | Document type* |
BODY | FileType | File type to be downloaded* |
BODY | ReportID |
File type
|
Document type
|
Example requests
https://backend/api/Report/PreviewReport
body call:
{
"ID": 69544,
"OrderType": 4,
"fileType": 2,
"reportId": 37
}