I need so send below's JSON to an Azure function in order to process a XMLA query. How do I fix below's JSON in order to send the JSON to the Azure function?
{"WorkspaceId": "workspaceid", "DatasetId": "datasetid",
"XMLA_String": "{
"refresh": {
"type": "full",
"objects": [
{
"database": "datamodel",
"table": "datatable"
}
]
}
}"}
CodePudding user response:
Try this ...
{
"WorkspaceId": "workspaceid",
"DatasetId": "datasetid",
"XMLA_String": "{\"refresh\": {\"type\": \"full\", \"objects\": [{ \"database\": \"datamodel\", \"table\": \"datatable\" }]}}"
}
