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
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)