Render map using inline grid style for image field with RGB band

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_WithInlineRGBStyle_ForImageFieldMap",
    "layers": [
      {
        "type": "FeatureLayer",
        "description": "World_MRR_3857ImgPlt_Img_Class_Cont_Layer",
        "renderable": true,
        "table": {
          "type": "NamedTable",
          "name": "/Samples/NamedTables/MRRMultiFieldMultiBandWorldTable"
        },
        "themeList": {
          "theme": [
            {
              "type": "OverrideTheme",
              "style": {
                "type": "MapBasicCompositeStyle",
                "GridStyle": {
                  "type": "MapBasicGridStyle",
                  "opacity": 0.6,
                  "brightness": 70.0,
                  "contrast": 60.0,
                  "isGrayScale": false,
                  "showHillShade": false,
                  "nullColor": "16776960",
                  "isNullTransparent": false,
                  "renderStyle": {
                    "type": "RGB",
                    "underviewInterpolation": "Cubic (Global)",
                    "enableAlpha": false,
                    "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",
                        "colorBreaks": []
                      },
                      {
                        "name": "GreenTransform",
                        "type": "Logarithmic",
                        "colorBreaks": []
                      },
                      {
                        "name": "BlueTransform",
                        "type": "DirectMapping",
                        "colorBreaks": []
                      }
                    ]
                  },
                  
                }
              }
            }
          ]
        }
      }
    ]
  }
}