doc_out/PresenceApi.html.md in purecloud-0.50.1 vs doc_out/PresenceApi.html.md in purecloud-0.51.1
- old
+ new
@@ -74,11 +74,11 @@
<a name="get_presence_id"></a>
-## -[**OrganizationPresence**](OrganizationPresence.html) get_presence_id(presence_id)
+## -[**OrganizationPresence**](OrganizationPresence.html) get_presence_id(presence_id, opts)
Get a Presence Definition
@@ -99,14 +99,17 @@
api_instance = PureCloud::PresenceApi.new
presence_id = "presence_id_example" # String | Organization Presence ID
+opts = {
+ locale_code: "locale_code_example" # String | The locale code to fetch for the presence definition. Use ALL to fetch everything.
+}
begin
#Get a Presence Definition
- result = api_instance.get_presence_id(presence_id)
+ result = api_instance.get_presence_id(presence_id, opts)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling PresenceApi->get_presence_id: #{e}"
end
~~~
@@ -114,10 +117,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**presence_id** | **String**| Organization Presence ID |
+ **locale_code** | **String**| The locale code to fetch for the presence definition. Use ALL to fetch everything. | [optional]
{: class="table table-striped"}
### Return type
@@ -156,11 +160,12 @@
api_instance = PureCloud::PresenceApi.new
opts = {
page_number: 1, # Integer | Page number
page_size: 25, # Integer | Page size
- deleted: "false" # String | Deleted query can be true, false or all
+ deleted: "false", # String | Deleted query can be TRUE, FALSE or ALL
+ locale_code: "locale_code_example" # String | The locale code to fetch for each presence definition. Use ALL to fetch everything.
}
begin
#Get an Organization's list of Presence Definitions
result = api_instance.get_presencedefinitions(opts)
@@ -174,10 +179,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_number** | **Integer**| Page number | [optional] [default to 1]
**page_size** | **Integer**| Page size | [optional] [default to 25]
- **deleted** | **String**| Deleted query can be true, false or all | [optional] [default to false]
+ **deleted** | **String**| Deleted query can be TRUE, FALSE or ALL | [optional] [default to false]
+ **locale_code** | **String**| The locale code to fetch for each presence definition. Use ALL to fetch everything. | [optional]
{: class="table table-striped"}
### Return type