Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good morning everyone,
I need to call a Salesforce apex rest, using the Talend plugin it doesn't seem possible, so I'm trying to create a rest call for the Salesforce token first.
Could anyone help me at least on the second step?
Many thanks
Hello,
Assuming that you're using ETL, you can achieve this with tREST component.
To get the token you need to do a get with a first tREST, store the content of the result, and use it in the header of the second tREST to retrieve the data
https://community.qlik.com/t5/Design-and-Development/REST-API-using-HTTPS-tokens-or-OAUTH/td-p/22041...
Edit : adding the documentation of token with SF apex rest
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_oauth_tokens.htm