PHP code example of christian71-stack / miraklfront
1. Go to this page and download the library: Download christian71-stack/miraklfront library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
christian71-stack / miraklfront example snippets
apiInstance = new cbdesk\mirakl\Api\InvoicingAndAccountingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$document_request_id = array('document_request_id_example'); // string[] | The document request unique identifier. This parameter can be supplied multiple times.
$document_id = array('document_id_example'); // string[] | Document identifiers. This parameter can be supplied multiple times.
$document_format = array('document_format_example'); // string[] | Document formats. This parameter can be supplied multiple times.
$entity_id = array('entity_id_example'); // string[] | Entity identifiers related to the documents to download. This parameter can be supplied multiple times.<br>The <code>entity_type</code> must be specified to use this filter, otherwise an error 400 will be returned.<br>Example: entity_id=order1-A&entity_id=order20-A&entity_type=PRODUCT_LOGISTIC_ORDER
$entity_type = array('entity_type_example'); // string[] | Entity types related to the documents to download. This parameter can be supplied multiple times.
try {
$result = $apiInstance->dR73($document_request_id, $document_id, $document_format, $entity_id, $entity_type);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InvoicingAndAccountingApi->dR73: ', $e->getMessage(), PHP_EOL;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.