Using API Endpoint - https://energyhub.atlassian.net/wiki/api/v2/pages/
ERROR:
CALLOUT_RESPONSE [121]|System.HttpResponse[Status=Bad Request, StatusCode=400]
[{"status":400,"code":"INVALID_MESSAGE","title":"Invalid message","detail":null}]}
I am successfully able to load an HTML Table, but I am unable to update the page with a table-filter macro.
Users currently have to copy and paste into a manually added table-filter macro everyday after scheduled push, which is super inconvenient. PLEASE HELP!
JSON STRING
{
"id": "PAGE_ID",
"status": "current",
"title": "PAGE_TITLE",
"body":
{
"representation": "STORAGE",
"value": "
<ac:structured-macro ac:name=\"table-filter\">
<ac:parameter ac:name=\"globalFilter\">true</ac:parameter>
<ac:rich-text-body>
TABLE_HTML
</ac:rich-text-body>
</ac:structured-macro>
"
},
"version":
{
"number": VERSION_NUMBER ,
"message": "CRM_REPORT"
}
}