jumper423 / voximplant-phpsdk
Voximplant HTTP API php sdk
1.0
2018-02-21 16:30 UTC
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-11-05 19:22:06 UTC
README
Voximplant HTTP API description
- API version: 1.0.0 For more information, please visit http://voximplant.com
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/DmitryIvaneychik/phpsdk.git"
}
],
"require": {
"voximplant/phpsdk": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once( __DIR__ . '/vendor/autoload.php' );
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key: api_key Voximplant\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY'); // Configure account name: account_name Voximplant\Configuration::getDefaultConfiguration()->setApiKey('account_name', 'YOUR_ACCOUNT_NAME'); $api_instance = new \Voximplant\Api\AccountsAuthenticationApi(); try { $result = $api_instance->logon(); print_r($result); } catch (Exception $e) { echo 'Exception when calling AccountsAuthenticationApi->logon: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://api.voximplant.com/platform_api/
Documentation For Models
- ACDLock
- ACDLockedOperatorStateType
- ACDOperatorCall
- ACDQueueOperatorInfoType
- ACDQueueStateType
- ACDReadyOperatorStateType
- ACDServicingCallStateType
- ACDSessionEventInfoType
- ACDSessionInfoType
- ACDStateType
- ACDWaitingCallStateType
- APIError
- AccountCallback
- AccountCallbacks
- AccountDocumentVerifiedCallback
- AccountInfoType
- AccountIsFrozenCallback
- AccountVerificationDocument
- AccountVerificationType
- AccountVerifications
- ActivateSuccessfulCallback
- AdminRoleType
- AdminUserType
- ApplicationInfoType
- AttachedPhoneInfoType
- AuthorizedAccountIPType
- BankCardType
- CalculatedCallHistoryDataType
- CalculatedTransactionHistoryDataType
- CallHistoryReportCallback
- CallInfoType
- CallListDetailType
- CallListType
- CallSessionInfoType
- CallerIDInfoType
- CardExpiredCallback
- CardExpiresInMonthCallback
- CardPaymentCallback
- CardPaymentFailedCallback
- CertCredentialType
- ChargeAccountResult
- ChargedPhoneType
- ClonedACDQueueType
- ClonedACDSkillType
- ClonedAccountType
- ClonedAdminRoleType
- ClonedAdminUserType
- ClonedApplicationType
- ClonedRuleType
- ClonedScenarioType
- ClonedUserType
- ContractInfoType
- ContractorInfoType
- ContractorInvoiceServiceType
- ContractorInvoiceType
- ExchangeRates
- GetMoneyAmountToChargeResult
- HistoryReportType
- JSFailCallback
- MinBalanceCallback
- NewAttachedPhoneInfoType
- NewPhoneInfoType
- PhoneNumberCountryCategoryInfoType
- PhoneNumberCountryInfoType
- PhoneNumberCountryRegionInfoType
- PhoneNumberCountryStateInfoType
- PriceGroup
- PstnBlackListInfoType
- PushCredentialInfo
- QueueInfoType
- RecordType
- RegulationAddress
- RegulationAddressVerifiedCallback
- RegulationCountry
- RegulationRegionRecord
- RenewedSubscriptionsCallback
- RenewedSubscriptionsCallbackItem
- ResetAccountPasswordRequestCallback
- ResourceParams
- ResourcePrice
- ResourceUsageType
- RuleInfoType
- SIPRegistrationFailCallback
- SIPRegistrationType
- ScenarioInfoType
- ShortAccountInfoType
- SipWhiteListInfoType
- SkillInfoType
- StagnantAccountCallback
- SubscriptionIsDetachedCallback
- SubscriptionIsDetachedCallbackItem
- SubscriptionIsFrozenCallback
- SubscriptionIsFrozenCallbackItem
- SubscriptionTemplateType
- SubscriptionsToChargeType
- TransactionHistoryReportCallback
- TransactionInfoType
- UnchargedTariffCallback
- UnverifiedSubscriptionDetachedCallback
- UnverifiedSubscriptionDetachedCallbackItem
- UserInfoType
- ZipCode
Documentation For Authorization
account_name
- Type: Account name
- Account name parameter name: account_name
- Location: URL query string
api_key
- Type: API key
- API key parameter name: api_key
- Location: URL query string
Author
Dmitry Ivaneychik ivaneychik@zingaya.com