The Push JSON to an External Website output connector can be used to push event data, adapted and formatted as generic JSON, to an external website. ArcGIS GeoEvent Server, as a client, pushes JSON to the external website using an HTTP/POST request.
Usage notes
Keep the following in mind when using the Push JSON to an External Website output connector:
- This output connector adapts event data as generic JSON as opposed to feature JSON or GeoJSON.
- This output connector pairs the Generic JSON outbound adapter with the HTTP outbound transport.
- A generic JSON record does not have to contain data that represents a geometry. Nonspatial data can be sent to an external website.
- Query parameters can be specified separately in the Parameters parameter or constructed as part of the URL parameter.
- This output connector assumes the external web server or web service will accept HTTP/POST requests without requiring authentication. For external websites requiring authentication, consider creating a custom output connector that uses the Generic JSON outbound adapter and an HTTP outbound transport that supports basic, certificate, or OAuth authentication.
Parameters
The following are the parameters for the Push JSON to an External Website output connector:
Parameter | Description |
---|---|
Name | A descriptive name for the output connector used for reference in GeoEvent Manager. |
URL | The base URL of the external website data will be pushed to. GeoEvent Server will issue an HTTP/POST request to the URL to send the JSON data. |
Header Parameter Name:Value List | The parameters to include in a request’s HTTP header when an external web server or web service is polled. The header parameters should be specified using Name:Value pairs (colon included) separated by commas. |
Formatted JSON | Specifies whether the generic JSON is formatted (prettified).The default for this parameter is No.
|
Parameters | A query parameter (or multiple query parameters) to append to the base URL. Query parameters are specific to each web service and are not supported by all services. When supported, query parameters help specify data of particular interest. This parameter has no default value. |
Use URL Proxy | Specifies whether GeoEvent Server uses a URL proxy when making its HTTP requests. The default is No.
|
URL Proxy (Conditional) | The URL proxy to use when making an HTTP request. This parameter is shown when Use URL Proxy is set to Yes and is hidden when it's set to No. |
Post body MIME Type | The MIME type of data included in the HTTP/POST request's content body. MIME types typically consist of a type and subtype structure and are used to specify the internet media types used and accepted by an HTTP client and server. This connector specifies the following MIME type for JSON application/json, which is the default for this parameter: |
HTTP Timeout (in seconds) | The maximum time (in seconds) the output connector waits for a response from the external web service it has issued an HTTP/POST request to. The value must be an integer between 1 and 2147483. The default value is 30 seconds (the HTTP/POST request times out after 30 seconds if no response is received). |