Skip to end of metadata
Go to start of metadata

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

HEADERGuid{GUID obtained from login call}
BODYIDInvoice ID of the document we want to download report from
BODYOrderTypeDocument type*
BODYFileTypeFile type to be downloaded*
BODYReportID






File type

PDF = 1
XLS = 2


Document type

Purchase Order = 0
Cash Advance = 1
Expense Claim = 2
Return To Supplier = 3
Sales Order = 4
Credit Note = 7
Sales Order Quotation = 8


Example requests

https://backend/api/Report/PreviewReport

body call:

{
    "ID"69544,
    "OrderType"4,
    "fileType"2,
    "reportId"37
}

  • No labels