AnsweredAssumed Answered

Can I use information from a geoevent definition in a HTTP/JSON output connector URL?

Question asked by tweitzel on Dec 19, 2016
Latest reply on Jan 3, 2017 by MBramer-esristaff

I'd like to use GeoEvent to push data to a RESTful web service. The service follows REST conventions for resources where the ID of the resource is part of the service URL. To properly construct the URL for my output connector then, I need to pull data out of the geoevent definition data and append it to the URL to which GeoEvent will attempt an HTTP PUT. 

For example, the data that's sent to my HTTP/JSON output connector looks something like

{

  "ID":"99-001",

  "Latitude":33.58202,

  "Longitude":-117.1234

 

}

 

The URL needs to be something like http://server/action/ID where the 'ID' part of the path needs to be replaced with the ID attribute from the data above.

 

Is this possible?

 

Thanks,

Tom

Outcomes