SAP Open Connectors

Reset Last Poll Date

There may be certain scenarios where you need to reset the Last Poll Date to retrieve old events. To do this via the UI, complete these steps:

  1. Sign in to the SAP Open Connectors platform and navigate to the API docs for your specific instance.
  2. Go to GET /{objectName}/{objectId}/{childObjectName} and call GET /instances/{objectId}/event-poller-records 
  3. Use this endpoint: PATCH /{objectName}/{objectId}/{childObjectName}/{childObjectId} and call PATCH /instances/{objectId}/event-poller-records/{childObjectId} using a body in the following format with the new poll date:
    { "lastPollISO8601": "2020-11-06T07:15:10-18:00" }

Alternatively, this can also be done via API by pasting the following curl request:

curl --location --request GET 'https://staging.cloud-elements.com/elements/api-v2/instances/[your Instance ID]/event-poller-records' \
--header 'accept: application/json' \
--header 'Authorization: User [your User secret], Organization [your Org secret], Element [your connector]'