Update chart data in existing presentation (async)
Update supported bar or column chart data in an existing generated presentation while preserving all formatting.
Workflow:
- PUT to this endpoint with your chart update data
- Receive
generation_idimmediately (HTTP 202) - Poll
GET /presentations/{generation_id}/statusevery 2-5 seconds - When status is
completed, download fromdownload_url
Accepts both ID formats:
gen_xxx- From slide/deck generation or chart updatespres_xxx- Older direct-return generation output, if present
How it works:
- Loads the existing presentation from storage
- For each update, clones the target slide (preserving position) and updates chart data in-place
- Saves as a new generated presentation
Important: Only provide data fields (categories, series, data_rows) in chart_data. Omit formatting fields (chart_type, title, legend, axes) to preserve existing formatting.
Authorizations
Production API key. Development/test deployments may also allow X-Org-Name.
Path Parameters
Response
Chart update started - poll status endpoint for progress
Response schema for async generation requests.
This response is returned immediately when you POST to /presentations/generate
or /presentations/generate-deck, and when you PUT to
/presentations/{id}/update-charts. The actual Aspose work happens in the
background.
Next steps:
- Save the
generation_idfrom this response - Poll
status_url(orGET /presentations/{generation_id}/status) every few seconds - When status becomes
completed,partial, orfailed, generation is done - Download from
download_urlin the status response (forcompletedorpartial)
Unique identifier for this generation job. Use this to poll status and download the result.
"gen_abc123def456"
Initial status. Always 'pending' for new requests.
"pending"
Full URL to poll for generation status. Convenience field - you can also construct this as GET /presentations/{generation_id}/status.
"https://api.example.com/api/v1/presentations/gen_abc123def456/status"
Timestamp when the generation request was created.
Human-readable status message.
"Generation started. Poll status URL for progress."