Cloud Elements currently supports events via polling or webhooks depending on the endpoint.
n minutes and captures the changed information.If you would like to see more information on our Events framework, please see the Event Management Guide.
The Concur element supports polling.
You can configure Polling through the UI or in the JSON body of the /instances API call.
To add polling when authenticating through the UI:
When finished adding your polling configuration, the Event Configuration section should look like this:

To add polling when authenticating through the /instances API call, add the following to the configuration object in the JSON body.
{
"event.notification.enabled": "true",
"event.vendor.type": "polling",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>",
"event.notification.signature.key": "<INSERT_SIGNATURE_KEY>",
"event.poller.configuration": "{}"
}
event.notification.signature.key is optional. {
"element": {
"key": "concur"
},
"configuration": {
"oauth.api.key":"UPjRvqOyYz9hDdWLLLLuQV",
"oauth.api.secret":"GNnU6D7uvWMjOyOEsU7uL1Xc4iaEdEOa",
"oauth.callback.url":"https://httpbin.org/get",
"event.vendor.type": "polling",
"event.notification.callback.url": "http://mycoolstore.com",
"event.notification.signature.key": "123456",
"event.poller.configuration": {
"reports": {
"url": "/hubs/expense/reports?where=modifiedDateAfter='${date:yyyy-MM-dd'T'HH:mm:ss.SSS}'",
"idField": "ID",
"datesConfiguration": {
"updatedDateField": "LastModifiedDate",
"updatedDateFormat": "yyyy-MM-dd'T'HH:mm:ss.SSS",
"createdDateField": "CreateDate",
"createdDateFormat": "yyyy-MM-dd'T'HH:mm:ss.SSS"
}
}
}
},
"tags": [
"Docs"
],
"name": "ConcurForDocs"
}