Render Map Using a View Table


POST http://<hostname>:<port>/rest/Spatial/MappingService/maps/image.png;w=400;h=400;b=-125,23,-66,49,epsg%3A4269
Content-type: application/json
Authorization: <Basic or Spectrum Token>

{
    "MapDescription": {
        "layers": [{
            "type": "FeatureLayer",
                "table": {
                    "type": "ViewTable",
                                 "name": "ViewTable",
                                 "sql":"select * from \"/Samples/NamedTables/WorldTable\"",
                },
                
            }]
        }
    }