Class: Gbizinfo::GBizINFORESTAPIApi
- Inherits:
-
Object
- Object
- Gbizinfo::GBizINFORESTAPIApi
- Defined in:
- lib/gbizinfo/api/g_biz_inforestapi_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#get_certification_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから届出・認定情報を取得します.
-
#get_certification_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから届出・認定情報を取得します.
-
#get_commendation_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから表彰情報を取得します.
-
#get_commendation_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから表彰情報を取得します.
-
#get_finance_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから財務情報を取得します.
-
#get_finance_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから財務情報を取得します.
-
#get_patent_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから特許情報を取得します.
-
#get_patent_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから特許情報を取得します.
-
#get_procurement_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから調達情報を取得します.
-
#get_procurement_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから調達情報を取得します.
-
#get_subsidy_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから補助金情報を取得します.
-
#get_subsidy_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから補助金情報を取得します.
-
#get_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから法人基本情報を取得します.
-
#get_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから法人基本情報を取得します.
-
#get_workplace_information_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから職場情報を取得します.
-
#get_workplace_information_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから職場情報を取得します.
-
#initialize(api_client = ApiClient.default) ⇒ GBizINFORESTAPIApi
constructor
A new instance of GBizINFORESTAPIApi.
-
#search_info_using_get(x_hojin_info_api_token, opts = {}) ⇒ HojinInfoResponse
gBizINFOに登録された法人を検索します.
-
#search_info_using_get_with_http_info(x_hojin_info_api_token, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOに登録された法人を検索します.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ GBizINFORESTAPIApi
Returns a new instance of GBizINFORESTAPIApi.
19 20 21 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#get_certification_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから届出・認定情報を取得します. 指定された法人番号の情報を取得します。
28 29 30 31 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 28 def get_certification_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_certification_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_certification_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから届出・認定情報を取得します. 指定された法人番号の情報を取得します。
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 39 def get_certification_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_certification_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_certification_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_certification_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/certification'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_certification_using_get", :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: GBizINFORESTAPIApi#get_certification_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_commendation_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから表彰情報を取得します. 指定された法人番号の情報を取得します。
98 99 100 101 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 98 def get_commendation_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_commendation_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_commendation_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから表彰情報を取得します. 指定された法人番号の情報を取得します。
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 109 def get_commendation_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_commendation_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_commendation_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_commendation_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/commendation'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_commendation_using_get", :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: GBizINFORESTAPIApi#get_commendation_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_finance_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから財務情報を取得します. 指定された法人番号の情報を取得します。
168 169 170 171 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 168 def get_finance_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_finance_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_finance_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから財務情報を取得します. 指定された法人番号の情報を取得します。
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 179 def get_finance_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_finance_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_finance_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_finance_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/finance'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_finance_using_get", :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: GBizINFORESTAPIApi#get_finance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_patent_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから特許情報を取得します. 指定された法人番号の情報を取得します。
238 239 240 241 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 238 def get_patent_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_patent_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_patent_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから特許情報を取得します. 指定された法人番号の情報を取得します。
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 249 def get_patent_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_patent_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_patent_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_patent_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/patent'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_patent_using_get", :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: GBizINFORESTAPIApi#get_patent_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_procurement_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから調達情報を取得します. 指定された法人番号の情報を取得します。
308 309 310 311 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 308 def get_procurement_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_procurement_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_procurement_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから調達情報を取得します. 指定された法人番号の情報を取得します。
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 319 def get_procurement_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_procurement_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_procurement_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_procurement_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/procurement'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_procurement_using_get", :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: GBizINFORESTAPIApi#get_procurement_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_subsidy_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから補助金情報を取得します. 指定された法人番号の情報を取得します。
378 379 380 381 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 378 def get_subsidy_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_subsidy_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_subsidy_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから補助金情報を取得します. 指定された法人番号の情報を取得します。
389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 389 def get_subsidy_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_subsidy_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_subsidy_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_subsidy_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/subsidy'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_subsidy_using_get", :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: GBizINFORESTAPIApi#get_subsidy_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから法人基本情報を取得します. 指定された法人番号の情報を取得します。
448 449 450 451 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 448 def get_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから法人基本情報を取得します. 指定された法人番号の情報を取得します。
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 459 def get_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_using_get", :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: GBizINFORESTAPIApi#get_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_workplace_information_using_get(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ HojinInfoResponse
gBizINFOから職場情報を取得します. 指定された法人番号の情報を取得します。
518 519 520 521 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 518 def get_workplace_information_using_get(x_hojin_info_api_token, corporate_number, opts = {}) data, _status_code, _headers = get_workplace_information_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts) data end |
#get_workplace_information_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOから職場情報を取得します. 指定された法人番号の情報を取得します。
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 529 def get_workplace_information_using_get_with_http_info(x_hojin_info_api_token, corporate_number, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.get_workplace_information_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.get_workplace_information_using_get" end # verify the required parameter 'corporate_number' is set if @api_client.config.client_side_validation && corporate_number.nil? fail ArgumentError, "Missing the required parameter 'corporate_number' when calling GBizINFORESTAPIApi.get_workplace_information_using_get" end # resource path local_var_path = '/v1/hojin/{corporate_number}/workplace'.sub('{' + 'corporate_number' + '}', CGI.escape(corporate_number.to_s)) # 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']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.get_workplace_information_using_get", :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: GBizINFORESTAPIApi#get_workplace_information_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#search_info_using_get(x_hojin_info_api_token, opts = {}) ⇒ HojinInfoResponse
gBizINFOに登録された法人を検索します. gBizINFOに登録された法人を検索します。
621 622 623 624 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 621 def search_info_using_get(x_hojin_info_api_token, opts = {}) data, _status_code, _headers = search_info_using_get_with_http_info(x_hojin_info_api_token, opts) data end |
#search_info_using_get_with_http_info(x_hojin_info_api_token, opts = {}) ⇒ Array<(HojinInfoResponse, Integer, Hash)>
gBizINFOに登録された法人を検索します. gBizINFOに登録された法人を検索します。
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 |
# File 'lib/gbizinfo/api/g_biz_inforestapi_api.rb', line 665 def search_info_using_get_with_http_info(x_hojin_info_api_token, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: GBizINFORESTAPIApi.search_info_using_get ...' end # verify the required parameter 'x_hojin_info_api_token' is set if @api_client.config.client_side_validation && x_hojin_info_api_token.nil? fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIApi.search_info_using_get" end # resource path local_var_path = '/v1/hojin' # query parameters query_params = opts[:query_params] || {} query_params[:'corporate_number'] = opts[:'corporate_number'] if !opts[:'corporate_number'].nil? query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil? query_params[:'exist_flg'] = opts[:'exist_flg'] if !opts[:'exist_flg'].nil? query_params[:'corporate_type'] = opts[:'corporate_type'] if !opts[:'corporate_type'].nil? query_params[:'prefecture'] = opts[:'prefecture'] if !opts[:'prefecture'].nil? query_params[:'city'] = opts[:'city'] if !opts[:'city'].nil? query_params[:'capital_stock_from'] = opts[:'capital_stock_from'] if !opts[:'capital_stock_from'].nil? query_params[:'capital_stock_to'] = opts[:'capital_stock_to'] if !opts[:'capital_stock_to'].nil? query_params[:'employee_number_from'] = opts[:'employee_number_from'] if !opts[:'employee_number_from'].nil? query_params[:'employee_number_to'] = opts[:'employee_number_to'] if !opts[:'employee_number_to'].nil? query_params[:'founded_year'] = opts[:'founded_year'] if !opts[:'founded_year'].nil? query_params[:'sales_area'] = opts[:'sales_area'] if !opts[:'sales_area'].nil? query_params[:'business_item'] = opts[:'business_item'] if !opts[:'business_item'].nil? query_params[:'unified_qualification'] = opts[:'unified_qualification'] if !opts[:'unified_qualification'].nil? query_params[:'unified_qualification_sub01'] = opts[:'unified_qualification_sub01'] if !opts[:'unified_qualification_sub01'].nil? query_params[:'unified_qualification_sub02'] = opts[:'unified_qualification_sub02'] if !opts[:'unified_qualification_sub02'].nil? query_params[:'unified_qualification_sub03'] = opts[:'unified_qualification_sub03'] if !opts[:'unified_qualification_sub03'].nil? query_params[:'unified_qualification_sub04'] = opts[:'unified_qualification_sub04'] if !opts[:'unified_qualification_sub04'].nil? query_params[:'net_sales_summary_of_business_results_from'] = opts[:'net_sales_summary_of_business_results_from'] if !opts[:'net_sales_summary_of_business_results_from'].nil? query_params[:'net_sales_summary_of_business_results_to'] = opts[:'net_sales_summary_of_business_results_to'] if !opts[:'net_sales_summary_of_business_results_to'].nil? query_params[:'net_income_loss_summary_of_business_results_from'] = opts[:'net_income_loss_summary_of_business_results_from'] if !opts[:'net_income_loss_summary_of_business_results_from'].nil? query_params[:'net_income_loss_summary_of_business_results_to'] = opts[:'net_income_loss_summary_of_business_results_to'] if !opts[:'net_income_loss_summary_of_business_results_to'].nil? query_params[:'total_assets_summary_of_business_results_from'] = opts[:'total_assets_summary_of_business_results_from'] if !opts[:'total_assets_summary_of_business_results_from'].nil? query_params[:'total_assets_summary_of_business_results_to'] = opts[:'total_assets_summary_of_business_results_to'] if !opts[:'total_assets_summary_of_business_results_to'].nil? query_params[:'name_major_shareholders'] = opts[:'name_major_shareholders'] if !opts[:'name_major_shareholders'].nil? query_params[:'average_continuous_service_years'] = opts[:'average_continuous_service_years'] if !opts[:'average_continuous_service_years'].nil? query_params[:'average_age'] = opts[:'average_age'] if !opts[:'average_age'].nil? query_params[:'month_average_predetermined_overtime_hours'] = opts[:'month_average_predetermined_overtime_hours'] if !opts[:'month_average_predetermined_overtime_hours'].nil? query_params[:'female_workers_proportion'] = opts[:'female_workers_proportion'] if !opts[:'female_workers_proportion'].nil? query_params[:'year'] = opts[:'year'] if !opts[:'year'].nil? query_params[:'ministry'] = opts[:'ministry'] if !opts[:'ministry'].nil? query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil? query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'HojinInfoResponse' # auth_names auth_names = opts[:debug_auth_names] || [] = opts.merge( :operation => :"GBizINFORESTAPIApi.search_info_using_get", :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: GBizINFORESTAPIApi#search_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |