Feature Layer with Bi-Quantile Range Theme

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

{
   "layers":[
      {
         "type":"FeatureLayer",
         "Table":{
            "type":"NamedTable",
            "name":"/Samples/NamedTables/USA"
         },
         "ThemeList":{
            "type":"ThemeList",
            "Theme":[
               {
                  "type":"RangeTheme",
                  "StartStyle":{
                     "type":"NamedStyle",
                     "name":"/Samples/NamedStyles/AreaStyleBlue"
                  },
                  "EndStyle":{
                     "type":"NamedStyle",
                     "name":"/Samples/NamedStyles/AreaStyleRed"
                  },
                  "RangeThemeProperties":{
                     "type":"RangeThemeProperties",
                     "rangeType":"BiQuantile",
                     "expression":"Pop_Male",
                     "quantileExpression":"Pop_Female",
                     "numRanges":6
                  }
               }
            ]
         }
      }
   ]
}