API mep.get property "expandUrls" works properly only if selectSelements: ["elements"] is requested. Otherwise macros that takes values from "elements" are not resolved.
Steps to reproduce:
1) Create a map and add map trigger element.
2) Create a map element URL that contains {TRIGGER.ID} macros.
3) Make following API map.get request:
{ "output": [], "expandUrls": "true", "selectSelements": [ "urls", "elements" ], "sysmapids": "101" }
Result:
Map element contains resolved macros value in URL.
Now, make another API map.get request:
{ "output": [], "expandUrls": "true", "selectSelements": [ "urls" ], "sysmapids": "101" }
Result:
Macros is not resolved in element URL.