All URIs are relative to https://topal.vitan.ch:9001, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
interestsGet() | GET /api/v1/clients/{clientId}/interests | get list of interests |
interestsGet_0() | GET /api/v1/clients/{clientId}/interests/{id} | Get interest by id |
interestsGet($client_id): \OpenAPI\Client\Model\Interest[]
get list of interests
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\InterestsApi(
// 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()
);
$client_id = 'client_id_example'; // string
try {
$result = $apiInstance->interestsGet($client_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InterestsApi->interestsGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
client_id | string |
\OpenAPI\Client\Model\Interest[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interestsGet_0($id, $client_id): \OpenAPI\Client\Model\Interest
Get interest by id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\InterestsApi(
// 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()
);
$id = 56; // int
$client_id = 'client_id_example'; // string
try {
$result = $apiInstance->interestsGet_0($id, $client_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InterestsApi->interestsGet_0: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
client_id | string |
\OpenAPI\Client\Model\Interest
No authorization required
- Content-Type: Not defined
- Accept:
application/json
,text/json
,application/xml
,text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]