Provides instructions for creating a modified version of a .pptx template
{
"template": string,
"replaceText": [ ReplaceText ],
"insertImages": [ InsertImage ],
"setChartData": [ SetChartData ],
"updateTableData": [ SetTableCell | AddColumns | AddRows | DeleteColumns | DeleteRows | ReplaceContents ],
"hideShapes": [ HideShape ],
"showShapes": [ ShowShape ],
"deleteShapes": [ DeleteShape ],
"hideSlides": [ HideSlide ],
"showSlides": [ ShowSlide ],
"deleteSlides": [ DeleteSlide ],
}
This example inserts a customer name, a logo, and the lastest quarter's data into a .pptx template.
{
"template": "https://api.slide-tailor.com.com/{accountId}/business-review-template.pptx",
"replaceText": [ {
"replaceText": "{customer}",
"withText": "Acme Rocket Sled"
} ],
"insertPictures": [ {
"replaceShapeNamed": "customer logo placeholder shape",
"image": "https://me.onedrive.com/shared/acme-logo.png"
} ],
"updateChartData": [ {
"action": "addDataToSeries",
"shapeName": "$ by month, all time",
"labels": [
"Jul 24",
"Aug 24",
"Sep 24"
],
"values": [
"5404",
"4988",
"6130"
]
} ]
}