All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| ezmaxinvoicingGetAutocompleteV2() | GET /2/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs |
| ezmaxinvoicingGetObjectV2() | GET /2/object/ezmaxinvoicing/{pkiEzmaxinvoicingID} | Retrieve an existing Ezmaxinvoicing |
| ezmaxinvoicingGetProvisionalV1() | GET /1/object/ezmaxinvoicing/getProvisional | Retrieve provisional Ezmaxinvoicing |
ezmaxinvoicingGetAutocompleteV2($sSelector, $eFilterActive, $sQuery, $acceptLanguage): \eZmaxAPI\Model\EzmaxinvoicingGetAutocompleteV2ResponseRetrieve Ezmaxinvoicings and IDs
Get the list of Ezmaxinvoicing to be used in a dropdown or autocomplete control.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectEzmaxinvoicingApi(
// 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
);
$sSelector = 'sSelector_example'; // string | The type of Ezmaxinvoicings to return
$eFilterActive = 'Active'; // string | Specify which results we want to display.
$sQuery = 'sQuery_example'; // string | Allow to filter the returned results
$acceptLanguage = new \eZmaxAPI\Model\\eZmaxAPI\Model\HeaderAcceptLanguage(); // \eZmaxAPI\Model\HeaderAcceptLanguage
try {
$result = $apiInstance->ezmaxinvoicingGetAutocompleteV2($sSelector, $eFilterActive, $sQuery, $acceptLanguage);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectEzmaxinvoicingApi->ezmaxinvoicingGetAutocompleteV2: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| sSelector | string | The type of Ezmaxinvoicings to return | |
| eFilterActive | string | Specify which results we want to display. | [optional] [default to 'Active'] |
| sQuery | string | Allow to filter the returned results | [optional] |
| acceptLanguage | \eZmaxAPI\Model\HeaderAcceptLanguage | [optional] |
\eZmaxAPI\Model\EzmaxinvoicingGetAutocompleteV2Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ezmaxinvoicingGetObjectV2($pkiEzmaxinvoicingID): \eZmaxAPI\Model\EzmaxinvoicingGetObjectV2ResponseRetrieve an existing Ezmaxinvoicing
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectEzmaxinvoicingApi(
// 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
);
$pkiEzmaxinvoicingID = 56; // int
try {
$result = $apiInstance->ezmaxinvoicingGetObjectV2($pkiEzmaxinvoicingID);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectEzmaxinvoicingApi->ezmaxinvoicingGetObjectV2: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| pkiEzmaxinvoicingID | int |
\eZmaxAPI\Model\EzmaxinvoicingGetObjectV2Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ezmaxinvoicingGetProvisionalV1(): \eZmaxAPI\Model\EzmaxinvoicingGetProvisionalV1ResponseRetrieve provisional Ezmaxinvoicing
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Authorization
$config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = eZmaxAPI\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new eZmaxAPI\Api\ObjectEzmaxinvoicingApi(
// 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
);
try {
$result = $apiInstance->ezmaxinvoicingGetProvisionalV1();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectEzmaxinvoicingApi->ezmaxinvoicingGetProvisionalV1: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
\eZmaxAPI\Model\EzmaxinvoicingGetProvisionalV1Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]