factpulse 1.0.15 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/Gemfile.lock +1 -1
- data/docs/AFNORPDPPADirectoryServiceApi.md +1055 -28
- data/docs/LigneDePoste.md +2 -2
- data/docs/LigneDeTVA.md +2 -2
- data/docs/{Montanttva.md → MontantAPayer.md} +2 -2
- data/docs/{Montanttva1.md → MontantBaseHt.md} +2 -2
- data/docs/{Montantapayer.md → MontantRemiseGlobaleTtc.md} +2 -2
- data/docs/MontantTotal.md +5 -5
- data/docs/{Montanthttotal.md → MontantTotalLigneHt.md} +2 -2
- data/docs/{Montantttctotal.md → MontantUnitaireHt.md} +2 -2
- data/docs/PDPCredentials.md +2 -0
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1011 -27
- data/lib/factpulse/models/ligne_de_poste.rb +2 -2
- data/lib/factpulse/models/ligne_de_tva.rb +2 -2
- data/lib/factpulse/models/{montantapayer.rb → montant_a_payer.rb} +1 -1
- data/lib/factpulse/models/{montantbaseht.rb → montant_base_ht.rb} +1 -1
- data/lib/factpulse/models/montant_ht_total.rb +1 -0
- data/lib/factpulse/models/{montant_total_montant_remise_globale_ttc.rb → montant_remise_globale_ttc.rb} +1 -1
- data/lib/factpulse/models/montant_total.rb +5 -5
- data/lib/factpulse/models/{ligne_de_poste_montant_total_ligne_ht.rb → montant_total_ligne_ht.rb} +1 -1
- data/lib/factpulse/models/montant_ttc_total.rb +1 -0
- data/lib/factpulse/models/montant_tva.rb +1 -0
- data/lib/factpulse/models/montant_tva1.rb +1 -1
- data/lib/factpulse/models/{montantunitaireht.rb → montant_unitaire_ht.rb} +1 -1
- data/lib/factpulse/models/pdp_credentials.rb +11 -1
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +5 -9
- metadata +12 -20
- data/docs/LigneDePosteMontantTotalLigneHt.md +0 -15
- data/docs/MontantTotalMontantRemiseGlobaleTtc.md +0 -15
- data/docs/Montantbaseht.md +0 -15
- data/docs/Montantunitaireht.md +0 -15
- data/lib/factpulse/models/montanthttotal.rb +0 -104
- data/lib/factpulse/models/montantttctotal.rb +0 -104
- data/lib/factpulse/models/montanttva.rb +0 -104
- data/lib/factpulse/models/montanttva1.rb +0 -104
|
@@ -19,6 +19,183 @@ module FactPulse
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# Creating a directory line
|
|
23
|
+
# Créer une ligne dans l'annuaire
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @return [Object]
|
|
26
|
+
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post(opts = {})
|
|
27
|
+
data, _status_code, _headers = create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts)
|
|
28
|
+
data
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Creating a directory line
|
|
32
|
+
# Créer une ligne dans l'annuaire
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
35
|
+
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts = {})
|
|
36
|
+
if @api_client.config.debugging
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post ...'
|
|
38
|
+
end
|
|
39
|
+
# resource path
|
|
40
|
+
local_var_path = '/api/v1/afnor/directory/v1/directory-line'
|
|
41
|
+
|
|
42
|
+
# query parameters
|
|
43
|
+
query_params = opts[:query_params] || {}
|
|
44
|
+
|
|
45
|
+
# header parameters
|
|
46
|
+
header_params = opts[:header_params] || {}
|
|
47
|
+
# HTTP header 'Accept' (if needed)
|
|
48
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
49
|
+
|
|
50
|
+
# form parameters
|
|
51
|
+
form_params = opts[:form_params] || {}
|
|
52
|
+
|
|
53
|
+
# http body (model)
|
|
54
|
+
post_body = opts[:debug_body]
|
|
55
|
+
|
|
56
|
+
# return_type
|
|
57
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
58
|
+
|
|
59
|
+
# auth_names
|
|
60
|
+
auth_names = opts[:debug_auth_names] || []
|
|
61
|
+
|
|
62
|
+
new_options = opts.merge(
|
|
63
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post",
|
|
64
|
+
:header_params => header_params,
|
|
65
|
+
:query_params => query_params,
|
|
66
|
+
:form_params => form_params,
|
|
67
|
+
:body => post_body,
|
|
68
|
+
:auth_names => auth_names,
|
|
69
|
+
:return_type => return_type
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
73
|
+
if @api_client.config.debugging
|
|
74
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
75
|
+
end
|
|
76
|
+
return data, status_code, headers
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Create a routing code
|
|
80
|
+
# Créer un code de routage dans l'annuaire
|
|
81
|
+
# @param [Hash] opts the optional parameters
|
|
82
|
+
# @return [Object]
|
|
83
|
+
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post(opts = {})
|
|
84
|
+
data, _status_code, _headers = create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts)
|
|
85
|
+
data
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Create a routing code
|
|
89
|
+
# Créer un code de routage dans l'annuaire
|
|
90
|
+
# @param [Hash] opts the optional parameters
|
|
91
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
92
|
+
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts = {})
|
|
93
|
+
if @api_client.config.debugging
|
|
94
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post ...'
|
|
95
|
+
end
|
|
96
|
+
# resource path
|
|
97
|
+
local_var_path = '/api/v1/afnor/directory/v1/routing-code'
|
|
98
|
+
|
|
99
|
+
# query parameters
|
|
100
|
+
query_params = opts[:query_params] || {}
|
|
101
|
+
|
|
102
|
+
# header parameters
|
|
103
|
+
header_params = opts[:header_params] || {}
|
|
104
|
+
# HTTP header 'Accept' (if needed)
|
|
105
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
106
|
+
|
|
107
|
+
# form parameters
|
|
108
|
+
form_params = opts[:form_params] || {}
|
|
109
|
+
|
|
110
|
+
# http body (model)
|
|
111
|
+
post_body = opts[:debug_body]
|
|
112
|
+
|
|
113
|
+
# return_type
|
|
114
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
115
|
+
|
|
116
|
+
# auth_names
|
|
117
|
+
auth_names = opts[:debug_auth_names] || []
|
|
118
|
+
|
|
119
|
+
new_options = opts.merge(
|
|
120
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post",
|
|
121
|
+
:header_params => header_params,
|
|
122
|
+
:query_params => query_params,
|
|
123
|
+
:form_params => form_params,
|
|
124
|
+
:body => post_body,
|
|
125
|
+
:auth_names => auth_names,
|
|
126
|
+
:return_type => return_type
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
130
|
+
if @api_client.config.debugging
|
|
131
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
132
|
+
end
|
|
133
|
+
return data, status_code, headers
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Delete a directory line
|
|
137
|
+
# Supprimer une ligne d'annuaire
|
|
138
|
+
# @param id_instance [String]
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @return [Object]
|
|
141
|
+
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete(id_instance, opts = {})
|
|
142
|
+
data, _status_code, _headers = delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts)
|
|
143
|
+
data
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Delete a directory line
|
|
147
|
+
# Supprimer une ligne d'annuaire
|
|
148
|
+
# @param id_instance [String]
|
|
149
|
+
# @param [Hash] opts the optional parameters
|
|
150
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
151
|
+
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts = {})
|
|
152
|
+
if @api_client.config.debugging
|
|
153
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete ...'
|
|
154
|
+
end
|
|
155
|
+
# verify the required parameter 'id_instance' is set
|
|
156
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
157
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete"
|
|
158
|
+
end
|
|
159
|
+
# resource path
|
|
160
|
+
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
161
|
+
|
|
162
|
+
# query parameters
|
|
163
|
+
query_params = opts[:query_params] || {}
|
|
164
|
+
|
|
165
|
+
# header parameters
|
|
166
|
+
header_params = opts[:header_params] || {}
|
|
167
|
+
# HTTP header 'Accept' (if needed)
|
|
168
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
169
|
+
|
|
170
|
+
# form parameters
|
|
171
|
+
form_params = opts[:form_params] || {}
|
|
172
|
+
|
|
173
|
+
# http body (model)
|
|
174
|
+
post_body = opts[:debug_body]
|
|
175
|
+
|
|
176
|
+
# return_type
|
|
177
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
178
|
+
|
|
179
|
+
# auth_names
|
|
180
|
+
auth_names = opts[:debug_auth_names] || []
|
|
181
|
+
|
|
182
|
+
new_options = opts.merge(
|
|
183
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete",
|
|
184
|
+
:header_params => header_params,
|
|
185
|
+
:query_params => query_params,
|
|
186
|
+
:form_params => form_params,
|
|
187
|
+
:body => post_body,
|
|
188
|
+
:auth_names => auth_names,
|
|
189
|
+
:return_type => return_type
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
193
|
+
if @api_client.config.debugging
|
|
194
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
195
|
+
end
|
|
196
|
+
return data, status_code, headers
|
|
197
|
+
end
|
|
198
|
+
|
|
22
199
|
# Healthcheck Directory Service
|
|
23
200
|
# Vérifier la disponibilité du Directory Service
|
|
24
201
|
# @param [Hash] opts the optional parameters
|
|
@@ -76,31 +253,157 @@ module FactPulse
|
|
|
76
253
|
return data, status_code, headers
|
|
77
254
|
end
|
|
78
255
|
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
# @param
|
|
256
|
+
# Get a directory line
|
|
257
|
+
# Obtenir une ligne d'annuaire identifiée par un identifiant d'adressage
|
|
258
|
+
# @param addressing_identifier [String]
|
|
82
259
|
# @param [Hash] opts the optional parameters
|
|
83
260
|
# @return [Object]
|
|
84
|
-
def
|
|
85
|
-
data, _status_code, _headers =
|
|
261
|
+
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get(addressing_identifier, opts = {})
|
|
262
|
+
data, _status_code, _headers = get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts)
|
|
86
263
|
data
|
|
87
264
|
end
|
|
88
265
|
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
# @param
|
|
266
|
+
# Get a directory line
|
|
267
|
+
# Obtenir une ligne d'annuaire identifiée par un identifiant d'adressage
|
|
268
|
+
# @param addressing_identifier [String]
|
|
92
269
|
# @param [Hash] opts the optional parameters
|
|
93
270
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
94
|
-
def
|
|
271
|
+
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts = {})
|
|
95
272
|
if @api_client.config.debugging
|
|
96
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.
|
|
273
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get ...'
|
|
97
274
|
end
|
|
98
|
-
# verify the required parameter '
|
|
99
|
-
if @api_client.config.client_side_validation &&
|
|
100
|
-
fail ArgumentError, "Missing the required parameter '
|
|
275
|
+
# verify the required parameter 'addressing_identifier' is set
|
|
276
|
+
if @api_client.config.client_side_validation && addressing_identifier.nil?
|
|
277
|
+
fail ArgumentError, "Missing the required parameter 'addressing_identifier' when calling AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get"
|
|
278
|
+
end
|
|
279
|
+
# resource path
|
|
280
|
+
local_var_path = '/api/v1/afnor/directory/v1/directory-line/code:{addressing_identifier}'.sub('{' + 'addressing_identifier' + '}', CGI.escape(addressing_identifier.to_s))
|
|
281
|
+
|
|
282
|
+
# query parameters
|
|
283
|
+
query_params = opts[:query_params] || {}
|
|
284
|
+
|
|
285
|
+
# header parameters
|
|
286
|
+
header_params = opts[:header_params] || {}
|
|
287
|
+
# HTTP header 'Accept' (if needed)
|
|
288
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
289
|
+
|
|
290
|
+
# form parameters
|
|
291
|
+
form_params = opts[:form_params] || {}
|
|
292
|
+
|
|
293
|
+
# http body (model)
|
|
294
|
+
post_body = opts[:debug_body]
|
|
295
|
+
|
|
296
|
+
# return_type
|
|
297
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
298
|
+
|
|
299
|
+
# auth_names
|
|
300
|
+
auth_names = opts[:debug_auth_names] || []
|
|
301
|
+
|
|
302
|
+
new_options = opts.merge(
|
|
303
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get",
|
|
304
|
+
:header_params => header_params,
|
|
305
|
+
:query_params => query_params,
|
|
306
|
+
:form_params => form_params,
|
|
307
|
+
:body => post_body,
|
|
308
|
+
:auth_names => auth_names,
|
|
309
|
+
:return_type => return_type
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
313
|
+
if @api_client.config.debugging
|
|
314
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
315
|
+
end
|
|
316
|
+
return data, status_code, headers
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Get a directory line
|
|
320
|
+
# Obtenir une ligne d'annuaire identifiée par son idInstance
|
|
321
|
+
# @param id_instance [String]
|
|
322
|
+
# @param [Hash] opts the optional parameters
|
|
323
|
+
# @return [Object]
|
|
324
|
+
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get(id_instance, opts = {})
|
|
325
|
+
data, _status_code, _headers = get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
326
|
+
data
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
# Get a directory line
|
|
330
|
+
# Obtenir une ligne d'annuaire identifiée par son idInstance
|
|
331
|
+
# @param id_instance [String]
|
|
332
|
+
# @param [Hash] opts the optional parameters
|
|
333
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
334
|
+
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
335
|
+
if @api_client.config.debugging
|
|
336
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get ...'
|
|
337
|
+
end
|
|
338
|
+
# verify the required parameter 'id_instance' is set
|
|
339
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
340
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get"
|
|
341
|
+
end
|
|
342
|
+
# resource path
|
|
343
|
+
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
344
|
+
|
|
345
|
+
# query parameters
|
|
346
|
+
query_params = opts[:query_params] || {}
|
|
347
|
+
|
|
348
|
+
# header parameters
|
|
349
|
+
header_params = opts[:header_params] || {}
|
|
350
|
+
# HTTP header 'Accept' (if needed)
|
|
351
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
352
|
+
|
|
353
|
+
# form parameters
|
|
354
|
+
form_params = opts[:form_params] || {}
|
|
355
|
+
|
|
356
|
+
# http body (model)
|
|
357
|
+
post_body = opts[:debug_body]
|
|
358
|
+
|
|
359
|
+
# return_type
|
|
360
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
361
|
+
|
|
362
|
+
# auth_names
|
|
363
|
+
auth_names = opts[:debug_auth_names] || []
|
|
364
|
+
|
|
365
|
+
new_options = opts.merge(
|
|
366
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get",
|
|
367
|
+
:header_params => header_params,
|
|
368
|
+
:query_params => query_params,
|
|
369
|
+
:form_params => form_params,
|
|
370
|
+
:body => post_body,
|
|
371
|
+
:auth_names => auth_names,
|
|
372
|
+
:return_type => return_type
|
|
373
|
+
)
|
|
374
|
+
|
|
375
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
376
|
+
if @api_client.config.debugging
|
|
377
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
378
|
+
end
|
|
379
|
+
return data, status_code, headers
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
# Get a routing code by instance-id
|
|
383
|
+
# Obtenir un code de routage identifié par son idInstance
|
|
384
|
+
# @param id_instance [String]
|
|
385
|
+
# @param [Hash] opts the optional parameters
|
|
386
|
+
# @return [Object]
|
|
387
|
+
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get(id_instance, opts = {})
|
|
388
|
+
data, _status_code, _headers = get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
389
|
+
data
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# Get a routing code by instance-id
|
|
393
|
+
# Obtenir un code de routage identifié par son idInstance
|
|
394
|
+
# @param id_instance [String]
|
|
395
|
+
# @param [Hash] opts the optional parameters
|
|
396
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
397
|
+
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
398
|
+
if @api_client.config.debugging
|
|
399
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get ...'
|
|
400
|
+
end
|
|
401
|
+
# verify the required parameter 'id_instance' is set
|
|
402
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
403
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get"
|
|
101
404
|
end
|
|
102
405
|
# resource path
|
|
103
|
-
local_var_path = '/api/v1/afnor/directory/v1/
|
|
406
|
+
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
104
407
|
|
|
105
408
|
# query parameters
|
|
106
409
|
query_params = opts[:query_params] || {}
|
|
@@ -123,7 +426,7 @@ module FactPulse
|
|
|
123
426
|
auth_names = opts[:debug_auth_names] || []
|
|
124
427
|
|
|
125
428
|
new_options = opts.merge(
|
|
126
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.
|
|
429
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get",
|
|
127
430
|
:header_params => header_params,
|
|
128
431
|
:query_params => query_params,
|
|
129
432
|
:form_params => form_params,
|
|
@@ -134,30 +437,711 @@ module FactPulse
|
|
|
134
437
|
|
|
135
438
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
136
439
|
if @api_client.config.debugging
|
|
137
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#
|
|
440
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
441
|
+
end
|
|
442
|
+
return data, status_code, headers
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
# Get a routing code by SIRET and routing identifier
|
|
446
|
+
# Consulter un code de routage identifié par SIRET et identifiant de routage
|
|
447
|
+
# @param siret [String]
|
|
448
|
+
# @param routing_identifier [String]
|
|
449
|
+
# @param [Hash] opts the optional parameters
|
|
450
|
+
# @return [Object]
|
|
451
|
+
def get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get(siret, routing_identifier, opts = {})
|
|
452
|
+
data, _status_code, _headers = get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_with_http_info(siret, routing_identifier, opts)
|
|
453
|
+
data
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Get a routing code by SIRET and routing identifier
|
|
457
|
+
# Consulter un code de routage identifié par SIRET et identifiant de routage
|
|
458
|
+
# @param siret [String]
|
|
459
|
+
# @param routing_identifier [String]
|
|
460
|
+
# @param [Hash] opts the optional parameters
|
|
461
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
462
|
+
def get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_with_http_info(siret, routing_identifier, opts = {})
|
|
463
|
+
if @api_client.config.debugging
|
|
464
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get ...'
|
|
465
|
+
end
|
|
466
|
+
# verify the required parameter 'siret' is set
|
|
467
|
+
if @api_client.config.client_side_validation && siret.nil?
|
|
468
|
+
fail ArgumentError, "Missing the required parameter 'siret' when calling AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get"
|
|
469
|
+
end
|
|
470
|
+
# verify the required parameter 'routing_identifier' is set
|
|
471
|
+
if @api_client.config.client_side_validation && routing_identifier.nil?
|
|
472
|
+
fail ArgumentError, "Missing the required parameter 'routing_identifier' when calling AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get"
|
|
473
|
+
end
|
|
474
|
+
# resource path
|
|
475
|
+
local_var_path = '/api/v1/afnor/directory/v1/routing-code/siret:{siret}/code:{routing_identifier}'.sub('{' + 'siret' + '}', CGI.escape(siret.to_s)).sub('{' + 'routing_identifier' + '}', CGI.escape(routing_identifier.to_s))
|
|
476
|
+
|
|
477
|
+
# query parameters
|
|
478
|
+
query_params = opts[:query_params] || {}
|
|
479
|
+
|
|
480
|
+
# header parameters
|
|
481
|
+
header_params = opts[:header_params] || {}
|
|
482
|
+
# HTTP header 'Accept' (if needed)
|
|
483
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
484
|
+
|
|
485
|
+
# form parameters
|
|
486
|
+
form_params = opts[:form_params] || {}
|
|
487
|
+
|
|
488
|
+
# http body (model)
|
|
489
|
+
post_body = opts[:debug_body]
|
|
490
|
+
|
|
491
|
+
# return_type
|
|
492
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
493
|
+
|
|
494
|
+
# auth_names
|
|
495
|
+
auth_names = opts[:debug_auth_names] || []
|
|
496
|
+
|
|
497
|
+
new_options = opts.merge(
|
|
498
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get",
|
|
499
|
+
:header_params => header_params,
|
|
500
|
+
:query_params => query_params,
|
|
501
|
+
:form_params => form_params,
|
|
502
|
+
:body => post_body,
|
|
503
|
+
:auth_names => auth_names,
|
|
504
|
+
:return_type => return_type
|
|
505
|
+
)
|
|
506
|
+
|
|
507
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
508
|
+
if @api_client.config.debugging
|
|
509
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
510
|
+
end
|
|
511
|
+
return data, status_code, headers
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# Consult a siren (legal unit) by SIREN number
|
|
515
|
+
# Retourne les détails d'une entreprise (unité légale) identifiée par son numéro SIREN
|
|
516
|
+
# @param siren [String]
|
|
517
|
+
# @param [Hash] opts the optional parameters
|
|
518
|
+
# @return [Object]
|
|
519
|
+
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get(siren, opts = {})
|
|
520
|
+
data, _status_code, _headers = get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(siren, opts)
|
|
521
|
+
data
|
|
522
|
+
end
|
|
523
|
+
|
|
524
|
+
# Consult a siren (legal unit) by SIREN number
|
|
525
|
+
# Retourne les détails d'une entreprise (unité légale) identifiée par son numéro SIREN
|
|
526
|
+
# @param siren [String]
|
|
527
|
+
# @param [Hash] opts the optional parameters
|
|
528
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
529
|
+
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(siren, opts = {})
|
|
530
|
+
if @api_client.config.debugging
|
|
531
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get ...'
|
|
532
|
+
end
|
|
533
|
+
# verify the required parameter 'siren' is set
|
|
534
|
+
if @api_client.config.client_side_validation && siren.nil?
|
|
535
|
+
fail ArgumentError, "Missing the required parameter 'siren' when calling AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get"
|
|
536
|
+
end
|
|
537
|
+
# resource path
|
|
538
|
+
local_var_path = '/api/v1/afnor/directory/v1/siren/code-insee:{siren}'.sub('{' + 'siren' + '}', CGI.escape(siren.to_s))
|
|
539
|
+
|
|
540
|
+
# query parameters
|
|
541
|
+
query_params = opts[:query_params] || {}
|
|
542
|
+
|
|
543
|
+
# header parameters
|
|
544
|
+
header_params = opts[:header_params] || {}
|
|
545
|
+
# HTTP header 'Accept' (if needed)
|
|
546
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
547
|
+
|
|
548
|
+
# form parameters
|
|
549
|
+
form_params = opts[:form_params] || {}
|
|
550
|
+
|
|
551
|
+
# http body (model)
|
|
552
|
+
post_body = opts[:debug_body]
|
|
553
|
+
|
|
554
|
+
# return_type
|
|
555
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
556
|
+
|
|
557
|
+
# auth_names
|
|
558
|
+
auth_names = opts[:debug_auth_names] || []
|
|
559
|
+
|
|
560
|
+
new_options = opts.merge(
|
|
561
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get",
|
|
562
|
+
:header_params => header_params,
|
|
563
|
+
:query_params => query_params,
|
|
564
|
+
:form_params => form_params,
|
|
565
|
+
:body => post_body,
|
|
566
|
+
:auth_names => auth_names,
|
|
567
|
+
:return_type => return_type
|
|
568
|
+
)
|
|
569
|
+
|
|
570
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
571
|
+
if @api_client.config.debugging
|
|
572
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
573
|
+
end
|
|
574
|
+
return data, status_code, headers
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Gets a siren (legal unit) by instance ID
|
|
578
|
+
# Obtenir une entreprise (unité légale) identifiée par son idInstance
|
|
579
|
+
# @param id_instance [String]
|
|
580
|
+
# @param [Hash] opts the optional parameters
|
|
581
|
+
# @return [Object]
|
|
582
|
+
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get(id_instance, opts = {})
|
|
583
|
+
data, _status_code, _headers = get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
584
|
+
data
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# Gets a siren (legal unit) by instance ID
|
|
588
|
+
# Obtenir une entreprise (unité légale) identifiée par son idInstance
|
|
589
|
+
# @param id_instance [String]
|
|
590
|
+
# @param [Hash] opts the optional parameters
|
|
591
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
592
|
+
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
593
|
+
if @api_client.config.debugging
|
|
594
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get ...'
|
|
595
|
+
end
|
|
596
|
+
# verify the required parameter 'id_instance' is set
|
|
597
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
598
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get"
|
|
599
|
+
end
|
|
600
|
+
# resource path
|
|
601
|
+
local_var_path = '/api/v1/afnor/directory/v1/siren/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
602
|
+
|
|
603
|
+
# query parameters
|
|
604
|
+
query_params = opts[:query_params] || {}
|
|
605
|
+
|
|
606
|
+
# header parameters
|
|
607
|
+
header_params = opts[:header_params] || {}
|
|
608
|
+
# HTTP header 'Accept' (if needed)
|
|
609
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
610
|
+
|
|
611
|
+
# form parameters
|
|
612
|
+
form_params = opts[:form_params] || {}
|
|
613
|
+
|
|
614
|
+
# http body (model)
|
|
615
|
+
post_body = opts[:debug_body]
|
|
616
|
+
|
|
617
|
+
# return_type
|
|
618
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
619
|
+
|
|
620
|
+
# auth_names
|
|
621
|
+
auth_names = opts[:debug_auth_names] || []
|
|
622
|
+
|
|
623
|
+
new_options = opts.merge(
|
|
624
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get",
|
|
625
|
+
:header_params => header_params,
|
|
626
|
+
:query_params => query_params,
|
|
627
|
+
:form_params => form_params,
|
|
628
|
+
:body => post_body,
|
|
629
|
+
:auth_names => auth_names,
|
|
630
|
+
:return_type => return_type
|
|
631
|
+
)
|
|
632
|
+
|
|
633
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
634
|
+
if @api_client.config.debugging
|
|
635
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
636
|
+
end
|
|
637
|
+
return data, status_code, headers
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# Gets a siret (facility) by SIRET number
|
|
641
|
+
# Obtenir un établissement identifié par son numéro SIRET
|
|
642
|
+
# @param siret [String]
|
|
643
|
+
# @param [Hash] opts the optional parameters
|
|
644
|
+
# @return [Object]
|
|
645
|
+
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get(siret, opts = {})
|
|
646
|
+
data, _status_code, _headers = get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(siret, opts)
|
|
647
|
+
data
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
# Gets a siret (facility) by SIRET number
|
|
651
|
+
# Obtenir un établissement identifié par son numéro SIRET
|
|
652
|
+
# @param siret [String]
|
|
653
|
+
# @param [Hash] opts the optional parameters
|
|
654
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
655
|
+
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(siret, opts = {})
|
|
656
|
+
if @api_client.config.debugging
|
|
657
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get ...'
|
|
658
|
+
end
|
|
659
|
+
# verify the required parameter 'siret' is set
|
|
660
|
+
if @api_client.config.client_side_validation && siret.nil?
|
|
661
|
+
fail ArgumentError, "Missing the required parameter 'siret' when calling AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get"
|
|
662
|
+
end
|
|
663
|
+
# resource path
|
|
664
|
+
local_var_path = '/api/v1/afnor/directory/v1/siret/code-insee:{siret}'.sub('{' + 'siret' + '}', CGI.escape(siret.to_s))
|
|
665
|
+
|
|
666
|
+
# query parameters
|
|
667
|
+
query_params = opts[:query_params] || {}
|
|
668
|
+
|
|
669
|
+
# header parameters
|
|
670
|
+
header_params = opts[:header_params] || {}
|
|
671
|
+
# HTTP header 'Accept' (if needed)
|
|
672
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
673
|
+
|
|
674
|
+
# form parameters
|
|
675
|
+
form_params = opts[:form_params] || {}
|
|
676
|
+
|
|
677
|
+
# http body (model)
|
|
678
|
+
post_body = opts[:debug_body]
|
|
679
|
+
|
|
680
|
+
# return_type
|
|
681
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
682
|
+
|
|
683
|
+
# auth_names
|
|
684
|
+
auth_names = opts[:debug_auth_names] || []
|
|
685
|
+
|
|
686
|
+
new_options = opts.merge(
|
|
687
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get",
|
|
688
|
+
:header_params => header_params,
|
|
689
|
+
:query_params => query_params,
|
|
690
|
+
:form_params => form_params,
|
|
691
|
+
:body => post_body,
|
|
692
|
+
:auth_names => auth_names,
|
|
693
|
+
:return_type => return_type
|
|
694
|
+
)
|
|
695
|
+
|
|
696
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
697
|
+
if @api_client.config.debugging
|
|
698
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
699
|
+
end
|
|
700
|
+
return data, status_code, headers
|
|
701
|
+
end
|
|
702
|
+
|
|
703
|
+
# Gets a siret (facility) by id-instance
|
|
704
|
+
# Obtenir un établissement identifié par son idInstance
|
|
705
|
+
# @param id_instance [String]
|
|
706
|
+
# @param [Hash] opts the optional parameters
|
|
707
|
+
# @return [Object]
|
|
708
|
+
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get(id_instance, opts = {})
|
|
709
|
+
data, _status_code, _headers = get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
710
|
+
data
|
|
711
|
+
end
|
|
712
|
+
|
|
713
|
+
# Gets a siret (facility) by id-instance
|
|
714
|
+
# Obtenir un établissement identifié par son idInstance
|
|
715
|
+
# @param id_instance [String]
|
|
716
|
+
# @param [Hash] opts the optional parameters
|
|
717
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
718
|
+
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
719
|
+
if @api_client.config.debugging
|
|
720
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get ...'
|
|
721
|
+
end
|
|
722
|
+
# verify the required parameter 'id_instance' is set
|
|
723
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
724
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get"
|
|
725
|
+
end
|
|
726
|
+
# resource path
|
|
727
|
+
local_var_path = '/api/v1/afnor/directory/v1/siret/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
728
|
+
|
|
729
|
+
# query parameters
|
|
730
|
+
query_params = opts[:query_params] || {}
|
|
731
|
+
|
|
732
|
+
# header parameters
|
|
733
|
+
header_params = opts[:header_params] || {}
|
|
734
|
+
# HTTP header 'Accept' (if needed)
|
|
735
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
736
|
+
|
|
737
|
+
# form parameters
|
|
738
|
+
form_params = opts[:form_params] || {}
|
|
739
|
+
|
|
740
|
+
# http body (model)
|
|
741
|
+
post_body = opts[:debug_body]
|
|
742
|
+
|
|
743
|
+
# return_type
|
|
744
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
745
|
+
|
|
746
|
+
# auth_names
|
|
747
|
+
auth_names = opts[:debug_auth_names] || []
|
|
748
|
+
|
|
749
|
+
new_options = opts.merge(
|
|
750
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get",
|
|
751
|
+
:header_params => header_params,
|
|
752
|
+
:query_params => query_params,
|
|
753
|
+
:form_params => form_params,
|
|
754
|
+
:body => post_body,
|
|
755
|
+
:auth_names => auth_names,
|
|
756
|
+
:return_type => return_type
|
|
757
|
+
)
|
|
758
|
+
|
|
759
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
760
|
+
if @api_client.config.debugging
|
|
761
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
762
|
+
end
|
|
763
|
+
return data, status_code, headers
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
# Partially updates a directory line
|
|
767
|
+
# Mettre à jour partiellement une ligne d'annuaire
|
|
768
|
+
# @param id_instance [String]
|
|
769
|
+
# @param [Hash] opts the optional parameters
|
|
770
|
+
# @return [Object]
|
|
771
|
+
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch(id_instance, opts = {})
|
|
772
|
+
data, _status_code, _headers = patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
773
|
+
data
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# Partially updates a directory line
|
|
777
|
+
# Mettre à jour partiellement une ligne d'annuaire
|
|
778
|
+
# @param id_instance [String]
|
|
779
|
+
# @param [Hash] opts the optional parameters
|
|
780
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
781
|
+
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
782
|
+
if @api_client.config.debugging
|
|
783
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch ...'
|
|
784
|
+
end
|
|
785
|
+
# verify the required parameter 'id_instance' is set
|
|
786
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
787
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch"
|
|
788
|
+
end
|
|
789
|
+
# resource path
|
|
790
|
+
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
791
|
+
|
|
792
|
+
# query parameters
|
|
793
|
+
query_params = opts[:query_params] || {}
|
|
794
|
+
|
|
795
|
+
# header parameters
|
|
796
|
+
header_params = opts[:header_params] || {}
|
|
797
|
+
# HTTP header 'Accept' (if needed)
|
|
798
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
799
|
+
|
|
800
|
+
# form parameters
|
|
801
|
+
form_params = opts[:form_params] || {}
|
|
802
|
+
|
|
803
|
+
# http body (model)
|
|
804
|
+
post_body = opts[:debug_body]
|
|
805
|
+
|
|
806
|
+
# return_type
|
|
807
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
808
|
+
|
|
809
|
+
# auth_names
|
|
810
|
+
auth_names = opts[:debug_auth_names] || []
|
|
811
|
+
|
|
812
|
+
new_options = opts.merge(
|
|
813
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch",
|
|
814
|
+
:header_params => header_params,
|
|
815
|
+
:query_params => query_params,
|
|
816
|
+
:form_params => form_params,
|
|
817
|
+
:body => post_body,
|
|
818
|
+
:auth_names => auth_names,
|
|
819
|
+
:return_type => return_type
|
|
820
|
+
)
|
|
821
|
+
|
|
822
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
823
|
+
if @api_client.config.debugging
|
|
824
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
825
|
+
end
|
|
826
|
+
return data, status_code, headers
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
# Partially update a private routing code
|
|
830
|
+
# Mettre à jour partiellement un code de routage privé
|
|
831
|
+
# @param id_instance [String]
|
|
832
|
+
# @param [Hash] opts the optional parameters
|
|
833
|
+
# @return [Object]
|
|
834
|
+
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch(id_instance, opts = {})
|
|
835
|
+
data, _status_code, _headers = patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
836
|
+
data
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
# Partially update a private routing code
|
|
840
|
+
# Mettre à jour partiellement un code de routage privé
|
|
841
|
+
# @param id_instance [String]
|
|
842
|
+
# @param [Hash] opts the optional parameters
|
|
843
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
844
|
+
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
845
|
+
if @api_client.config.debugging
|
|
846
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch ...'
|
|
847
|
+
end
|
|
848
|
+
# verify the required parameter 'id_instance' is set
|
|
849
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
850
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch"
|
|
851
|
+
end
|
|
852
|
+
# resource path
|
|
853
|
+
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
854
|
+
|
|
855
|
+
# query parameters
|
|
856
|
+
query_params = opts[:query_params] || {}
|
|
857
|
+
|
|
858
|
+
# header parameters
|
|
859
|
+
header_params = opts[:header_params] || {}
|
|
860
|
+
# HTTP header 'Accept' (if needed)
|
|
861
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
862
|
+
|
|
863
|
+
# form parameters
|
|
864
|
+
form_params = opts[:form_params] || {}
|
|
865
|
+
|
|
866
|
+
# http body (model)
|
|
867
|
+
post_body = opts[:debug_body]
|
|
868
|
+
|
|
869
|
+
# return_type
|
|
870
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
871
|
+
|
|
872
|
+
# auth_names
|
|
873
|
+
auth_names = opts[:debug_auth_names] || []
|
|
874
|
+
|
|
875
|
+
new_options = opts.merge(
|
|
876
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch",
|
|
877
|
+
:header_params => header_params,
|
|
878
|
+
:query_params => query_params,
|
|
879
|
+
:form_params => form_params,
|
|
880
|
+
:body => post_body,
|
|
881
|
+
:auth_names => auth_names,
|
|
882
|
+
:return_type => return_type
|
|
883
|
+
)
|
|
884
|
+
|
|
885
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
886
|
+
if @api_client.config.debugging
|
|
887
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
888
|
+
end
|
|
889
|
+
return data, status_code, headers
|
|
890
|
+
end
|
|
891
|
+
|
|
892
|
+
# Completely update a private routing code
|
|
893
|
+
# Mettre à jour complètement un code de routage privé
|
|
894
|
+
# @param id_instance [String]
|
|
895
|
+
# @param [Hash] opts the optional parameters
|
|
896
|
+
# @return [Object]
|
|
897
|
+
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put(id_instance, opts = {})
|
|
898
|
+
data, _status_code, _headers = put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts)
|
|
899
|
+
data
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
# Completely update a private routing code
|
|
903
|
+
# Mettre à jour complètement un code de routage privé
|
|
904
|
+
# @param id_instance [String]
|
|
905
|
+
# @param [Hash] opts the optional parameters
|
|
906
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
907
|
+
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts = {})
|
|
908
|
+
if @api_client.config.debugging
|
|
909
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put ...'
|
|
910
|
+
end
|
|
911
|
+
# verify the required parameter 'id_instance' is set
|
|
912
|
+
if @api_client.config.client_side_validation && id_instance.nil?
|
|
913
|
+
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put"
|
|
914
|
+
end
|
|
915
|
+
# resource path
|
|
916
|
+
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
917
|
+
|
|
918
|
+
# query parameters
|
|
919
|
+
query_params = opts[:query_params] || {}
|
|
920
|
+
|
|
921
|
+
# header parameters
|
|
922
|
+
header_params = opts[:header_params] || {}
|
|
923
|
+
# HTTP header 'Accept' (if needed)
|
|
924
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
925
|
+
|
|
926
|
+
# form parameters
|
|
927
|
+
form_params = opts[:form_params] || {}
|
|
928
|
+
|
|
929
|
+
# http body (model)
|
|
930
|
+
post_body = opts[:debug_body]
|
|
931
|
+
|
|
932
|
+
# return_type
|
|
933
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
934
|
+
|
|
935
|
+
# auth_names
|
|
936
|
+
auth_names = opts[:debug_auth_names] || []
|
|
937
|
+
|
|
938
|
+
new_options = opts.merge(
|
|
939
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put",
|
|
940
|
+
:header_params => header_params,
|
|
941
|
+
:query_params => query_params,
|
|
942
|
+
:form_params => form_params,
|
|
943
|
+
:body => post_body,
|
|
944
|
+
:auth_names => auth_names,
|
|
945
|
+
:return_type => return_type
|
|
946
|
+
)
|
|
947
|
+
|
|
948
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
949
|
+
if @api_client.config.debugging
|
|
950
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
951
|
+
end
|
|
952
|
+
return data, status_code, headers
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
# Search for a directory line
|
|
956
|
+
# Rechercher des lignes d'annuaire selon des critères
|
|
957
|
+
# @param [Hash] opts the optional parameters
|
|
958
|
+
# @return [Object]
|
|
959
|
+
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post(opts = {})
|
|
960
|
+
data, _status_code, _headers = search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(opts)
|
|
961
|
+
data
|
|
962
|
+
end
|
|
963
|
+
|
|
964
|
+
# Search for a directory line
|
|
965
|
+
# Rechercher des lignes d'annuaire selon des critères
|
|
966
|
+
# @param [Hash] opts the optional parameters
|
|
967
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
968
|
+
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(opts = {})
|
|
969
|
+
if @api_client.config.debugging
|
|
970
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post ...'
|
|
971
|
+
end
|
|
972
|
+
# resource path
|
|
973
|
+
local_var_path = '/api/v1/afnor/directory/v1/directory-line/search'
|
|
974
|
+
|
|
975
|
+
# query parameters
|
|
976
|
+
query_params = opts[:query_params] || {}
|
|
977
|
+
|
|
978
|
+
# header parameters
|
|
979
|
+
header_params = opts[:header_params] || {}
|
|
980
|
+
# HTTP header 'Accept' (if needed)
|
|
981
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
982
|
+
|
|
983
|
+
# form parameters
|
|
984
|
+
form_params = opts[:form_params] || {}
|
|
985
|
+
|
|
986
|
+
# http body (model)
|
|
987
|
+
post_body = opts[:debug_body]
|
|
988
|
+
|
|
989
|
+
# return_type
|
|
990
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
991
|
+
|
|
992
|
+
# auth_names
|
|
993
|
+
auth_names = opts[:debug_auth_names] || []
|
|
994
|
+
|
|
995
|
+
new_options = opts.merge(
|
|
996
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post",
|
|
997
|
+
:header_params => header_params,
|
|
998
|
+
:query_params => query_params,
|
|
999
|
+
:form_params => form_params,
|
|
1000
|
+
:body => post_body,
|
|
1001
|
+
:auth_names => auth_names,
|
|
1002
|
+
:return_type => return_type
|
|
1003
|
+
)
|
|
1004
|
+
|
|
1005
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1006
|
+
if @api_client.config.debugging
|
|
1007
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1008
|
+
end
|
|
1009
|
+
return data, status_code, headers
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
# Search for a routing code
|
|
1013
|
+
# Rechercher des codes de routage selon des critères
|
|
1014
|
+
# @param [Hash] opts the optional parameters
|
|
1015
|
+
# @return [Object]
|
|
1016
|
+
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post(opts = {})
|
|
1017
|
+
data, _status_code, _headers = search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(opts)
|
|
1018
|
+
data
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
# Search for a routing code
|
|
1022
|
+
# Rechercher des codes de routage selon des critères
|
|
1023
|
+
# @param [Hash] opts the optional parameters
|
|
1024
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1025
|
+
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(opts = {})
|
|
1026
|
+
if @api_client.config.debugging
|
|
1027
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post ...'
|
|
1028
|
+
end
|
|
1029
|
+
# resource path
|
|
1030
|
+
local_var_path = '/api/v1/afnor/directory/v1/routing-code/search'
|
|
1031
|
+
|
|
1032
|
+
# query parameters
|
|
1033
|
+
query_params = opts[:query_params] || {}
|
|
1034
|
+
|
|
1035
|
+
# header parameters
|
|
1036
|
+
header_params = opts[:header_params] || {}
|
|
1037
|
+
# HTTP header 'Accept' (if needed)
|
|
1038
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1039
|
+
|
|
1040
|
+
# form parameters
|
|
1041
|
+
form_params = opts[:form_params] || {}
|
|
1042
|
+
|
|
1043
|
+
# http body (model)
|
|
1044
|
+
post_body = opts[:debug_body]
|
|
1045
|
+
|
|
1046
|
+
# return_type
|
|
1047
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
1048
|
+
|
|
1049
|
+
# auth_names
|
|
1050
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1051
|
+
|
|
1052
|
+
new_options = opts.merge(
|
|
1053
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post",
|
|
1054
|
+
:header_params => header_params,
|
|
1055
|
+
:query_params => query_params,
|
|
1056
|
+
:form_params => form_params,
|
|
1057
|
+
:body => post_body,
|
|
1058
|
+
:auth_names => auth_names,
|
|
1059
|
+
:return_type => return_type
|
|
1060
|
+
)
|
|
1061
|
+
|
|
1062
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1063
|
+
if @api_client.config.debugging
|
|
1064
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1065
|
+
end
|
|
1066
|
+
return data, status_code, headers
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
# SIREN search (or legal unit)
|
|
1070
|
+
# Recherche multi-critères d'entreprises (unités légales)
|
|
1071
|
+
# @param [Hash] opts the optional parameters
|
|
1072
|
+
# @return [Object]
|
|
1073
|
+
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post(opts = {})
|
|
1074
|
+
data, _status_code, _headers = search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(opts)
|
|
1075
|
+
data
|
|
1076
|
+
end
|
|
1077
|
+
|
|
1078
|
+
# SIREN search (or legal unit)
|
|
1079
|
+
# Recherche multi-critères d'entreprises (unités légales)
|
|
1080
|
+
# @param [Hash] opts the optional parameters
|
|
1081
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1082
|
+
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(opts = {})
|
|
1083
|
+
if @api_client.config.debugging
|
|
1084
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post ...'
|
|
1085
|
+
end
|
|
1086
|
+
# resource path
|
|
1087
|
+
local_var_path = '/api/v1/afnor/directory/v1/siren/search'
|
|
1088
|
+
|
|
1089
|
+
# query parameters
|
|
1090
|
+
query_params = opts[:query_params] || {}
|
|
1091
|
+
|
|
1092
|
+
# header parameters
|
|
1093
|
+
header_params = opts[:header_params] || {}
|
|
1094
|
+
# HTTP header 'Accept' (if needed)
|
|
1095
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1096
|
+
|
|
1097
|
+
# form parameters
|
|
1098
|
+
form_params = opts[:form_params] || {}
|
|
1099
|
+
|
|
1100
|
+
# http body (model)
|
|
1101
|
+
post_body = opts[:debug_body]
|
|
1102
|
+
|
|
1103
|
+
# return_type
|
|
1104
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
1105
|
+
|
|
1106
|
+
# auth_names
|
|
1107
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1108
|
+
|
|
1109
|
+
new_options = opts.merge(
|
|
1110
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post",
|
|
1111
|
+
:header_params => header_params,
|
|
1112
|
+
:query_params => query_params,
|
|
1113
|
+
:form_params => form_params,
|
|
1114
|
+
:body => post_body,
|
|
1115
|
+
:auth_names => auth_names,
|
|
1116
|
+
:return_type => return_type
|
|
1117
|
+
)
|
|
1118
|
+
|
|
1119
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1120
|
+
if @api_client.config.debugging
|
|
1121
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
138
1122
|
end
|
|
139
1123
|
return data, status_code, headers
|
|
140
1124
|
end
|
|
141
1125
|
|
|
142
|
-
#
|
|
143
|
-
#
|
|
1126
|
+
# Search for a SIRET (facility)
|
|
1127
|
+
# Recherche multi-critères d'établissements
|
|
144
1128
|
# @param [Hash] opts the optional parameters
|
|
145
1129
|
# @return [Object]
|
|
146
|
-
def
|
|
147
|
-
data, _status_code, _headers =
|
|
1130
|
+
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post(opts = {})
|
|
1131
|
+
data, _status_code, _headers = search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(opts)
|
|
148
1132
|
data
|
|
149
1133
|
end
|
|
150
1134
|
|
|
151
|
-
#
|
|
152
|
-
#
|
|
1135
|
+
# Search for a SIRET (facility)
|
|
1136
|
+
# Recherche multi-critères d'établissements
|
|
153
1137
|
# @param [Hash] opts the optional parameters
|
|
154
1138
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
155
|
-
def
|
|
1139
|
+
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(opts = {})
|
|
156
1140
|
if @api_client.config.debugging
|
|
157
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.
|
|
1141
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post ...'
|
|
158
1142
|
end
|
|
159
1143
|
# resource path
|
|
160
|
-
local_var_path = '/api/v1/afnor/directory/v1/
|
|
1144
|
+
local_var_path = '/api/v1/afnor/directory/v1/siret/search'
|
|
161
1145
|
|
|
162
1146
|
# query parameters
|
|
163
1147
|
query_params = opts[:query_params] || {}
|
|
@@ -180,7 +1164,7 @@ module FactPulse
|
|
|
180
1164
|
auth_names = opts[:debug_auth_names] || []
|
|
181
1165
|
|
|
182
1166
|
new_options = opts.merge(
|
|
183
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.
|
|
1167
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post",
|
|
184
1168
|
:header_params => header_params,
|
|
185
1169
|
:query_params => query_params,
|
|
186
1170
|
:form_params => form_params,
|
|
@@ -191,7 +1175,7 @@ module FactPulse
|
|
|
191
1175
|
|
|
192
1176
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
193
1177
|
if @api_client.config.debugging
|
|
194
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#
|
|
1178
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
195
1179
|
end
|
|
196
1180
|
return data, status_code, headers
|
|
197
1181
|
end
|