All URIs are relative to https://tripletex.no/v2
| Method | HTTP request | Description |
|---|---|---|
| accountPost | POST /documentArchive/account/{id} | [BETA] Upload file to Account Document Archive. |
| customerPost | POST /documentArchive/customer/{id} | [BETA] Upload file to Customer Document Archive. |
| delete | DELETE /documentArchive/{id} | [BETA] Delete document archive. |
| employeePost | POST /documentArchive/employee/{id} | [BETA] Upload file to Employee Document Archive. |
| getAccount | GET /documentArchive/account/{id} | [BETA] Find documents archived associated with account object type. |
| getCustomer | GET /documentArchive/customer/{id} | [BETA] Find documents archived associated with customer object type. |
| getEmployee | GET /documentArchive/employee/{id} | [BETA] Find documents archived associated with employee object type. |
| getProduct | GET /documentArchive/product/{id} | [BETA] Find documents archived associated with product object type. |
| getProject | GET /documentArchive/project/{id} | [BETA] Find documents archived associated with project object type. |
| getProspect | GET /documentArchive/prospect/{id} | [BETA] Find documents archived associated with prospect object type. |
| getSupplier | GET /documentArchive/supplier/{id} | [BETA] Find documents archived associated with supplier object type. |
| productPost | POST /documentArchive/product/{id} | [BETA] Upload file to Product Document Archive. |
| projectPost | POST /documentArchive/project/{id} | [BETA] Upload file to Project Document Archive. |
| prospectPost | POST /documentArchive/prospect/{id} | [BETA] Upload file to Prospect Document Archive. |
| put | PUT /documentArchive/{id} | [BETA] Update document archive. |
| receptionPost | POST /documentArchive/reception | [BETA] Upload a file to the document archive reception. Send as multipart form. |
| supplierPost | POST /documentArchive/supplier/{id} | [BETA] Upload file to Supplier Document Archive. |
\Tripletex\Model\ResponseWrapperDocumentArchive accountPost($file, $id)
[BETA] Upload file to Account Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->accountPost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->accountPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive customerPost($file, $id)
[BETA] Upload file to Customer Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->customerPost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->customerPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete($id)
[BETA] Delete document archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
try {
$apiInstance->delete($id);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->delete: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive employeePost($file, $id)
[BETA] Upload file to Employee Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->employeePost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->employeePost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getAccount($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with account object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getAccount($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getAccount: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getCustomer($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with customer object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getCustomer($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getCustomer: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getEmployee($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with employee object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getEmployee($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getEmployee: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getProduct($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with product object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getProduct($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getProduct: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getProject($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with project object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getProject($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getProject: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getProspect($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with prospect object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getProspect($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getProspect: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ListResponseDocumentArchive getSupplier($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields)
[BETA] Find documents archived associated with supplier object type.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$period_date_from = "period_date_from_example"; // string | From and including
$period_date_to = "period_date_to_example"; // string | To and excluding
$from = 56; // int | From index
$count = 56; // int | Number of elements to return
$sorting = "sorting_example"; // string | Sorting pattern
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->getSupplier($id, $period_date_from, $period_date_to, $from, $count, $sorting, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->getSupplier: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| period_date_from | string | From and including | [optional] |
| period_date_to | string | To and excluding | [optional] |
| from | int | From index | [optional] |
| count | int | Number of elements to return | [optional] |
| sorting | string | Sorting pattern | [optional] |
| fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ListResponseDocumentArchive
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive productPost($file, $id)
[BETA] Upload file to Product Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->productPost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->productPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive projectPost($file, $id)
[BETA] Upload file to Project Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->projectPost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->projectPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive prospectPost($file, $id)
[BETA] Upload file to Prospect Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->prospectPost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->prospectPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive put($id, $body)
[BETA] Update document archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$id = 56; // int | Element ID
$body = new \Tripletex\Model\DocumentArchive(); // \Tripletex\Model\DocumentArchive | Partial object describing what should be updated
try {
$result = $apiInstance->put($id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->put: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | Element ID | |
| body | \Tripletex\Model\DocumentArchive | Partial object describing what should be updated | [optional] |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: application/json; charset=utf-8
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive receptionPost($file)
[BETA] Upload a file to the document archive reception. Send as multipart form.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
try {
$result = $apiInstance->receptionPost($file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->receptionPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperDocumentArchive supplierPost($file, $id)
[BETA] Upload file to Supplier Document Archive.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\DocumentArchiveApi(
// 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(),
$config
);
$file = "file_example"; // string |
$id = 56; // int | Element ID
try {
$result = $apiInstance->supplierPost($file, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentArchiveApi->supplierPost: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| file | string****string | ||
| id | int | Element ID |
\Tripletex\Model\ResponseWrapperDocumentArchive
- Content-Type: multipart/form-data
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]