Hello Q �??Here�??s a summary of the steps you need to follow to use �??Receive Features on a REST endpoint�?? input connector. The forum only allows five images to be uploaded per post, so I've included a PDF of the remarks below with additional screenshots as a separate reply.1) Create an Input using the provided �??Receive Features on a REST endpoint�?? input connector template a. I�??d recommend configuring the input connector to create a GeoEvent Definition for you:[ATTACH=CONFIG]28448[/ATTACH]2) Create an Output using the provided �??Write to a .json file�?? output connector template a. You�??ll need to register a system folder with GEP as a Data Store b. I registered C:\arcgisserver\GeoEvent_Files as �??GeoEvent_Files�?? and have my connectors write to an �??output�?? sub-folder (see screenshot below)[ATTACH=CONFIG]28449[/ATTACH]3) Design and publish the GeoEvent Service which uses the input and output connectors to receive the feature JSON and write the created GeoEvents out to a system file as a *.json text file.[ATTACH=CONFIG]28450[/ATTACH]4) Obtain some valid feature JSON for posting. a. An easy way to do this is to query your local ArcGIS for Server sample service �?�[ATTACH=CONFIG]28452[/ATTACH]Note: You can copy the entire block of feature JSON, or you can locate and copy just one of the features:[ATTACH=CONFIG]28451[/ATTACH]5) Download an HTML Poster application for your preferred browser a. http://code.google.com/p/chrome-poster is one such app for Chrome6) Configure the poster to identify the MIME type in its header a. �??Content-Type�?? / �??application/json�?? (see screenshot below)7) Post the JSON block to the GeoEvent Processor�??s REST endpoint a. http://localhost:6180/geoevent/rest/receiver/<name-of-the-input> (e.g. rest-features-in)😎 Locate your output *.json file in your registered system folder.You should be able to format the JSON as a list by adding an opeingin �??[�?? and closing �??]�?? set of brackets around the text in the file �?� and replacing every �?? {�?? with �??,{�?? so that the individual JSON blocks are comma separated. Here�??s what I got for a query of the World Cities whose OBJECTID is less-or-equal to 10.
[
{
"CITY_NAME": "Brasilia",
"POP": 2207718,
"POP_RANK": 2,
"POP_CLASS": "1,000,000 to 4,999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -47.897705078125,
"y": -15.7921142578125,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Goiania",
"POP": 1171195,
"POP_RANK": 2,
"POP_CLASS": "1,000,000 to 4,999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -49.2550048828125,
"y": -16.72698974609375,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Cuiaba",
"POP": 521934,
"POP_RANK": 3,
"POP_CLASS": "500,000 to 999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -56.093017578125,
"y": -15.614990234375,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Campo Grande",
"POP": 729151,
"POP_RANK": 3,
"POP_CLASS": "500,000 to 999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -54.61590576171875,
"y": -20.45098876953125,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Salto del Guaira",
"POP": 7385,
"POP_RANK": 7,
"POP_CLASS": "Less than 50,000",
"LABEL_FLAG": 0,
"shape": {
"x": -54.2833251953125,
"y": -24.04998779296875,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Encarnacion",
"POP": 74983,
"POP_RANK": 6,
"POP_CLASS": "50,000 to 99,999",
"LABEL_FLAG": 0,
"shape": {
"x": -55.85101318359375,
"y": -27.37701416015625,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Posadas",
"POP": 312060,
"POP_RANK": 4,
"POP_CLASS": "250,000 to 499,999",
"LABEL_FLAG": 0,
"shape": {
"x": -55.906005859375,
"y": -27.39801025390625,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Puerto Maldonado",
"POP": 37543,
"POP_RANK": 7,
"POP_CLASS": "Less than 50,000",
"LABEL_FLAG": 0,
"shape": {
"x": -69.1920166015625,
"y": -12.60302734375,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
}
]