Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 2.29 KB

CustomerGlobalApi.md

File metadata and controls

62 lines (42 loc) · 2.29 KB

SwaggerClient::CustomerGlobalApi

All URIs are relative to https://api.beezup.com/v2

Method HTTP request Description
get_customer_index GET /user/customer/ The index of all operations and LOV

get_customer_index

CustomerIndex get_customer_index(opts)

The index of all operations and LOV

Example

# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
  # Configure API key authorization: api_key
  config.api_key['Ocp-Apim-Subscription-Key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['Ocp-Apim-Subscription-Key'] = 'Bearer'
end

api_instance = SwaggerClient::CustomerGlobalApi.new

opts = { 
  if_none_match: "if_none_match_example" # String | ETag value to identify the last known version of requested resource.\\ To avoid useless exchange, we recommend you to indicate the ETag you previously got from this operation.\\ If the ETag value does not match the response will be 200 to give you a new content, otherwise the response will be: 304 Not Modified, without any content.\\ For more details go to this link: http://tools.ietf.org/html/rfc7232#section-2.3 
}

begin
  #The index of all operations and LOV
  result = api_instance.get_customer_index(opts)
  p result
rescue SwaggerClient::ApiError => e
  puts "Exception when calling CustomerGlobalApi->get_customer_index: #{e}"
end

Parameters

Name Type Description Notes
if_none_match String ETag value to identify the last known version of requested resource.\ To avoid useless exchange, we recommend you to indicate the ETag you previously got from this operation.\ If the ETag value does not match the response will be 200 to give you a new content, otherwise the response will be: 304 Not Modified, without any content.\ For more details go to this link: http://tools.ietf.org/html/rfc7232#section-2.3 [optional]

Return type

CustomerIndex

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json