docs/SearchApi.md in purecloudplatformclientv2-47.0.0 vs docs/SearchApi.md in purecloudplatformclientv2-48.0.0
- old
+ new
@@ -44,21 +44,11 @@
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
-# setup authorization
-@secret = ENV['PURECLOUD_SECRET']
-@id = ENV['PURECLOUD_CLIENT_ID']
-environment = "mypurecloud.com"
-@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
-
-PureCloud.configure do |config|
- config.access_token = @authToken
-end
-
api_instance = PureCloud::SearchApi.new
q64 = "q64_example" # String | q64
@@ -108,21 +98,11 @@
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
-# setup authorization
-@secret = ENV['PURECLOUD_SECRET']
-@id = ENV['PURECLOUD_CLIENT_ID']
-environment = "mypurecloud.com"
-@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
-
-PureCloud.configure do |config|
- config.access_token = @authToken
-end
-
api_instance = PureCloud::SearchApi.new
q64 = "q64_example" # String | q64
@@ -342,11 +322,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**q64** | **String**| q64 | |
- **expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, profileSkills, locations, groups, skills, languages, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation |
+ **expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, profileSkills, locations, groups, skills, languages, languagePreference, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation |
**profile** | **BOOLEAN**| profile | [optional] [default to true] |
{: class="table table-striped"}
### Return type
@@ -412,11 +392,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**q64** | **String**| q64 | |
- **expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, profileSkills, locations, groups, skills, languages, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation |
+ **expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, profileSkills, locations, groups, skills, languages, languagePreference, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation |
**profile** | **BOOLEAN**| profile | [optional] [default to true] |
{: class="table table-striped"}
### Return type
@@ -584,21 +564,11 @@
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
-# setup authorization
-@secret = ENV['PURECLOUD_SECRET']
-@id = ENV['PURECLOUD_CLIENT_ID']
-environment = "mypurecloud.com"
-@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
-
-PureCloud.configure do |config|
- config.access_token = @authToken
-end
-
api_instance = PureCloud::SearchApi.new
body = PureCloud::GKNDocumentationSearchRequest.new # GKNDocumentationSearchRequest | Search request options
@@ -648,19 +618,9 @@
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
-# setup authorization
-@secret = ENV['PURECLOUD_SECRET']
-@id = ENV['PURECLOUD_CLIENT_ID']
-environment = "mypurecloud.com"
-
-@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
-
-PureCloud.configure do |config|
- config.access_token = @authToken
-end
api_instance = PureCloud::SearchApi.new
body = PureCloud::DocumentationSearchRequest.new # DocumentationSearchRequest | Search request options