All URIs are relative to http://syncope-vm.apache.org:9080/syncope/rest
Method | HTTP request | Description |
---|---|---|
createAnyTypeClass | POST /anyTypeClasses | Creates a new anyTypeClass. |
deleteAnyTypeClass | DELETE /anyTypeClasses/{key} | Deletes the anyTypeClass matching the provided key. |
listAnyTypeClass | GET /anyTypeClasses | Returns a list of all anyTypeClasss. |
readAnyTypeClass | GET /anyTypeClasses/{key} | Returns anyTypeClass with matching key. |
updateAnyTypeClass | PUT /anyTypeClasses/{key} | Updates the anyTypeClass matching the provided key. |
createAnyTypeClass($xSyncopeDomain, $anyTypeClassTO)
Creates a new anyTypeClass.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\AnyTypeClassesApi(
// 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
);
$xSyncopeDomain = 'Master'; // string | anyTypeClass to be created
$anyTypeClassTO = new \OpenEuropa\SyncopePhpClient\Model\AnyTypeClassTO(); // \OpenEuropa\SyncopePhpClient\Model\AnyTypeClassTO |
try {
$apiInstance->createAnyTypeClass($xSyncopeDomain, $anyTypeClassTO);
} catch (Exception $e) {
echo 'Exception when calling AnyTypeClassesApi->createAnyTypeClass: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | anyTypeClass to be created | [default to 'Master'] |
anyTypeClassTO | \OpenEuropa\SyncopePhpClient\Model\AnyTypeClassTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteAnyTypeClass($key, $xSyncopeDomain)
Deletes the anyTypeClass matching the provided key.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\AnyTypeClassesApi(
// 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
);
$key = 'key_example'; // string | anyTypeClass key to be deleted
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->deleteAnyTypeClass($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling AnyTypeClassesApi->deleteAnyTypeClass: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | anyTypeClass key to be deleted | |
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listAnyTypeClass($xSyncopeDomain)
Returns a list of all anyTypeClasss.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\AnyTypeClassesApi(
// 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
);
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->listAnyTypeClass($xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling AnyTypeClassesApi->listAnyTypeClass: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
readAnyTypeClass($key, $xSyncopeDomain)
Returns anyTypeClass with matching key.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\AnyTypeClassesApi(
// 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
);
$key = 'key_example'; // string | anyTypeClass key to be read
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->readAnyTypeClass($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling AnyTypeClassesApi->readAnyTypeClass: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | anyTypeClass key to be read | |
xSyncopeDomain | string | [default to 'Master'] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateAnyTypeClass($key, $xSyncopeDomain, $anyTypeClassTO)
Updates the anyTypeClass matching the provided key.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: BasicAuthentication
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
// Configure HTTP basic authorization: Bearer
$config = OpenEuropa\SyncopePhpClient\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new OpenEuropa\SyncopePhpClient\Api\AnyTypeClassesApi(
// 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
);
$key = 'key_example'; // string | AnyTypeClass's key
$xSyncopeDomain = 'Master'; // string | anyTypeClass key to be deleted
$anyTypeClassTO = new \OpenEuropa\SyncopePhpClient\Model\AnyTypeClassTO(); // \OpenEuropa\SyncopePhpClient\Model\AnyTypeClassTO |
try {
$apiInstance->updateAnyTypeClass($key, $xSyncopeDomain, $anyTypeClassTO);
} catch (Exception $e) {
echo 'Exception when calling AnyTypeClassesApi->updateAnyTypeClass: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | AnyTypeClass's key | |
xSyncopeDomain | string | anyTypeClass key to be deleted | [default to 'Master'] |
anyTypeClassTO | \OpenEuropa\SyncopePhpClient\Model\AnyTypeClassTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: application/json, application/yaml, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]