Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.77 KB

PlansApi.md

File metadata and controls

66 lines (43 loc) · 1.77 KB

Equisoft\SDK\EquisoftPlan\PlansApi

All URIs are relative to http://localhost, except if the operation defines another base path.

Method HTTP request Description
listPlans() GET /fna/api/v2/plans

listPlans()

listPlans($clientExternalUuid): \Equisoft\SDK\EquisoftPlan\Model\PlansListPlansResponse

Example

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


// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftPlan\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Equisoft\SDK\EquisoftPlan\Api\PlansApi(
    // 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
);
$clientExternalUuid = 'clientExternalUuid_example'; // string

try {
    $result = $apiInstance->listPlans($clientExternalUuid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PlansApi->listPlans: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
clientExternalUuid string [optional]

Return type

\Equisoft\SDK\EquisoftPlan\Model\PlansListPlansResponse

Authorization

OAuth2

HTTP request headers

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

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