I am new to ArcGIS. If I have a REST API that provide the latitude, longitude and some other data, can I use it to create a layer for the Map in ArcGIS Pro? Or Can the source of the feature layer from the REST API? Also, if the data in the REST API is change every second, how I can refresh it automatically??
Can you provide more details about the API and its output format?
The API will provide the latitude, longitude, some description, and the color code for the label. We want to show the color dot on the map, and the label those come from the API
Can you provide some actual detail about the API output format? Perhaps an example response.
{
{
"office_CD": "MB01",
"color": "GREEN",
"description": "BROADWAY",
"lat": 40.751860,
"long": -73.987370
},
{
"office_CD": "MR06",
"color": "GREEN",
"description": "PELL ST",
"lat": 40.714981,
"long": -73.998520
}
}
No that's just a generic JSON response. You'd have to do something to convert it into an EsriJSON or GeoJSON.