Skip to Content
0
Jun 02, 2020 at 03:34 AM

IncrementalToken value not appended in Sender REST Adapter polling url

156 Views Last edit Jun 02, 2020 at 03:39 AM 2 rev

Hi Team,

we have a scenario to add 'id' value as the incrementalToken from the previous message to poll the next message <id>z/2020/06/01/22/40/1591051254064-0000000</id>.

Json file:

{"events":[{"id":"z/2020/05/11/21/43/1589233434274-0000000","payload":

URL - https://abcd/api/stream/Invoice/{incrementalToken}

Tried by both the options given in the adapter configuration

id format is - z/YEAR/MONTH/DAY/HOUR/MINUTE/Unix Epoch Time

a) Incremental requests as IncrementalType - Timestamp of Last Call

The url as follows - url.jpg

incrementaltoken.jpg

Error - the previous message 'id' value is not populating in the url

b) Incremental requests as IncrementalType - Response Content

Tried by providing the Json xpath but the errror message is JSON xpath is incorrect.

responsecontect.jpg

Please share the thoughts to add the previous 'id' value in the url.

Thanks,

Ravi M

Attachments

url.jpg (64.7 kB)