lib/purecloud/api/response_management_api.rb in purecloud-0.27.0 vs lib/purecloud/api/response_management_api.rb in purecloud-0.28.0
- old
+ new
@@ -29,11 +29,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ResponseManagementApi#get_libraries ..."
end
# resource path
- path = "/api/v1/responsemanagement/libraries".sub('{format}','json')
+ path = "/api/v2/responsemanagement/libraries".sub('{format}','json')
# query parameters
query_params = {}
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
@@ -89,11 +89,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ResponseManagementApi#post_libraries ..."
end
# resource path
- path = "/api/v1/responsemanagement/libraries".sub('{format}','json')
+ path = "/api/v2/responsemanagement/libraries".sub('{format}','json')
# query parameters
query_params = {}
# header parameters
@@ -150,11 +150,11 @@
# verify the required parameter 'library_id' is set
fail "Missing the required parameter 'library_id' when calling get_libraries_library_id" if library_id.nil?
# resource path
- path = "/api/v1/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
+ path = "/api/v2/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -213,11 +213,11 @@
# verify the required parameter 'library_id' is set
fail "Missing the required parameter 'library_id' when calling put_libraries_library_id" if library_id.nil?
# resource path
- path = "/api/v1/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
+ path = "/api/v2/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -274,11 +274,11 @@
# verify the required parameter 'library_id' is set
fail "Missing the required parameter 'library_id' when calling delete_libraries_library_id" if library_id.nil?
# resource path
- path = "/api/v1/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
+ path = "/api/v2/responsemanagement/libraries/{libraryId}".sub('{format}','json').sub('{' + 'libraryId' + '}', library_id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -338,11 +338,11 @@
# verify the required parameter 'library_id' is set
fail "Missing the required parameter 'library_id' when calling get_responses" if library_id.nil?
# resource path
- path = "/api/v1/responsemanagement/responses".sub('{format}','json')
+ path = "/api/v2/responsemanagement/responses".sub('{format}','json')
# query parameters
query_params = {}
query_params[:'libraryId'] = library_id
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
@@ -399,11 +399,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ResponseManagementApi#post_responses ..."
end
# resource path
- path = "/api/v1/responsemanagement/responses".sub('{format}','json')
+ path = "/api/v2/responsemanagement/responses".sub('{format}','json')
# query parameters
query_params = {}
# header parameters
@@ -457,11 +457,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: ResponseManagementApi#post_responses_query ..."
end
# resource path
- path = "/api/v1/responsemanagement/responses/query".sub('{format}','json')
+ path = "/api/v2/responsemanagement/responses/query".sub('{format}','json')
# query parameters
query_params = {}
# header parameters
@@ -518,11 +518,11 @@
# verify the required parameter 'response_id' is set
fail "Missing the required parameter 'response_id' when calling get_responses_response_id" if response_id.nil?
# resource path
- path = "/api/v1/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
+ path = "/api/v2/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -581,11 +581,11 @@
# verify the required parameter 'response_id' is set
fail "Missing the required parameter 'response_id' when calling put_responses_response_id" if response_id.nil?
# resource path
- path = "/api/v1/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
+ path = "/api/v2/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -642,10 +642,10 @@
# verify the required parameter 'response_id' is set
fail "Missing the required parameter 'response_id' when calling delete_responses_response_id" if response_id.nil?
# resource path
- path = "/api/v1/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
+ path = "/api/v2/responsemanagement/responses/{responseId}".sub('{format}','json').sub('{' + 'responseId' + '}', response_id.to_s)
# query parameters
query_params = {}
# header parameters