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 |
---|---|---|
franchisereferalincomeCreateObjectV2() | POST /2/object/franchisereferalincome | Create a new Franchisereferalincome |
franchisereferalincomeCreateObjectV2($franchisereferalincomeCreateObjectV2Request): \eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Response
Create a new Franchisereferalincome
The endpoint allows to create one or many elements at once.
<?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\ObjectFranchisereferalincomeApi(
// 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
);
$franchisereferalincomeCreateObjectV2Request = new \eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Request(); // \eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Request
try {
$result = $apiInstance->franchisereferalincomeCreateObjectV2($franchisereferalincomeCreateObjectV2Request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ObjectFranchisereferalincomeApi->franchisereferalincomeCreateObjectV2: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
franchisereferalincomeCreateObjectV2Request | \eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Request |
\eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Response
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]