Hi, is there a shortcut way to create a payload fo...
# gooddata-cloud
p
Hi, is there a shortcut way to create a payload for the execute API using insight data: https://<gd-url>/api/v1/actions/workspaces/<workspace-id>/execution/afm/execute FYI: have to prepare the payload using the node.js backend.
b
Hi Prashant, sorry for the delayed reply. What kind of shortcut do you have in mind? Payload of execute afm is a json object containing references to your metadata objects (attributes, metrics, ...). There might be a simpler way to do it using our UI SDK (which uses react) - you will first need to export a catalogue of metadata objects in your workspace and then you can use this.