doc_out/VoicemailApi.html.md in purecloud-0.64.1 vs doc_out/VoicemailApi.html.md in purecloud-0.65.1
- old
+ new
@@ -545,11 +545,12 @@
end
api_instance = PureCloud::VoicemailApi.new
opts = {
- ids: "ids_example" # String | An optional comma separated list of VoicemailMessage ids
+ ids: "ids_example", # String | An optional comma separated list of VoicemailMessage ids
+ expand: ["expand_example"] # Array<String> | If the caller is a known user, which fields, if any, to expand
}
begin
#List voicemail messages
result = api_instance.get_messages(opts)
@@ -562,10 +563,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ids** | **String**| An optional comma separated list of VoicemailMessage ids | [optional]
+ **expand** | [**Array<String>**](String.html)| If the caller is a known user, which fields, if any, to expand | [optional]
{: class="table table-striped"}
### Return type
@@ -578,11 +580,11 @@
<a name="get_messages_message_id"></a>
-## -[**VoicemailMessage**](VoicemailMessage.html) get_messages_message_id(message_id)
+## -[**VoicemailMessage**](VoicemailMessage.html) get_messages_message_id(message_id, opts)
Get message.
@@ -603,14 +605,17 @@
api_instance = PureCloud::VoicemailApi.new
message_id = "message_id_example" # String | Message ID
+opts = {
+ expand: ["expand_example"] # Array<String> | If the caller is a known user, which fields, if any, to expand
+}
begin
#Get message.
- result = api_instance.get_messages_message_id(message_id)
+ result = api_instance.get_messages_message_id(message_id, opts)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling VoicemailApi->get_messages_message_id: #{e}"
end
~~~
@@ -618,9 +623,10 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**message_id** | **String**| Message ID |
+ **expand** | [**Array<String>**](String.html)| If the caller is a known user, which fields, if any, to expand | [optional]
{: class="table table-striped"}
### Return type