on 06-25-2015 12:06 PM
Dear All,
I have the requirement to fetch data(GET operation) from REST webservice.
For that I am using REST sender polling adapter.
I fetched the data from REST webservice when I call the Target URL like below
https://tools-dev:9307/ceres/data/basic?lastChangedTime=2015-06-25T11:30:00Z
The value '2015-06-25T11:30:00Z mentioned in the URL should be dynamic.It should be change automatically with current date and timestamp when PI call the webservice.
Accroding to SAP help document :Configuring the Sender REST Adapter with Polling - Advanced Adapter Engine - SAP Library
I should be used incremental key. but I could n't find the way how the get dynamic value in URL.
Please suggest me on this if you have an idea.
Thank you very much.
With Best Regards,
Sateesh N
Sateesh,
Please check this blog, which has REST dynamic URL
If you want to trigger a message from PI itself. You place a trigger file in some folder, get the time in mapping and perform Asyn-sync bridge. Link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My problem was resolved on dynamic value generation.
https://tools-dev:9307/ceres/data/basic?lastChangedTime={incrementalToken}
But make sure your SAP XIAF is updated latest patch level.
Thank you
Sateesh
Hi Sateesh,
I am using the REST Polling adapter where my URL is
https://crust.impl.com/API/Employee?End_Date=2016-03-03-08:00&Start_Date=2016-01-01-08:00
Here my End Date is current date and Start Date is when my interface last ran, so I can use {IncrementalToken} for Start_Date which can be configured thru Incremental token of last run, how do I pass current date timestamp for End_Date
Thanks
Ravijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.