All URIs are relative to http://syncope-vm.apache.org:9080/syncope/rest
Method | HTTP request | Description |
---|---|---|
createAnyType | POST /anyTypes | Creates a new anyType. |
deleteAnyType | DELETE /anyTypes/{key} | Deletes the anyType matching the provided key. |
listAnyType | GET /anyTypes | Returns a list of all anyTypes. |
readAnyType | GET /anyTypes/{key} | Returns anyType with matching key. |
updateAnyType | PUT /anyTypes/{key} | Updates the anyType matching the provided key. |
createAnyType($xSyncopeDomain, $anyTypeTO)
Creates a new anyType.
<?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\AnyTypesApi(
// 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 | anyType to be created
$anyTypeTO = new \OpenEuropa\SyncopePhpClient\Model\AnyTypeTO(); // \OpenEuropa\SyncopePhpClient\Model\AnyTypeTO |
try {
$apiInstance->createAnyType($xSyncopeDomain, $anyTypeTO);
} catch (Exception $e) {
echo 'Exception when calling AnyTypesApi->createAnyType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
xSyncopeDomain | string | anyType to be created | [default to 'Master'] |
anyTypeTO | \OpenEuropa\SyncopePhpClient\Model\AnyTypeTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteAnyType($key, $xSyncopeDomain)
Deletes the anyType 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\AnyTypesApi(
// 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 | anyType key to be deleted
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->deleteAnyType($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling AnyTypesApi->deleteAnyType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | anyType 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]
listAnyType($xSyncopeDomain)
Returns a list of all anyTypes.
<?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\AnyTypesApi(
// 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->listAnyType($xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling AnyTypesApi->listAnyType: ', $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]
readAnyType($key, $xSyncopeDomain)
Returns anyType 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\AnyTypesApi(
// 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 | anyType key to be read
$xSyncopeDomain = 'Master'; // string |
try {
$apiInstance->readAnyType($key, $xSyncopeDomain);
} catch (Exception $e) {
echo 'Exception when calling AnyTypesApi->readAnyType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | anyType 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]
updateAnyType($key, $xSyncopeDomain, $anyTypeTO)
Updates the anyType 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\AnyTypesApi(
// 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 | AnyType's key
$xSyncopeDomain = 'Master'; // string | anyType key to be deleted
$anyTypeTO = new \OpenEuropa\SyncopePhpClient\Model\AnyTypeTO(); // \OpenEuropa\SyncopePhpClient\Model\AnyTypeTO |
try {
$apiInstance->updateAnyType($key, $xSyncopeDomain, $anyTypeTO);
} catch (Exception $e) {
echo 'Exception when calling AnyTypesApi->updateAnyType: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
key | string | AnyType's key | |
xSyncopeDomain | string | anyType key to be deleted | [default to 'Master'] |
anyTypeTO | \OpenEuropa\SyncopePhpClient\Model\AnyTypeTO |
void (empty response body)
- Content-Type: application/json, application/yaml, application/xml
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]