Grid Style Created Using Image 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",
                "opacity": 1.0,
                "brightness": 50.0,
                "contrast": 50.0,
                "isGrayScale": false,
                "showHillShade": true,
                "nullColor": "16776960",
                "isNullTransparent": true,
                "renderStyle": {
                  "type": "RGB",
                  "underviewInterpolation": "Nearest",
                  "enableAlpha": true,
                  "components": [
                    {
                      "type": "red",
                      "field": 1,
                      "band": 1,
                      "dataTransform": "RedTransform"
                    },
                    {
                      "type": "green",
                      "field": 1,
                      "band": 2,
                      "dataTransform": "GreenTransform"
                    },
                    {
                      "type": "blue",
                      "field": 1,
                      "band": 3,
                      "dataTransform": "BlueTransform"
                    }
                  ],
                  "dataTransforms": [
                    {
                      "name": "RedTransform",
                      "type": "Linear"                      
                    },
                    {
                      "name": "GreenTransform",
                      "type": "Linear"                      
                    },
                    {
                      "name": "BlueTransform",
                      "type": "Linear"                     
                    }
                  ]
                }
              }
            }
          }
        ]
      }
    }
  ]
}