Use the GET /generate-presentation endpoint with the following parameters:
Example:
/generate-presentation?unitIds=unit-id-1,unit-id-2,unit-id-3&clientName=Jane%20Smith&agentName=John%20Doe&agentPhone=+1234567890
Use the POST /get-pdf endpoint with a JSON body containing the following parameters:
Example request body:
{
"unitIds": ["unit-id-1", "unit-id-2", "unit-id-3"],
"clientName": "Jane Smith",
"agentName": "John Doe",
"agentPhone": "+1234567890"
}
The response will be a PDF file that can be downloaded or displayed in the browser.