Provisioning API version 3
AVAILABLE IN 9.6.7 AND LATER
Overview
This web services API allows service providers to automatically create users and tenants. The interface is implemented using Web Services.
Requirement
Make sure that the version 3 API is enabled.
API Calls
The Provisioning API provides the following Web Services calls:
Authentication
-
ReleaseToken (v3) — Releases a token
-
RequestToken (v3) — Requests an authentication token
Users
-
CreateUser (v3) — Creates a user.
-
DeleteUser (v3) — Deletes a User.
-
GetUserByLoginNameAndEnvironment (v3) — Returns a user.
-
ListUsers (v3) — Lists users.
-
UpdateUser (v3) — Updates a user.
Groups
-
CreateGroup (v3) — Creates a new Group.
-
DeleteGroup (v3) — Deletes a Group.
-
GetGroupByNameAndEnvironment (v3) — Reads a Group.
-
ListGroups (v3) — Lists groups.
-
UpdateGroup (v3) — Updates a group.
Extensions
-
ApplyExtensionConfiguration (v3) — Applies the extension configuration.
-
CreateExtension (v3) — Creates an extension.
-
DeleteExtension (v3) — Delete an extension.
-
GetExtension (v3) — Reads an extension.
-
ListExtensions (v3) — Returns an extension list.
-
UpdateExtension (v3) — Updates an extension.
Environments
-
CreateEnvironment (v3) — Create a new Environment.
-
GetEnvironmentByEid (v3) — Reads a tenant based on its ID.
-
GetEnvironmentByShortName (v3) — Reads a tenant based on its short name.
-
ListEnvironments (v3) — Returns an environment list.
-
UpdateEnvironment (v3) — Updates an environment.
Miscellaneous
-
GetStatistics (v3) — Reads user and tenant statistics.
-
GetVersion (v3) — Returns the API version.
-
ListAnnouncements (v3) — Returns a list of announcement audio files for an announcement type.
-
ListExtensionRules (v3) — Returns a list of recording rules.
-
ListForwardTypes (v3) — Returns a list of forwarding types.
-
ListImportSources (v3) — Returns a list of import sources.
-
ListSites (v3) — Returns a list of sites.
-
ListSourcePlatforms (v3) — Returns a list of recorded platforms.
-
ListWorkflows (v3) — Returns a list of announcement audio files for an announcement type.
Storage
-
CreateStorageFolder (v3) — Creates a new Storage Folder.
-
CreateStoragePolicy (v3) — Creates a new Storage Policy.
-
GetStorageFolderById (v3) — Returns a Storage Folder information by id.
-
GetStorageFolderByName (v3) — Returns a Storage Folder information by name.
-
GetStoragePolicyById (v3) — Returns a Storage Policy information by id.
-
GetStoragePolicyByName (v3) — Returns a Storage Policy information by name.
-
ListStorageFolders (v3) — Lists Storage Folders.
-
ListStorageFoldersByEid (v3) — Lists Storage Folders by eid.
-
ListStoragePolicies (v3) — Lists Storage Policies.
-
ListStoragePoliciesByEid (v3) — Lists Storage Policies by eid.
-
UpdateStorageFolder (v3) — Updates a Storage Folder.
-
UpdateStoragePolicy (v3) — Updates a Storage Policy.
Data types
The Provisioning Web Service uses three fundamental data types, that represent user provisioning related entities:
Main entities
-
ApplyExtensionConfigurationResponseServer (v3) — Represents the extension configuration.
-
CallStatistic (v3) — Represents a call statistic.
-
Environment (v3) — Represents a tenant.
-
Extension (v3) — Represents a phone extension.
-
Group (v3) — Represents a group.
-
GroupMembership (v3) — Represents a user.
-
Location (v3) — Represents the location.
-
Status (v3) — Return status of API calls.
-
StorageFolder (v3) — Represents a storage folder.
-
StoragePolicy (v3) — Represents a storage policy.
-
User (v3) — Represents a user.
Reponse types
-
ApplyExtensionConfigurationResponse (v3) — Returned extension configuration information.
-
CreateOrUpdateGroupResponse (v3) — Returned group create/update information.
-
CreateOrUpdateStorageFolderResponse (v3) — Returned storage folder create/update information.
-
CreateOrUpdateStoragePolicyResponse (v3) — Returned storage policy create/update information.
-
CreateOrUpdateUserResponse (v3) — Returned user create/update information.
-
GetAnnouncementsResponse (v3) — Returned list of announcement files for one announcement type.
-
GetEnvironmentResponse (v3) — Returned tenant information.
-
GetEnvironmentsResponse (v3) — Returned tenant information for all tenants.
-
GetExtensionResponse (v3) — Returned extension information.
-
GetExtensionRulesResponse (v3) — Returned a list of recording rules.
-
GetExtensionsResponse (v3) — Returned extension information for all extensions.
-
GetForwardTypeResponse (v3) — Returned list of forwarding types
-
GetGroupMembershipResponse (v3) — Returned group membership information.
-
GetGroupMembershipsResponse (v3) — Returned group membership information for all group memberships.
-
GetGroupResponse (v3) — Returned group information.
-
GetGroupsResponse (v3) — Returned group information.
-
GetImportSourcesResponse (v3) — Returned list of import sources
-
GetSitesResponse (v3) — Returned list of sites.
-
GetSourcePlatformResponse (v3) — Returned list of recorded platforms
-
GetStorageFolderResponse (v3) — Returned storage folder information.
-
GetStorageFoldersResponse (v3) — Returned storage folder information for all storage folders.
-
GetStoragePoliciesResponse (v3) — Returned storage policies information for all storage policies.
-
GetStoragePolicyResponse (v3) — Returned storage policy information.
-
GetUserResponse (v3) — Returned user information.
-
GetUsersResponse (v3) — Returned user information for all users.
-
GetVersionResponse (v3) — Returned Provision API version information.
-
GetWorkflowsResponse (v3) — Returned a list of approval workflows.
-
StatisticsResponse (v3) — Response of call statistic requests.
-
TokenResponse (v3) — Response of token requests.
Miscellaneous
-
AnnouncementTypeEnum (v3) — Possible announcement types.
-
CallSourceType (v3) — Possible call source types.
-
CallStatisticsFilter (v3) — Used to filter call statistic.
-
CallStatisticsType (v3) — Possible call statistic types.
-
Direction (v3) — Represents a recorded direction entity.
-
EnvironmentFilter (v3) — Used to filter tenants.
-
ExtensionFilter (v3) — Used to filter extensions.
-
ExtensionRule (v3) — Represents a recording rule entity.
-
ForwardType (v3) — Represents call forwarding types.
-
GroupFilter (v3) — Used to filter groups.
-
GroupMembershipFilter (v3) — Used to filter group memberships.
-
ImportSource (v3) — Represents an import source entity.
-
Modality (v3) — Represents a modality entity.
-
PasswordFormat (v3) — Possible password format type values.
-
RecordingModeType (v3) — Possible recording mode types.
-
Site (v3) — Represents a site entity.
-
SourcePlatform (v3) — Represents a source platform entity for the Recorded platforms.
-
StatusCode (v3) — Return code for API calls.
-
StorageFolderFilter (v3) — Used to filter storage folders.
-
StoragePolicyAction (v3) — Possible storage policy action types.
-
StoragePolicyFilter (v3) — Used to filter storage policies.
-
UserFilter (v3) — Used to filter users.
-
Workflow (v3) — Represents an approval workflow entity.
Tips for developers
To make things faster during development we recommend using SoapUI which offers functional testing for SOAP and REST APIs.
Once you downloaded and installed it, simply create a new SOAP Project from the File menu and enter the http://MediaRepositoryIpAddress:7003/provisioning?wsdl for HTTP connection or https://MediaRepositoryIpAddress:443/verba/ws-provisioning-3?wsdl for HTTPS connection.
In the case of SOAP XML-based communication don't forget to remove the unused optional tags from the request XML.