Sai Kumar Devulapelli
07/05/2023, 9:24 AM<https://registre-national-entreprises.fr/api/companies/diff> i got the records as a json
[
{
"company": {
"updatedAt": "2023-07-05T01:28:21+02:00",
"id": "64a4ab15779d4bbf370ceb23",
"formality": {
}
}
}
]
Some data like this and its working well.
** I have some other API where i should give the value implicitly and read the id (Because i have lot of id’s) and extract the data.
<https://registre-national-entreprises.fr/api/companies/{{> config['id'] }}/attachments
this says the request failed.
I hope someone might tried this earlier and please give suggesstions and solution. That would be really helpful.
Thanks in advance !!kapa.ai
07/05/2023, 9:24 AMkapa.ai
07/05/2023, 9:24 AM/exchangerates_data/{{ stream_interval.start_time }} to inject the date to fetch data for into the path of the request. This is mentioned in the [tutorial](https://docs.airbyte.com/connector-development/connector-builder-ui/tutorial) on the Airbyte documentation. However, the specific issue you're facing might be due to how you're trying to inject the 'id' into the URL. The correct syntax should be /api/companies/{{ config['id'] }}/attachments. If you're still facing issues, it might be due to how the 'id' is being passed or if it's available in the context. For more detailed help, I would recommend reaching out on the [Airbyte community Slack Channel](https://airbyte.io/community) or posting a question on [Airbyte’s discourse](https://discuss.airbyte.io/).Joe Reuter (Airbyte)
07/05/2023, 10:46 AMSai Kumar Devulapelli
07/05/2023, 11:26 AMretriever:
type: SimpleRetriever
requester:
type: HttpRequester
url_base: <https://registre-national-entreprises.inpi.fr/api/>
path: '"/companies/{{ config[''siren''] }}/attachments"'
http_method: GET
request_parameters: {}
request_headers: {}
authenticator:
type: OAuthAuthenticator
client_id: '{{ config[''client_id''] }}'
grant_type: refresh_token
client_secret: '{{ config[''client_secret''] }}'
refresh_token: '{{ config[''client_refresh_token''] }}'
refresh_request_body: {}Joe Reuter (Airbyte)
07/05/2023, 11:47 AMSai Kumar Devulapelli
07/05/2023, 11:49 AMJoe Reuter (Airbyte)
07/05/2023, 11:53 AMJoe Reuter (Airbyte)
07/05/2023, 11:53 AMJoe Reuter (Airbyte)
07/05/2023, 11:53 AMsiren in this case)Joe Reuter (Airbyte)
07/05/2023, 11:54 AMsiren something from the records of the other stream?Sai Kumar Devulapelli
07/05/2023, 11:54 AMJoe Reuter (Airbyte)
07/05/2023, 11:55 AMSai Kumar Devulapelli
07/05/2023, 11:56 AMSai Kumar Devulapelli
07/05/2023, 12:56 PMSai Kumar Devulapelli
07/05/2023, 12:56 PMJoe Reuter (Airbyte)
07/05/2023, 12:57 PMJoe Reuter (Airbyte)
07/05/2023, 12:57 PMJoe Reuter (Airbyte)
07/05/2023, 12:57 PMMaxime Carbonneau-Leclerc (Airbyte)
07/05/2023, 1:03 PMJoe Reuter (Airbyte)
07/05/2023, 1:04 PMSai Kumar Devulapelli
07/05/2023, 1:04 PMSai Kumar Devulapelli
07/05/2023, 1:06 PMJoe Reuter (Airbyte)
07/05/2023, 1:08 PMJoe Reuter (Airbyte)
07/05/2023, 1:08 PMsirenMaxime Carbonneau-Leclerc (Airbyte)
07/05/2023, 1:11 PMSai Kumar Devulapelli
07/05/2023, 1:12 PMJoe Reuter (Airbyte)
07/05/2023, 1:12 PMSai Kumar Devulapelli
07/05/2023, 1:13 PMJoe Reuter (Airbyte)
07/05/2023, 1:14 PMSai Kumar Devulapelli
07/05/2023, 1:14 PMSai Kumar Devulapelli
07/05/2023, 1:15 PM