A dynamic map layer refers to a layer in the current map service. More information on this can be found in the ArcGIS REST API help.

Referenced by: source

Properties

PropertyDetails
gdbVersionIf applicable, specify this to use an alternate geodatabase version.
mapLayerIdThe current map layer’s id.
typeA string value indicating the type.
Valid value of this property mapLayer

dynamicMapLayer Example

{
"type": "mapLayer",
"mapLayerId": 3,
"gdbVersion": "SDE.dynamicLayers"
}