gbizinfo 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.openapi-generator/FILES +48 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator-ignore +30 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +3 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +64 -0
- data/LICENSE.txt +21 -0
- data/README.md +121 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docs/ApiError.md +20 -0
- data/docs/CertificationInfo.md +30 -0
- data/docs/CommendationInfo.md +26 -0
- data/docs/CompatibilityOfChildcareAndWork.md +24 -0
- data/docs/Finance.md +24 -0
- data/docs/GBizINFORESTAPIApi.md +678 -0
- data/docs/GBizINFORESTAPIPeriodSpecifiedSearchApi.md +591 -0
- data/docs/HojinInfo.md +76 -0
- data/docs/HojinInfoResponse.md +24 -0
- data/docs/HojinInfoUpdateInfoResponse.md +30 -0
- data/docs/MajorShareholders.md +20 -0
- data/docs/ManagementIndex.md +66 -0
- data/docs/PatentInfo.md +26 -0
- data/docs/ProcurementInfo.md +26 -0
- data/docs/SubsidyInfo.md +32 -0
- data/docs/WomenActivityInfos.md +28 -0
- data/docs/WorkplaceBaseInfos.md +28 -0
- data/docs/WorkplaceInfoBean.md +22 -0
- data/gbizinfo.gemspec +37 -0
- data/git_push.sh +57 -0
- data/lib/gbizinfo/api/g_biz_inforestapi_api.rb +748 -0
- data/lib/gbizinfo/api/g_biz_inforestapi_period_specified_search_api.rb +670 -0
- data/lib/gbizinfo/api_client.rb +391 -0
- data/lib/gbizinfo/api_error.rb +58 -0
- data/lib/gbizinfo/configuration.rb +290 -0
- data/lib/gbizinfo/models/api_error.rb +225 -0
- data/lib/gbizinfo/models/certification_info.rb +275 -0
- data/lib/gbizinfo/models/commendation_info.rb +255 -0
- data/lib/gbizinfo/models/compatibility_of_childcare_and_work.rb +245 -0
- data/lib/gbizinfo/models/finance.rb +249 -0
- data/lib/gbizinfo/models/hojin_info.rb +515 -0
- data/lib/gbizinfo/models/hojin_info_response.rb +249 -0
- data/lib/gbizinfo/models/hojin_info_update_info_response.rb +279 -0
- data/lib/gbizinfo/models/major_shareholders.rb +225 -0
- data/lib/gbizinfo/models/management_index.rb +455 -0
- data/lib/gbizinfo/models/patent_info.rb +257 -0
- data/lib/gbizinfo/models/procurement_info.rb +257 -0
- data/lib/gbizinfo/models/subsidy_info.rb +287 -0
- data/lib/gbizinfo/models/women_activity_infos.rb +265 -0
- data/lib/gbizinfo/models/workplace_base_infos.rb +265 -0
- data/lib/gbizinfo/models/workplace_info_bean.rb +232 -0
- data/lib/gbizinfo/version.rb +15 -0
- data/lib/gbizinfo.rb +57 -0
- data/openapi/root.yaml +1377 -0
- data/sig/gbizinfo.rbs +4 -0
- metadata +105 -0
@@ -0,0 +1,670 @@
|
|
1
|
+
=begin
|
2
|
+
#gBizINFO REST API
|
3
|
+
|
4
|
+
#<div>各REST APIはHTTPリクエストヘッダX-hojinInfo-api-tokenに動作確認用のAPIトークンDTcLxzo1lZaUYaQPVdSRxdS4MzlXNCs4を指定して動作を確認することができます。</div><div>※動作確認用のAPIトークンはこのページでの動作確認でのみ使用してください。</div><div>※REST APIを利用する際は必ず、<a href='https://info.gbiz.go.jp/hojin/api_registration/form'>Web API利用申請</a>を行い、APIトークンを取得してください。</div>
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module Gbizinfo
|
16
|
+
class GBizINFORESTAPIPeriodSpecifiedSearchApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# gBizINFOから期間内に追加/更新された届出・認定情報を取得します.
|
23
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
24
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
25
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
26
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
29
|
+
# @return [HojinInfoResponse]
|
30
|
+
def get_certification_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
31
|
+
data, _status_code, _headers = get_certification_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
32
|
+
data
|
33
|
+
end
|
34
|
+
|
35
|
+
# gBizINFOから期間内に追加/更新された届出・認定情報を取得します.
|
36
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
37
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
38
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
39
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
42
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
43
|
+
def get_certification_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
44
|
+
if @api_client.config.debugging
|
45
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_certification_update_info_using_get ...'
|
46
|
+
end
|
47
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
48
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_certification_update_info_using_get"
|
50
|
+
end
|
51
|
+
# verify the required parameter 'from' is set
|
52
|
+
if @api_client.config.client_side_validation && from.nil?
|
53
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_certification_update_info_using_get"
|
54
|
+
end
|
55
|
+
# verify the required parameter 'to' is set
|
56
|
+
if @api_client.config.client_side_validation && to.nil?
|
57
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_certification_update_info_using_get"
|
58
|
+
end
|
59
|
+
# resource path
|
60
|
+
local_var_path = '/v1/hojin/updateInfo/certification'
|
61
|
+
|
62
|
+
# query parameters
|
63
|
+
query_params = opts[:query_params] || {}
|
64
|
+
query_params[:'from'] = from
|
65
|
+
query_params[:'to'] = to
|
66
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
67
|
+
|
68
|
+
# header parameters
|
69
|
+
header_params = opts[:header_params] || {}
|
70
|
+
# HTTP header 'Accept' (if needed)
|
71
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
72
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
73
|
+
|
74
|
+
# form parameters
|
75
|
+
form_params = opts[:form_params] || {}
|
76
|
+
|
77
|
+
# http body (model)
|
78
|
+
post_body = opts[:debug_body]
|
79
|
+
|
80
|
+
# return_type
|
81
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
82
|
+
|
83
|
+
# auth_names
|
84
|
+
auth_names = opts[:debug_auth_names] || []
|
85
|
+
|
86
|
+
new_options = opts.merge(
|
87
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_certification_update_info_using_get",
|
88
|
+
:header_params => header_params,
|
89
|
+
:query_params => query_params,
|
90
|
+
:form_params => form_params,
|
91
|
+
:body => post_body,
|
92
|
+
:auth_names => auth_names,
|
93
|
+
:return_type => return_type
|
94
|
+
)
|
95
|
+
|
96
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
97
|
+
if @api_client.config.debugging
|
98
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_certification_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
|
103
|
+
# gBizINFOから期間内に追加/更新された表彰情報を取得します.
|
104
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
105
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
106
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
107
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
110
|
+
# @return [HojinInfoResponse]
|
111
|
+
def get_commendation_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
112
|
+
data, _status_code, _headers = get_commendation_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
113
|
+
data
|
114
|
+
end
|
115
|
+
|
116
|
+
# gBizINFOから期間内に追加/更新された表彰情報を取得します.
|
117
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
118
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
119
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
120
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
121
|
+
# @param [Hash] opts the optional parameters
|
122
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
123
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
124
|
+
def get_commendation_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
125
|
+
if @api_client.config.debugging
|
126
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_commendation_update_info_using_get ...'
|
127
|
+
end
|
128
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
129
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
130
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_commendation_update_info_using_get"
|
131
|
+
end
|
132
|
+
# verify the required parameter 'from' is set
|
133
|
+
if @api_client.config.client_side_validation && from.nil?
|
134
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_commendation_update_info_using_get"
|
135
|
+
end
|
136
|
+
# verify the required parameter 'to' is set
|
137
|
+
if @api_client.config.client_side_validation && to.nil?
|
138
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_commendation_update_info_using_get"
|
139
|
+
end
|
140
|
+
# resource path
|
141
|
+
local_var_path = '/v1/hojin/updateInfo/commendation'
|
142
|
+
|
143
|
+
# query parameters
|
144
|
+
query_params = opts[:query_params] || {}
|
145
|
+
query_params[:'from'] = from
|
146
|
+
query_params[:'to'] = to
|
147
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
148
|
+
|
149
|
+
# header parameters
|
150
|
+
header_params = opts[:header_params] || {}
|
151
|
+
# HTTP header 'Accept' (if needed)
|
152
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
153
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
154
|
+
|
155
|
+
# form parameters
|
156
|
+
form_params = opts[:form_params] || {}
|
157
|
+
|
158
|
+
# http body (model)
|
159
|
+
post_body = opts[:debug_body]
|
160
|
+
|
161
|
+
# return_type
|
162
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
163
|
+
|
164
|
+
# auth_names
|
165
|
+
auth_names = opts[:debug_auth_names] || []
|
166
|
+
|
167
|
+
new_options = opts.merge(
|
168
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_commendation_update_info_using_get",
|
169
|
+
:header_params => header_params,
|
170
|
+
:query_params => query_params,
|
171
|
+
:form_params => form_params,
|
172
|
+
:body => post_body,
|
173
|
+
:auth_names => auth_names,
|
174
|
+
:return_type => return_type
|
175
|
+
)
|
176
|
+
|
177
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
178
|
+
if @api_client.config.debugging
|
179
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_commendation_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
180
|
+
end
|
181
|
+
return data, status_code, headers
|
182
|
+
end
|
183
|
+
|
184
|
+
# gBizINFOから期間内に追加/更新された財務情報を取得します.
|
185
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
186
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
187
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
188
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
189
|
+
# @param [Hash] opts the optional parameters
|
190
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
191
|
+
# @return [HojinInfoResponse]
|
192
|
+
def get_finance_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
193
|
+
data, _status_code, _headers = get_finance_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
194
|
+
data
|
195
|
+
end
|
196
|
+
|
197
|
+
# gBizINFOから期間内に追加/更新された財務情報を取得します.
|
198
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
199
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
200
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
201
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
202
|
+
# @param [Hash] opts the optional parameters
|
203
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
204
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
205
|
+
def get_finance_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
206
|
+
if @api_client.config.debugging
|
207
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_finance_update_info_using_get ...'
|
208
|
+
end
|
209
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
210
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
211
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_finance_update_info_using_get"
|
212
|
+
end
|
213
|
+
# verify the required parameter 'from' is set
|
214
|
+
if @api_client.config.client_side_validation && from.nil?
|
215
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_finance_update_info_using_get"
|
216
|
+
end
|
217
|
+
# verify the required parameter 'to' is set
|
218
|
+
if @api_client.config.client_side_validation && to.nil?
|
219
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_finance_update_info_using_get"
|
220
|
+
end
|
221
|
+
# resource path
|
222
|
+
local_var_path = '/v1/hojin/updateInfo/finance'
|
223
|
+
|
224
|
+
# query parameters
|
225
|
+
query_params = opts[:query_params] || {}
|
226
|
+
query_params[:'from'] = from
|
227
|
+
query_params[:'to'] = to
|
228
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
229
|
+
|
230
|
+
# header parameters
|
231
|
+
header_params = opts[:header_params] || {}
|
232
|
+
# HTTP header 'Accept' (if needed)
|
233
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
234
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
235
|
+
|
236
|
+
# form parameters
|
237
|
+
form_params = opts[:form_params] || {}
|
238
|
+
|
239
|
+
# http body (model)
|
240
|
+
post_body = opts[:debug_body]
|
241
|
+
|
242
|
+
# return_type
|
243
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
244
|
+
|
245
|
+
# auth_names
|
246
|
+
auth_names = opts[:debug_auth_names] || []
|
247
|
+
|
248
|
+
new_options = opts.merge(
|
249
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_finance_update_info_using_get",
|
250
|
+
:header_params => header_params,
|
251
|
+
:query_params => query_params,
|
252
|
+
:form_params => form_params,
|
253
|
+
:body => post_body,
|
254
|
+
:auth_names => auth_names,
|
255
|
+
:return_type => return_type
|
256
|
+
)
|
257
|
+
|
258
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
259
|
+
if @api_client.config.debugging
|
260
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_finance_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
261
|
+
end
|
262
|
+
return data, status_code, headers
|
263
|
+
end
|
264
|
+
|
265
|
+
# gBizINFOから期間内に追加/更新された特許情報を取得します.
|
266
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
267
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
268
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
269
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
270
|
+
# @param [Hash] opts the optional parameters
|
271
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
272
|
+
# @return [HojinInfoResponse]
|
273
|
+
def get_patent_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
274
|
+
data, _status_code, _headers = get_patent_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
275
|
+
data
|
276
|
+
end
|
277
|
+
|
278
|
+
# gBizINFOから期間内に追加/更新された特許情報を取得します.
|
279
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
280
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
281
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
282
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
283
|
+
# @param [Hash] opts the optional parameters
|
284
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
285
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
286
|
+
def get_patent_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
287
|
+
if @api_client.config.debugging
|
288
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_patent_update_info_using_get ...'
|
289
|
+
end
|
290
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
291
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
292
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_patent_update_info_using_get"
|
293
|
+
end
|
294
|
+
# verify the required parameter 'from' is set
|
295
|
+
if @api_client.config.client_side_validation && from.nil?
|
296
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_patent_update_info_using_get"
|
297
|
+
end
|
298
|
+
# verify the required parameter 'to' is set
|
299
|
+
if @api_client.config.client_side_validation && to.nil?
|
300
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_patent_update_info_using_get"
|
301
|
+
end
|
302
|
+
# resource path
|
303
|
+
local_var_path = '/v1/hojin/updateInfo/patent'
|
304
|
+
|
305
|
+
# query parameters
|
306
|
+
query_params = opts[:query_params] || {}
|
307
|
+
query_params[:'from'] = from
|
308
|
+
query_params[:'to'] = to
|
309
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
310
|
+
|
311
|
+
# header parameters
|
312
|
+
header_params = opts[:header_params] || {}
|
313
|
+
# HTTP header 'Accept' (if needed)
|
314
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
315
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
316
|
+
|
317
|
+
# form parameters
|
318
|
+
form_params = opts[:form_params] || {}
|
319
|
+
|
320
|
+
# http body (model)
|
321
|
+
post_body = opts[:debug_body]
|
322
|
+
|
323
|
+
# return_type
|
324
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
325
|
+
|
326
|
+
# auth_names
|
327
|
+
auth_names = opts[:debug_auth_names] || []
|
328
|
+
|
329
|
+
new_options = opts.merge(
|
330
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_patent_update_info_using_get",
|
331
|
+
:header_params => header_params,
|
332
|
+
:query_params => query_params,
|
333
|
+
:form_params => form_params,
|
334
|
+
:body => post_body,
|
335
|
+
:auth_names => auth_names,
|
336
|
+
:return_type => return_type
|
337
|
+
)
|
338
|
+
|
339
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
340
|
+
if @api_client.config.debugging
|
341
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_patent_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
342
|
+
end
|
343
|
+
return data, status_code, headers
|
344
|
+
end
|
345
|
+
|
346
|
+
# gBizINFOから期間内に追加/更新された調達情報を取得します.
|
347
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
348
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
349
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
350
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
351
|
+
# @param [Hash] opts the optional parameters
|
352
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
353
|
+
# @return [HojinInfoResponse]
|
354
|
+
def get_procurement_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
355
|
+
data, _status_code, _headers = get_procurement_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
356
|
+
data
|
357
|
+
end
|
358
|
+
|
359
|
+
# gBizINFOから期間内に追加/更新された調達情報を取得します.
|
360
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
361
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
362
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
363
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
364
|
+
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
366
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
367
|
+
def get_procurement_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
368
|
+
if @api_client.config.debugging
|
369
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_procurement_update_info_using_get ...'
|
370
|
+
end
|
371
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
372
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
373
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_procurement_update_info_using_get"
|
374
|
+
end
|
375
|
+
# verify the required parameter 'from' is set
|
376
|
+
if @api_client.config.client_side_validation && from.nil?
|
377
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_procurement_update_info_using_get"
|
378
|
+
end
|
379
|
+
# verify the required parameter 'to' is set
|
380
|
+
if @api_client.config.client_side_validation && to.nil?
|
381
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_procurement_update_info_using_get"
|
382
|
+
end
|
383
|
+
# resource path
|
384
|
+
local_var_path = '/v1/hojin/updateInfo/procurement'
|
385
|
+
|
386
|
+
# query parameters
|
387
|
+
query_params = opts[:query_params] || {}
|
388
|
+
query_params[:'from'] = from
|
389
|
+
query_params[:'to'] = to
|
390
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
391
|
+
|
392
|
+
# header parameters
|
393
|
+
header_params = opts[:header_params] || {}
|
394
|
+
# HTTP header 'Accept' (if needed)
|
395
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
396
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
397
|
+
|
398
|
+
# form parameters
|
399
|
+
form_params = opts[:form_params] || {}
|
400
|
+
|
401
|
+
# http body (model)
|
402
|
+
post_body = opts[:debug_body]
|
403
|
+
|
404
|
+
# return_type
|
405
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
406
|
+
|
407
|
+
# auth_names
|
408
|
+
auth_names = opts[:debug_auth_names] || []
|
409
|
+
|
410
|
+
new_options = opts.merge(
|
411
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_procurement_update_info_using_get",
|
412
|
+
:header_params => header_params,
|
413
|
+
:query_params => query_params,
|
414
|
+
:form_params => form_params,
|
415
|
+
:body => post_body,
|
416
|
+
:auth_names => auth_names,
|
417
|
+
:return_type => return_type
|
418
|
+
)
|
419
|
+
|
420
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
421
|
+
if @api_client.config.debugging
|
422
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_procurement_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
423
|
+
end
|
424
|
+
return data, status_code, headers
|
425
|
+
end
|
426
|
+
|
427
|
+
# gBizINFOから期間内に追加/更新された補助金情報を取得します.
|
428
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
429
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
430
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
431
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
432
|
+
# @param [Hash] opts the optional parameters
|
433
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
434
|
+
# @return [HojinInfoResponse]
|
435
|
+
def get_subsidy_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
436
|
+
data, _status_code, _headers = get_subsidy_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
437
|
+
data
|
438
|
+
end
|
439
|
+
|
440
|
+
# gBizINFOから期間内に追加/更新された補助金情報を取得します.
|
441
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
442
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
443
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
444
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
445
|
+
# @param [Hash] opts the optional parameters
|
446
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
447
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
448
|
+
def get_subsidy_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
449
|
+
if @api_client.config.debugging
|
450
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_subsidy_update_info_using_get ...'
|
451
|
+
end
|
452
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
453
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
454
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_subsidy_update_info_using_get"
|
455
|
+
end
|
456
|
+
# verify the required parameter 'from' is set
|
457
|
+
if @api_client.config.client_side_validation && from.nil?
|
458
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_subsidy_update_info_using_get"
|
459
|
+
end
|
460
|
+
# verify the required parameter 'to' is set
|
461
|
+
if @api_client.config.client_side_validation && to.nil?
|
462
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_subsidy_update_info_using_get"
|
463
|
+
end
|
464
|
+
# resource path
|
465
|
+
local_var_path = '/v1/hojin/updateInfo/subsidy'
|
466
|
+
|
467
|
+
# query parameters
|
468
|
+
query_params = opts[:query_params] || {}
|
469
|
+
query_params[:'from'] = from
|
470
|
+
query_params[:'to'] = to
|
471
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
472
|
+
|
473
|
+
# header parameters
|
474
|
+
header_params = opts[:header_params] || {}
|
475
|
+
# HTTP header 'Accept' (if needed)
|
476
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
477
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
478
|
+
|
479
|
+
# form parameters
|
480
|
+
form_params = opts[:form_params] || {}
|
481
|
+
|
482
|
+
# http body (model)
|
483
|
+
post_body = opts[:debug_body]
|
484
|
+
|
485
|
+
# return_type
|
486
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
487
|
+
|
488
|
+
# auth_names
|
489
|
+
auth_names = opts[:debug_auth_names] || []
|
490
|
+
|
491
|
+
new_options = opts.merge(
|
492
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_subsidy_update_info_using_get",
|
493
|
+
:header_params => header_params,
|
494
|
+
:query_params => query_params,
|
495
|
+
:form_params => form_params,
|
496
|
+
:body => post_body,
|
497
|
+
:auth_names => auth_names,
|
498
|
+
:return_type => return_type
|
499
|
+
)
|
500
|
+
|
501
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
502
|
+
if @api_client.config.debugging
|
503
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_subsidy_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
504
|
+
end
|
505
|
+
return data, status_code, headers
|
506
|
+
end
|
507
|
+
|
508
|
+
# gBizINFOから期間内に追加/更新された法人基本情報を取得します.
|
509
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
510
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
511
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
512
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
513
|
+
# @param [Hash] opts the optional parameters
|
514
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
515
|
+
# @return [HojinInfoResponse]
|
516
|
+
def get_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
517
|
+
data, _status_code, _headers = get_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
518
|
+
data
|
519
|
+
end
|
520
|
+
|
521
|
+
# gBizINFOから期間内に追加/更新された法人基本情報を取得します.
|
522
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
523
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
524
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
525
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
526
|
+
# @param [Hash] opts the optional parameters
|
527
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
528
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
529
|
+
def get_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
530
|
+
if @api_client.config.debugging
|
531
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_update_info_using_get ...'
|
532
|
+
end
|
533
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
534
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
535
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_update_info_using_get"
|
536
|
+
end
|
537
|
+
# verify the required parameter 'from' is set
|
538
|
+
if @api_client.config.client_side_validation && from.nil?
|
539
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_update_info_using_get"
|
540
|
+
end
|
541
|
+
# verify the required parameter 'to' is set
|
542
|
+
if @api_client.config.client_side_validation && to.nil?
|
543
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_update_info_using_get"
|
544
|
+
end
|
545
|
+
# resource path
|
546
|
+
local_var_path = '/v1/hojin/updateInfo'
|
547
|
+
|
548
|
+
# query parameters
|
549
|
+
query_params = opts[:query_params] || {}
|
550
|
+
query_params[:'from'] = from
|
551
|
+
query_params[:'to'] = to
|
552
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
553
|
+
|
554
|
+
# header parameters
|
555
|
+
header_params = opts[:header_params] || {}
|
556
|
+
# HTTP header 'Accept' (if needed)
|
557
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
558
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
559
|
+
|
560
|
+
# form parameters
|
561
|
+
form_params = opts[:form_params] || {}
|
562
|
+
|
563
|
+
# http body (model)
|
564
|
+
post_body = opts[:debug_body]
|
565
|
+
|
566
|
+
# return_type
|
567
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
568
|
+
|
569
|
+
# auth_names
|
570
|
+
auth_names = opts[:debug_auth_names] || []
|
571
|
+
|
572
|
+
new_options = opts.merge(
|
573
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_update_info_using_get",
|
574
|
+
:header_params => header_params,
|
575
|
+
:query_params => query_params,
|
576
|
+
:form_params => form_params,
|
577
|
+
:body => post_body,
|
578
|
+
:auth_names => auth_names,
|
579
|
+
:return_type => return_type
|
580
|
+
)
|
581
|
+
|
582
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
583
|
+
if @api_client.config.debugging
|
584
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
585
|
+
end
|
586
|
+
return data, status_code, headers
|
587
|
+
end
|
588
|
+
|
589
|
+
# gBizINFOから期間内に追加/更新された職場情報を取得します.
|
590
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
591
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
592
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
593
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
594
|
+
# @param [Hash] opts the optional parameters
|
595
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
596
|
+
# @return [HojinInfoResponse]
|
597
|
+
def get_workplace_information_update_info_using_get(x_hojin_info_api_token, from, to, opts = {})
|
598
|
+
data, _status_code, _headers = get_workplace_information_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts)
|
599
|
+
data
|
600
|
+
end
|
601
|
+
|
602
|
+
# gBizINFOから期間内に追加/更新された職場情報を取得します.
|
603
|
+
# 指定された期間内に追加/更新された情報を取得します。
|
604
|
+
# @param x_hojin_info_api_token [String] APIトークン
|
605
|
+
# @param from [String] 検索対象期間の開始日:yyyyMMdd形式を設定。
|
606
|
+
# @param to [String] 検索対象期間の終了日:yyyyMMdd形式を設定。
|
607
|
+
# @param [Hash] opts the optional parameters
|
608
|
+
# @option opts [String] :page 検索結果のページ番号:正の整数を設定。 下限値1。 (default to '1')
|
609
|
+
# @return [Array<(HojinInfoResponse, Integer, Hash)>] HojinInfoResponse data, response status code and response headers
|
610
|
+
def get_workplace_information_update_info_using_get_with_http_info(x_hojin_info_api_token, from, to, opts = {})
|
611
|
+
if @api_client.config.debugging
|
612
|
+
@api_client.config.logger.debug 'Calling API: GBizINFORESTAPIPeriodSpecifiedSearchApi.get_workplace_information_update_info_using_get ...'
|
613
|
+
end
|
614
|
+
# verify the required parameter 'x_hojin_info_api_token' is set
|
615
|
+
if @api_client.config.client_side_validation && x_hojin_info_api_token.nil?
|
616
|
+
fail ArgumentError, "Missing the required parameter 'x_hojin_info_api_token' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_workplace_information_update_info_using_get"
|
617
|
+
end
|
618
|
+
# verify the required parameter 'from' is set
|
619
|
+
if @api_client.config.client_side_validation && from.nil?
|
620
|
+
fail ArgumentError, "Missing the required parameter 'from' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_workplace_information_update_info_using_get"
|
621
|
+
end
|
622
|
+
# verify the required parameter 'to' is set
|
623
|
+
if @api_client.config.client_side_validation && to.nil?
|
624
|
+
fail ArgumentError, "Missing the required parameter 'to' when calling GBizINFORESTAPIPeriodSpecifiedSearchApi.get_workplace_information_update_info_using_get"
|
625
|
+
end
|
626
|
+
# resource path
|
627
|
+
local_var_path = '/v1/hojin/updateInfo/workplace'
|
628
|
+
|
629
|
+
# query parameters
|
630
|
+
query_params = opts[:query_params] || {}
|
631
|
+
query_params[:'from'] = from
|
632
|
+
query_params[:'to'] = to
|
633
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
634
|
+
|
635
|
+
# header parameters
|
636
|
+
header_params = opts[:header_params] || {}
|
637
|
+
# HTTP header 'Accept' (if needed)
|
638
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
639
|
+
header_params[:'X-hojinInfo-api-token'] = x_hojin_info_api_token
|
640
|
+
|
641
|
+
# form parameters
|
642
|
+
form_params = opts[:form_params] || {}
|
643
|
+
|
644
|
+
# http body (model)
|
645
|
+
post_body = opts[:debug_body]
|
646
|
+
|
647
|
+
# return_type
|
648
|
+
return_type = opts[:debug_return_type] || 'HojinInfoResponse'
|
649
|
+
|
650
|
+
# auth_names
|
651
|
+
auth_names = opts[:debug_auth_names] || []
|
652
|
+
|
653
|
+
new_options = opts.merge(
|
654
|
+
:operation => :"GBizINFORESTAPIPeriodSpecifiedSearchApi.get_workplace_information_update_info_using_get",
|
655
|
+
:header_params => header_params,
|
656
|
+
:query_params => query_params,
|
657
|
+
:form_params => form_params,
|
658
|
+
:body => post_body,
|
659
|
+
:auth_names => auth_names,
|
660
|
+
:return_type => return_type
|
661
|
+
)
|
662
|
+
|
663
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
664
|
+
if @api_client.config.debugging
|
665
|
+
@api_client.config.logger.debug "API called: GBizINFORESTAPIPeriodSpecifiedSearchApi#get_workplace_information_update_info_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
666
|
+
end
|
667
|
+
return data, status_code, headers
|
668
|
+
end
|
669
|
+
end
|
670
|
+
end
|