Google Rest Client
This extension of Google client can help us in creating a similar situation (In most cases) that can assist our understanding of the OData API issue and hence help in resolving them.
- Necessary permissions required to run the OData API calls which are configured in Provisioning and in customer instance. (Please refer to Odata API guides/handbooks that explain the configuration)
- Google Chrome browser with ‘Rest” Add-on.
How do we begin once we have the rest client added to Google chrome browser?
Setting up the Authorization
Let’s assume the below Successfactors salesdemo system logon information:
Company Name – CandyShop
Username – Admin
Password – Chocolate!
Send authentication with the http header by parameter “Authorization” base64 encode string should be of the format username@company:password
Ie, in this case - Admin@CandyShop:Chocolate! Preceded with the word “Basic” and a space in front of it.
Base64 encoder available in notepad++ as plugin (and also via several online Base64 encode tools)
We get the string as QWRtaW5AQ2FuZHlTaG9wOkNob2NvbGF0ZSE=
Now the header should look like:
Authorization: Basic QWRtaW5AQ2FuZHlTaG9wOkNob2NvbGF0ZSE=
Http operation (Query,Upsert,Update etc) can be specified in the tab as shown in the below picture. In this example, we use Query (GET) operation.
We can test the API tool as shown in the below examples:
An example Query URL -
- From the above request URL, We observe – We are fetching all the information of the employee with their personIdExternal = rus5 , from the Odata API entity = PerPersonal
- Click “Send” at the bottom.
Second Example – (Using Navigations)
From the Query, We understand that,
Json Format is used, Filter the employee who has their email = firstname.lastname@example.org and fetch their First name.
Rest stands for Representational state transfer. We can utilize this to run Odata API calls.
For additional info on the extension – Referhttp://en.wikipedia.org/wiki/Representational_state_transfer
Downloading the application
Using Rest client, Google Rest introduction, working with rest api , KBA , LOD-SF-INT , Integrations , How To