lib/purecloud/api/stations_api.rb in purecloud-0.27.0 vs lib/purecloud/api/stations_api.rb in purecloud-0.28.0
- old
+ new
@@ -33,11 +33,11 @@
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: StationsApi#get_stations ..."
end
# resource path
- path = "/api/v1/stations".sub('{format}','json')
+ path = "/api/v2/stations".sub('{format}','json')
# query parameters
query_params = {}
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
@@ -98,11 +98,11 @@
# verify the required parameter 'id' is set
fail "Missing the required parameter 'id' when calling get_id" if id.nil?
# resource path
- path = "/api/v1/stations/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
+ path = "/api/v2/stations/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
# query parameters
query_params = {}
# header parameters
@@ -159,10 +159,10 @@
# verify the required parameter 'id' is set
fail "Missing the required parameter 'id' when calling delete_id_associateduser" if id.nil?
# resource path
- path = "/api/v1/stations/{id}/associateduser".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
+ path = "/api/v2/stations/{id}/associateduser".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
# query parameters
query_params = {}
# header parameters