We have cloud to cloud integration requirement where we need to implement business logic in Sender Rest Adapter Dynamic URL.
https:// . zendesk.com/api/v2/incremental/tickets.json?{start_time=1481346079}
1. Is there anyway to create timestamp format for UNIX epoch time.
Below are the details:
ZENDESK to C4C Scenario requirement:
SAP PI system has to fetch the tickets from Zendesk by passing URL with dynamic data. The dynamic URL will be based on business logic to derive the timestamp value using Unix Epoch Time & Current Date Time in the sender REST adapter.
Business Logic of REST Seder adapter dynamic URL as follows:
Timestamp (in seconds) Unix epoch time - current time Unix epoch (Fixed) Jan 1st 1970 00:00:00 Current Date Time (Variable) Feb 15 2017 10:00:00 Timestamp value (Unix epoch - current time) 1487120000 seconds
Example URL: https:// . zendesk.com/api/v2/incremental/tickets.json?{start_time=1481346079}
UNIX epoch time is in the brackets of example URL.
Scenario end to end business requirement:
SAP PI Limitation to implement business logic: