Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 1.27 KB

other_document.rst

File metadata and controls

61 lines (36 loc) · 1.27 KB

Back to index

Other document

use Onetoweb\Minox\Utils;

$id = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa';
$results = $client->otherDocument->get($id);

$filename = '/path/to/file.pdf';
Utils::saveFile($filename, $results);
$batchId = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa';
$filepath = '/path/to/file.pdf';
$results = $client->otherDocument->transactionLineBatch($batchId, $filepath);
use Onetoweb\Minox\Utils;

$batchId = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa';
$results = $client->otherDocument->getBatchDocument($batchId);

$filename = '/path/to/file.pdf';
Utils::saveFile($filename, $results);
$batchId = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa';
$results = $client->otherDocument->deleteBatchDocument($batchId);

Back to top