Configure JsonAPI
Configure API With JsonAPI Protocol, and Publish it.
Report Endpoint
Now we have to use /report (http://localhost:8018/user-jsonapi-apikey/report) endpoint after configured API base endpoint. before making API calls please make sure you have provided correct authentication parameter.
Provide Json Body as per your requirement considering below example
{
"converter": "pdf",
"report_ref": "sale.report_saleorder",
"res_ids": [6, 7],
"data": {}
}
Now, in result you will json where you find "file_data" which is base64 data.