Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.66 KB

ObjectFranchisereferalincomeApi.md

File metadata and controls

70 lines (47 loc) · 2.66 KB

eZmaxAPI\ObjectFranchisereferalincomeApi

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()

franchisereferalincomeCreateObjectV2($franchisereferalincomeCreateObjectV2Request): \eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Response

Create a new Franchisereferalincome

The endpoint allows to create one or many elements at once.

Example

<?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;
}

Parameters

Name Type Description Notes
franchisereferalincomeCreateObjectV2Request \eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Request

Return type

\eZmaxAPI\Model\FranchisereferalincomeCreateObjectV2Response

Authorization

Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]