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 |
---|---|---|
ezsigntemplateglobalGetAutocompleteV2() | GET /2/object/ezsigntemplateglobal/getAutocomplete/{sSelector} | Retrieve Ezsigntemplateglobals and IDs |
ezsigntemplateglobalGetObjectV2() | GET /2/object/ezsigntemplateglobal/{pkiEzsigntemplateglobalID} | Retrieve an existing Ezsigntemplateglobal |
ezsigntemplateglobalGetAutocompleteV2($sSelector, $eFilterActive, $sQuery, $acceptLanguage): \eZmaxAPI\Model\EzsigntemplateglobalGetAutocompleteV2Response
Retrieve Ezsigntemplateglobals and IDs
Get the list of Ezsigntemplateglobal 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\ObjectEzsigntemplateglobalApi(
// 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 Ezsigntemplateglobals 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\HeaderAcceptLanguage(); // HeaderAcceptLanguage
try {
$result = $apiInstance->ezsigntemplateglobalGetAutocompleteV2($sSelector, $eFilterActive, $sQuery, $acceptLanguage);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectEzsigntemplateglobalApi->ezsigntemplateglobalGetAutocompleteV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
sSelector | string | The type of Ezsigntemplateglobals 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 | HeaderAcceptLanguage | [optional] |
\eZmaxAPI\Model\EzsigntemplateglobalGetAutocompleteV2Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ezsigntemplateglobalGetObjectV2($pkiEzsigntemplateglobalID): \eZmaxAPI\Model\EzsigntemplateglobalGetObjectV2Response
Retrieve an existing Ezsigntemplateglobal
<?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\ObjectEzsigntemplateglobalApi(
// 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
);
$pkiEzsigntemplateglobalID = 56; // int
try {
$result = $apiInstance->ezsigntemplateglobalGetObjectV2($pkiEzsigntemplateglobalID);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectEzsigntemplateglobalApi->ezsigntemplateglobalGetObjectV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
pkiEzsigntemplateglobalID | int |
\eZmaxAPI\Model\EzsigntemplateglobalGetObjectV2Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]