Method: OpenapiClient::XHRVerticallyIntegratedApi#xhr_groups20230301_with_http_info
- Defined in:
- lib/openapi_client/api/xhr_vertically_integrated_api.rb
#xhr_groups20230301_with_http_info(opts = {}) ⇒ Array<(Array<GroupResponse>, Integer, Hash)>
Groups The Group object is used to represent any subset of employees, such as PayGroup, Team, or Department. Employees can be in multiple Groups.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/openapi_client/api/xhr_vertically_integrated_api.rb', line 152 def xhr_groups20230301_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: XHRVerticallyIntegratedApi.xhr_groups20230301 ...' end # resource path local_var_path = '/2023-03-01/xhr/groups' # query parameters query_params = opts[:query_params] || {} # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'Array<GroupResponse>' # auth_names auth_names = opts[:debug_auth_names] || ['access-token'] = opts.merge( :operation => :"XHRVerticallyIntegratedApi.xhr_groups20230301", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: XHRVerticallyIntegratedApi#xhr_groups20230301\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |