docs/LocationsApi.md in purecloudplatformclientv2-58.0.1 vs docs/LocationsApi.md in purecloudplatformclientv2-59.0.0
- old
+ new
@@ -81,11 +81,11 @@
<a name="get_location"></a>
-## [**LocationDefinition**](LocationDefinition.html) get_location(location_id)
+## [**LocationDefinition**](LocationDefinition.html) get_location(location_id, opts)
Get Location by ID.
@@ -114,14 +114,17 @@
api_instance = PureCloud::LocationsApi.new
location_id = "location_id_example" # String | Location ID
+opts = {
+ expand: ["expand_example"] # Array<String> | Which fields, if any, to expand
+}
begin
#Get Location by ID.
- result = api_instance.get_location(location_id)
+ result = api_instance.get_location(location_id, opts)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling LocationsApi->get_location: #{e}"
end
```
@@ -129,9 +132,10 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**location_id** | **String**| Location ID | |
+ **expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: images |
{: class="table table-striped"}
### Return type