Render Map Using a View Table

POST Request

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>

Example

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