Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
DMeng
Partner - Contributor
Partner - Contributor

Call a salesforce apex rest

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

Labels (2)
1 Reply
jeoste
Creator II
Creator II

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