Dynamic parameters for GeoEvent XML input connector

822
1
06-05-2017 12:56 PM
AllWeatherHeather
Occasional Contributor

I have a "Poll an External Website for XML" input connector configured in GeoEvent manager and I have set the following parameters apiKey=**lksjdfs&startDate=2017-05-31T10:00:00&endDate=2017-05-31T18:00:00

Does anyone know a way that I can set dynamic dates as part of parameters like this? Ideally I would have it poll the last 15-30 minutes (or something like that) instead of a hard-coded date range. I've learned form the vendor of this data that no more than 1000 records will be returned and that the maximum window size is 8 hours.

Any advice would be appreciated!

1 Reply
Nadiia_Matsiuk
New Contributor III

@AllWeatherHeather , Hi!

It is very interesting task. I have the same problem (actually, I use poll an external website for JSON, but search any advice). Can you, please, tell me do you found the solve of this question?

At now I get the data about weather in 25 cities by using 25 separate input. But I want to improve this perfomance and use parameters in input configure - use parameters like city_name=name1&city_name=name2 etc. Is this possible way to get info?

Thanks a lot!

0 Kudos