doc_out/ResponseManagementApi.html.md in purecloud-0.44.1 vs doc_out/ResponseManagementApi.html.md in purecloud-0.45.1
- old
+ new
@@ -364,11 +364,11 @@
<a name="post_libraries"></a>
-## -[**Library**](Library.html) post_libraries(opts)
+## -[**Library**](Library.html) post_libraries(body)
Create a response library.
@@ -387,28 +387,27 @@
config.access_token = @authToken
end
api_instance = PureCloud::ResponseManagementApi.new
-opts = {
- body: PureCloud::Library.new # Library | Library
-}
+body = PureCloud::Library.new # Library | Library
+
begin
#Create a response library.
- result = api_instance.post_libraries(opts)
+ result = api_instance.post_libraries(body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling ResponseManagementApi->post_libraries: #{e}"
end
~~~
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**Library**](Library.html)| Library | [optional]
+ **body** | [**Library**](Library.html)| Library |
{: class="table table-striped"}
### Return type
@@ -421,11 +420,11 @@
<a name="post_responses"></a>
-## -[**Response**](Response.html) post_responses(opts)
+## -[**Response**](Response.html) post_responses(body)
Create a response.
@@ -444,28 +443,27 @@
config.access_token = @authToken
end
api_instance = PureCloud::ResponseManagementApi.new
-opts = {
- body: PureCloud::Response.new # Response | Response
-}
+body = PureCloud::Response.new # Response | Response
+
begin
#Create a response.
- result = api_instance.post_responses(opts)
+ result = api_instance.post_responses(body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling ResponseManagementApi->post_responses: #{e}"
end
~~~
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**Response**](Response.html)| Response | [optional]
+ **body** | [**Response**](Response.html)| Response |
{: class="table table-striped"}
### Return type
@@ -478,11 +476,11 @@
<a name="post_responses_query"></a>
-## -[**ResponseQueryResults**](ResponseQueryResults.html) post_responses_query(opts)
+## -[**ResponseQueryResults**](ResponseQueryResults.html) post_responses_query(body)
Query responses
@@ -501,28 +499,27 @@
config.access_token = @authToken
end
api_instance = PureCloud::ResponseManagementApi.new
-opts = {
- body: PureCloud::ResponseQueryRequest.new # ResponseQueryRequest | Response
-}
+body = PureCloud::ResponseQueryRequest.new # ResponseQueryRequest | Response
+
begin
#Query responses
- result = api_instance.post_responses_query(opts)
+ result = api_instance.post_responses_query(body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling ResponseManagementApi->post_responses_query: #{e}"
end
~~~
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**ResponseQueryRequest**](ResponseQueryRequest.html)| Response | [optional]
+ **body** | [**ResponseQueryRequest**](ResponseQueryRequest.html)| Response |
{: class="table table-striped"}
### Return type
@@ -535,11 +532,11 @@
<a name="put_libraries_library_id"></a>
-## -[**Library**](Library.html) put_libraries_library_id(library_id, opts)
+## -[**Library**](Library.html) put_libraries_library_id(library_id, body)
Update an existing response library.
Fields that can be updated: name. The most recent version is required for updates.
@@ -560,17 +557,16 @@
api_instance = PureCloud::ResponseManagementApi.new
library_id = "library_id_example" # String | Library ID
-opts = {
- body: PureCloud::Library.new # Library | Library
-}
+body = PureCloud::Library.new # Library | Library
+
begin
#Update an existing response library.
- result = api_instance.put_libraries_library_id(library_id, opts)
+ result = api_instance.put_libraries_library_id(library_id, body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling ResponseManagementApi->put_libraries_library_id: #{e}"
end
~~~
@@ -578,11 +574,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**library_id** | **String**| Library ID |
- **body** | [**Library**](Library.html)| Library | [optional]
+ **body** | [**Library**](Library.html)| Library |
{: class="table table-striped"}
### Return type
@@ -595,11 +591,11 @@
<a name="put_responses_response_id"></a>
-## -[**Response**](Response.html) put_responses_response_id(response_id, opts)
+## -[**Response**](Response.html) put_responses_response_id(response_id, body)
Update an existing response.
Fields that can be updated: name, libraries, and texts. The most recent version is required for updates.
@@ -620,17 +616,16 @@
api_instance = PureCloud::ResponseManagementApi.new
response_id = "response_id_example" # String | Response ID
-opts = {
- body: PureCloud::Response.new # Response | Response
-}
+body = PureCloud::Response.new # Response | Response
+
begin
#Update an existing response.
- result = api_instance.put_responses_response_id(response_id, opts)
+ result = api_instance.put_responses_response_id(response_id, body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling ResponseManagementApi->put_responses_response_id: #{e}"
end
~~~
@@ -638,10 +633,10 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**response_id** | **String**| Response ID |
- **body** | [**Response**](Response.html)| Response | [optional]
+ **body** | [**Response**](Response.html)| Response |
{: class="table table-striped"}
### Return type