{"id":20027084,"url":"https://github.com/unic/discoverswiss.profile_service","last_synced_at":"2026-05-13T15:31:37.483Z","repository":{"id":150611689,"uuid":"552876346","full_name":"unic/discoverswiss.profile_service","owner":"unic","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-17T09:50:27.000Z","size":1218,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-25T17:11:25.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-17T11:16:26.000Z","updated_at":"2025-01-17T09:50:28.000Z","dependencies_parsed_at":"2023-06-12T01:45:21.526Z","dependency_job_id":null,"html_url":"https://github.com/unic/discoverswiss.profile_service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.profile_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.profile_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.profile_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.profile_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unic","download_url":"https://codeload.github.com/unic/discoverswiss.profile_service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460058,"owners_count":19966516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:08:59.401Z","updated_at":"2026-05-13T15:31:32.459Z","avatar_url":"https://github.com/unic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwaggerClient-php\nProfile service\n\nThis PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: 1.0\n- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen\n\n## Requirements\n\nPHP 5.5 and later\n\n## Installation \u0026 Usage\n### Composer\n\nTo install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:\n\n```\n{\n  \"repositories\": [\n    {\n      \"type\": \"git\",\n      \"url\": \"https://github.com/unic/discoverswiss.profile_service.git\"\n    }\n  ],\n  \"require\": {\n    \"unic/discoverswiss.profile_service\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');\n```\n\n## Tests\n\nTo run the unit tests:\n\n```\ncomposer install\n./vendor/bin/phpunit\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsAcceptTermVersionRequest(); // \\ProfileService\\Client\\Model\\DsAcceptTermVersionRequest | TermVersionCheckRequest.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003eacceptATermVersion($body, $ocp_apim_subscription_key, $profile_token, $authorization, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003eacceptATermVersion: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsGuestCardRequest(); // \\ProfileService\\Client\\Model\\DsGuestCardRequest | Deposite Guest Card request model.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_language = \"accept_language_example\"; // string | Two-letter language code to get localized properties.\n\ntry {\n    $result = $apiInstance-\u003eaddGuestCardToUser($body, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_language);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003eaddGuestCardToUser: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $apiInstance-\u003ecancelDeletionProfile($authorization, $ocp_apim_subscription_key);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003ecancelDeletionProfile: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$code = \"code_example\"; // string | The code of the term to test if it has been accepted already.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003echeckAcceptedTerm($code, $ocp_apim_subscription_key, $profile_token, $authorization, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003echeckAcceptedTerm: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $apiInstance-\u003econfirmDeletionProfile($authorization, $ocp_apim_subscription_key);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003econfirmDeletionProfile: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the stay.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_language = \"accept_language_example\"; // string | Two-letter language code to get localized properties.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003econfirmStay($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_language, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003econfirmStay: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsCardRequest(); // \\ProfileService\\Client\\Model\\DsCardRequest | Card request model\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003ecreateCard($body, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003ecreateCard: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsPartnerDataCreateRequest(); // \\ProfileService\\Client\\Model\\DsPartnerDataCreateRequest | PartnerDataRequest.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID to apply its offset to dates and time\n\ntry {\n    $result = $apiInstance-\u003ecreatePartnerdata($body, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003ecreatePartnerdata: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsPartyRequest(); // \\ProfileService\\Client\\Model\\DsPartyRequest | PartyRequest - group of travelers.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003ecreateParty($body, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003ecreateParty: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the party.\n$body = \"\\\"string\\\"\"; // string | \n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003ecreatePartyInvitation($id, $body, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003ecreatePartyInvitation: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the card.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edeleteCard($id, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteCard: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$identifier = \"identifier_example\"; // string | Identifier of the media.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $apiInstance-\u003edeleteMedia($identifier, $ocp_apim_subscription_key, $authorization, $profile_token);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteMedia: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $apiInstance-\u003edeleteMyProfile($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteMyProfile: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$name = \"name_example\"; // string | Name of the partnerdata.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edeletePartnerdata($name, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeletePartnerdata: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$name = \"name_example\"; // string | Name of the partnerdata.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $apiInstance-\u003edeletePartnerdataSharePermission($name, $ocp_apim_subscription_key, $authorization, $profile_token);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeletePartnerdataSharePermission: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the party.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edeleteParty($id, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteParty: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the party.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edeletePartyInvitation($id, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeletePartyInvitation: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $apiInstance-\u003edeleteProfilePicture($ocp_apim_subscription_key, $authorization, $profile_token);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteProfilePicture: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the stay.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edeleteStay($id, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteStay: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$identifier = \"identifier_example\"; // string | Identifier of the media.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edownloadMedia($identifier, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edownloadMedia: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$order_token = \"order_token_example\"; // string | the token of the order.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003edownloadOrderinfo($order_token, $ocp_apim_subscription_key, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edownloadOrderinfo: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the ticket.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003edownloadTicket($id, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edownloadTicket: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the address.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetAddressById($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetAddressById: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsBusinessTrailRequest(); // \\ProfileService\\Client\\Model\\DsBusinessTrailRequest | BusinessTrailRequest.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetBusinessTrailEntries($body, $ocp_apim_subscription_key, $profile_token, $authorization, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetBusinessTrailEntries: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the card.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetCard($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetCard: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$identifier = \"identifier_example\"; // string | Identifier of the media.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003egetMedia($identifier, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMedia: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$identifier = \"identifier_example\"; // string | Identifier of the media.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003egetMediaBinary($identifier, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMediaBinary: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$identifier = \"identifier_example\"; // string | Identifier of the media.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003egetMediaThumbnailBinary($identifier, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMediaThumbnailBinary: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetMyCards($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyCards: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003egetMyMedia($ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyMedia: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$continuation_token = \"continuation_token_example\"; // string | Use it for get next set of data.\n$top = 56; // int | Format - int32. Number of next set of entities.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetMyOrders($continuation_token, $top, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyOrders: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetMyParties($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyParties: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$continuation_token = \"continuation_token_example\"; // string | Use it for get next set of data.\n$top = 56; // int | Format - int32. Number of next set of entities.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID to apply its offset to dates and time\n\ntry {\n    $result = $apiInstance-\u003egetMyPartnerData($continuation_token, $top, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyPartnerData: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetMyProfile($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyProfile: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetMyStays($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyStays: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$scope = \"scope_example\"; // string | Scope of the tickets (Default: currentAndFuture). Valid values: currentAndFuture, current, past, all\n$order_number = \"order_number_example\"; // string | To get only ticket related to order\n$additional_type = 56; // int | Format - int32. Filter by the additional type property\n$continuation_token = \"continuation_token_example\"; // string | Use it for get next set of data.\n$top = 56; // int | Format - int32. Number of next set of entities.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetMyTickets($scope, $order_number, $additional_type, $continuation_token, $top, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetMyTickets: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the order.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetOrder($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetOrder: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$name = \"name_example\"; // string | Name of the partnerdata.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID to apply its offset to dates and time\n\ntry {\n    $result = $apiInstance-\u003egetPartnerdata($name, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetPartnerdata: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the party.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetParty($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetParty: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003egetProfilePictureThumbnail($ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetProfilePictureThumbnail: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $apiInstance-\u003egetStatus($ocp_apim_subscription_key);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetStatus: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003egetStatusAbout($ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetStatusAbout: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the stay.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetStay($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetStay: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the ticket.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetTicket($id, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetTicket: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$id = \"id_example\"; // string | Id of the ticket.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003egetTicketBinary($id, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetTicketBinary: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$grant_type = \"grant_type_example\"; // string | the type of the token request: guest, authorization_header or refresh_token\n$refresh_token = \"refresh_token_example\"; // string | The refresh token case of grant_type=refresh_token\n$max_refresh_lifetime = \"max_refresh_lifetime_example\"; // string | maximal refresh token lifetime requested by the client in days\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003egetToken($grant_type, $refresh_token, $max_refresh_lifetime, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetToken: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$sharing_identifier = \"sharing_identifier_example\"; // string | Profile Data share ID\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003eimportSharedProfileData($sharing_identifier, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003eimportSharedProfileData: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsStayRequest(); // \\ProfileService\\Client\\Model\\DsStayRequest | StayRequest containing the parameters to initialize the stay.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_language = \"accept_language_example\"; // string | Two-letter language code to get localized properties.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003einitializeStay($body, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_language, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003einitializeStay: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsJoinPartyRequest(); // \\ProfileService\\Client\\Model\\DsJoinPartyRequest | Join party request\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n\ntry {\n    $result = $apiInstance-\u003ejoinParty($body, $ocp_apim_subscription_key, $authorization, $profile_token);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003ejoinParty: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003elistAddresses($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003elistAddresses: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n\ntry {\n    $result = $apiInstance-\u003elistTravelers($ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003elistTravelers: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$name = \"name_example\"; // string | Name of the partnerdata object\n$body = new \\ProfileService\\Client\\Model\\DsPartnerDataUpdateRequest(); // \\ProfileService\\Client\\Model\\DsPartnerDataUpdateRequest | PartnerDataRequest to update.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$profile_token = \"profile_token_example\"; // string | Profile token to identify the guest user profile.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID to apply its offset to dates and time\n\ntry {\n    $result = $apiInstance-\u003epATCHPartnerdataObject($name, $body, $ocp_apim_subscription_key, $authorization, $profile_token, $accept_timezone);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003epATCHPartnerdataObject: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$authorization = \"authorization_example\"; // string | Authorization header to identify the B2C user profile.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $apiInstance-\u003eresendAccountVerificationEmail($authorization, $ocp_apim_subscription_key);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003eresendAccountVerificationEmail: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsAcceptTermVersionRequest(); // \\ProfileService\\Client\\Model\\DsAcceptTermVersionRequest | AcceptTermVersionRequest.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$accept_timezone = \"accept_timezone_example\"; // string | Time zone ID for response dates \u0026 times\n$max_refresh_lifetime = \"max_refresh_lifetime_example\"; // string | maximal refresh token lifetime requested by the client in days\n\ntry {\n    $result = $apiInstance-\u003esaveConsentDissent($body, $ocp_apim_subscription_key, $accept_timezone, $max_refresh_lifetime);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003esaveConsentDissent: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$body = new \\ProfileService\\Client\\Model\\DsSendOtpRequest(); // \\ProfileService\\Client\\Model\\DsSendOtpRequest | \n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$accept_language = \"accept_language_example\"; // string | Two-letter language code to get localized properties.\n\ntry {\n    $result = $apiInstance-\u003esendOtp($body, $ocp_apim_subscription_key, $accept_language);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003esendOtp: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = ProfileService\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new ProfileService\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$name = \"name_example\"; // string | Name of the partnerdata.\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$authorization = \"authorization_example\"; // s","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fdiscoverswiss.profile_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funic%2Fdiscoverswiss.profile_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fdiscoverswiss.profile_service/lists"}