docs/LocationsApi.md in purecloudplatformclientv2-49.0.0 vs docs/LocationsApi.md in purecloudplatformclientv2-49.0.1

- old
+ new

@@ -17,11 +17,11 @@ [**post_locations_search**](LocationsApi.html#post_locations_search) | Search locations {: class="table table-striped"} <a name="delete_location"></a> -## - delete_location(location_id) +## delete_location(location_id) Delete a location @@ -33,11 +33,11 @@ * directory:location:delete ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -58,11 +58,11 @@ #Delete a location api_instance.delete_location(location_id) rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->delete_location: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -81,11 +81,11 @@ <a name="get_location"></a> -## -[**LocationDefinition**](LocationDefinition.html) get_location(location_id) +## [**LocationDefinition**](LocationDefinition.html) get_location(location_id) Get Location by ID. @@ -97,11 +97,11 @@ * telephony:plugin:all ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -123,11 +123,11 @@ result = api_instance.get_location(location_id) p result rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->get_location: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -146,11 +146,11 @@ <a name="get_locations"></a> -## -[**LocationEntityListing**](LocationEntityListing.html) get_locations(opts) +## [**LocationEntityListing**](LocationEntityListing.html) get_locations(opts) Get a list of all locations. @@ -161,11 +161,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -191,11 +191,11 @@ result = api_instance.get_locations(opts) p result rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->get_locations: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -217,11 +217,11 @@ <a name="get_locations_search"></a> -## -[**LocationsSearchResponse**](LocationsSearchResponse.html) get_locations_search(q64, opts) +## [**LocationsSearchResponse**](LocationsSearchResponse.html) get_locations_search(q64, opts) Search locations using the q64 value returned from a previous search @@ -232,11 +232,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -261,11 +261,11 @@ result = api_instance.get_locations_search(q64, opts) p result rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->get_locations_search: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -285,11 +285,11 @@ <a name="patch_location"></a> -## -[**LocationDefinition**](LocationDefinition.html) patch_location(location_id, body) +## [**LocationDefinition**](LocationDefinition.html) patch_location(location_id, body) Update a location @@ -301,11 +301,11 @@ * directory:location:edit ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -329,11 +329,11 @@ result = api_instance.patch_location(location_id, body) p result rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->patch_location: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -353,11 +353,11 @@ <a name="post_locations"></a> -## -[**LocationDefinition**](LocationDefinition.html) post_locations(body) +## [**LocationDefinition**](LocationDefinition.html) post_locations(body) Create a location @@ -369,11 +369,11 @@ * directory:location:add ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -395,11 +395,11 @@ result = api_instance.post_locations(body) p result rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->post_locations: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -418,11 +418,11 @@ <a name="post_locations_search"></a> -## -[**LocationsSearchResponse**](LocationsSearchResponse.html) post_locations_search(body) +## [**LocationsSearchResponse**](LocationsSearchResponse.html) post_locations_search(body) Search locations @@ -433,11 +433,11 @@ Requires NO permissions: ### Example -~~~ruby +```{"language":"ruby"} # load the gem require 'purecloudplatformclientv2' # setup authorization @secret = ENV['PURECLOUD_SECRET'] @id = ENV['PURECLOUD_CLIENT_ID'] @@ -459,10 +459,10 @@ result = api_instance.post_locations_search(body) p result rescue PureCloud::ApiError => e puts "Exception when calling LocationsApi->post_locations_search: #{e}" end -~~~ +``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | -------------