Grid Style Created Using Image Palette 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

{
"layers": [
	{
      "type": "FeatureLayer",
      "description": "Multi Field Multi Band World Altitude MRR Layer",
      "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": 0,
                      "band": 1
                    }
                  ],
                  "dataTransforms": []
                },
                
              }
            }
          }
        ]
      }
    }
  ]
}