I'm looking for something similar to the Export Map operation is the REST API for a Map.
I'm developing an application which allows constructing a map from various types of layer of various sources ((Local)DynaimcMapServiceLayers, various TiledMapServiceLayers, GraphicsLayer, ElementLayers...).
I'd like to export the whole map to a png.