Render map using inline grid style for classified field

POST Request

POST http://hostname:port/rest/Spatial/MappingService/maps/image.png;w=800;h=600;c=-501556.18630224,5193175.01831286,epsg:3857;z=25000 mi
Content-type: application/json
Authorization: <Basic or Spectrum Token>

Example

{
  "MapDescription": {
    "version": "1.0",
    "name": "/Samples/NamedMaps/MRRMultiFieldMultiBandWorld_WithInlineImageStyle_ForClassifiedFieldMap",
    "layers": [
      {
        "type": "FeatureLayer",
        "description": "MRRMultiFieldMultiBandWorld_WithInlineImageStyle_ForClassifiedFieldLayer",
        "renderable": true,
        "table": {
          "type": "NamedTable",
          "name": "/Samples/NamedTables/MRRMultiFieldMultiBandWorldTable"
        },
        "themeList": {
          "theme": [
            {
              "type": "OverrideTheme",
              "style": {
                "type": "MapBasicCompositeStyle",
                "GridStyle": {
                  "type": "MapBasicGridStyle",
                  "renderStyle": {
                    "type": "Image",
                    "components": [
                      {
                        "type": "image",
                        "field": 2,
                        "band": 3
                      }
                    ],
                    "dataTransforms": []
                  },
                  
                }
              }
            }
          ]
        }
      }
    ]
  }
}