Take a Snapshot Immediately
You can take an immediate snapshot for any mashable or mashup using the Business Analytics REST URL to run the mashable or mashup plus two Business Analytics headers: x-p-enableSnapshot and x-p-snapshotName.
For example:
http://app-server:port/presto/edge/api/rest/service/operation?service-params-if-any&x-p-enableSnapshot=true&x-p-snapshotName=name-or-uuid
You can find the REST API URL for any mashables or mashup in the Technical Specs tab on its artifact page. See
Use Mashable/Mashup Technical Specs for more information. Add any input parameters needed to run this mashable or mashup or any other
Business Analytics
Headers/Parameters, as needed.
Parameters
Parameter | Req? | Description |
x-p-enableSnapshot | yes | true = determines that the response for the mashable or mashup should create a snapshot. |
x-p-snapshotName | yes | Choose either: A specific name for this snapshot. uuid, to have Business Analytics automatically assign a unique ID to this snapshot. |