Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.79 KB

CustomerGlobalApi.md

File metadata and controls

62 lines (43 loc) · 2.79 KB

Swagger\Client\CustomerGlobalApi

All URIs are relative to https://api.beezup.com/v2

Method HTTP request Description
getCustomerIndex GET /user/customer/ The index of all operations and LOV

getCustomerIndex

\Swagger\Client\Model\CustomerIndex getCustomerIndex($if_none_match)

The index of all operations and LOV

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');

$apiInstance = new Swagger\Client\Api\CustomerGlobalApi(
    // 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
);
$if_none_match = "if_none_match_example"; // string | ETag value to identify the last known version of requested resource.\\ To avoid useless exchange, we recommend you to indicate the ETag you previously got from this operation.\\ If the ETag value does not match the response will be 200 to give you a new content, otherwise the response will be: 304 Not Modified, without any content.\\ For more details go to this link: http://tools.ietf.org/html/rfc7232#section-2.3

try {
    $result = $apiInstance->getCustomerIndex($if_none_match);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerGlobalApi->getCustomerIndex: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
if_none_match string ETag value to identify the last known version of requested resource.\ To avoid useless exchange, we recommend you to indicate the ETag you previously got from this operation.\ If the ETag value does not match the response will be 200 to give you a new content, otherwise the response will be: 304 Not Modified, without any content.\ For more details go to this link: http://tools.ietf.org/html/rfc7232#section-2.3 [optional]

Return type

\Swagger\Client\Model\CustomerIndex

Authorization

api_key

HTTP request headers

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

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