on 09-25-2018 10:03 AM
I have a requirement of getting Sales orders from eBay and will use their fulfillment api to get orders. However i am new to REST and I wanted to get something working in Postman or another API tool before configuring / developing anything in PI.
From what i've read i should be able to use OAuth 2.0 but in my instance of PI 7.5 Hana I only seem to have Concur OAuth2.0 as an option, with my Oauth request, is it possible to use the Concur Oauth 2.0 selection and just modify settings to suit my call?
Does anybody have a guide on using postman with rest for eBay calls -i've tried using their test tool but keep getting errors about authentication even though i've got a developer account and that account is authorised to the 3rd party application.
Just some step by step guides on 1) entering end point 2) what headers to use 3) how to put in further filters would be useful.
Thanks
George.
To be honest i ended up using the oldschool version of 'user' and 'password'.
I did get oauth2.0 working for amazon though if anyone needs any help with that !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello George
Were you able to solve this ? Are you using SAP PI7.5 standard feature to get token and manage the scope as well. I guess current PI Oauth2 functionality uses new token every call instead using the old one which is within the expiry scope.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George Applegate,
Can you check with eBay team with OAUTH2.0 details like what is grant type?
For PI 7.5, we should have OAUTH2.0 login option. Please check if you need to import any patch or upgrade SP level.
Please check if SAP Note 2405166 helps you.....
BR,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please revert with you valuable suggestion, Thanks much in advance.
https://answers.sap.com/questions/12882619/how-to-store-and-retrieve-oauth-tokens-in-sap-po.html
Ive checked the "Rest adaptor dont be scared" post, but it doesnt detail how to handle the 2 step approach that eBay requires to handle the Oauth2.0 connection.
Ideally id connect using ARC or postman before hand so i can get the wsdl so i can begin my pi build.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
George ,
As per eBay's developer link , it supports client credential/auth code Oauth and these are supported by REST adapter.
Br,
Manoj
Hi
Yes i just found a sap note: https://launchpad.support.sap.com/#/notes/2405166 that contains the grant auth type selection as per screen shot:
Now all i need to do is find a suitable guide to get me connected, seem to be getting a lot of auth errors in postman even though i've authorised my developer account to access the 3rd party's ebay account. Any tips are welcome !
Hi,
I REST adapter there is an
Flow option called "OAuth 2.0 Grant type flow"
OAuth 2.0 Grant Type = Client Credentials Grant.
Use this to to call your ebay services.
Thanks,
Apu
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.