docs/LocationsApi.md in purecloudplatformclientv2-34.0.0 vs docs/LocationsApi.md in purecloudplatformclientv2-35.0.0
- old
+ new
@@ -16,17 +16,23 @@
<a name="get_location"></a>
## -[**LocationDefinition**](LocationDefinition.html) get_location(location_id)
+
+
Get Location by ID.
Wraps GET /api/v2/locations/{locationId}
+Requires ANY permissions:
+* telephony:plugin:all
+
+
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@@ -75,17 +81,23 @@
<a name="get_locations"></a>
## -[**LocationEntityListing**](LocationEntityListing.html) get_locations(opts)
+
+
Get a list of all locations.
Wraps GET /api/v2/locations
+Requires NO permissions:
+
+
+
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@@ -139,17 +151,23 @@
<a name="get_locations_search"></a>
## -[**LocationsSearchResponse**](LocationsSearchResponse.html) get_locations_search(q64, opts)
+
+
Search locations using the q64 value returned from a previous search
Wraps GET /api/v2/locations/search
+Requires NO permissions:
+
+
+
### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@@ -202,14 +220,20 @@
<a name="post_locations_search"></a>
## -[**LocationsSearchResponse**](LocationsSearchResponse.html) post_locations_search(body)
+
+
Search locations
Wraps POST /api/v2/locations/search
+
+Requires NO permissions:
+
+
### Example
~~~ruby
# load the gem