Exposé

The expose call on the API returns the pdf file. The first passed parameter is the primary key of the realty. The second parameter is the expose type. A list of expose types is available here.

<?php

header('Content-type: application/pdf');
echo $api->callExpose(12345, 'Default');