Request Payload

This page illustrates the format of the request json data

In order to use the endpoints to convert your json data into a PPTX Builder project you need to structure your json in a certain way. Below is an example of that structure.

You can use the example below as a base for creating your own json payload.

{
	"base_settings": {},
	"global_chart_settings": {},
	"custom_obj": {},
	"body": [{
		"id": "desired-unique-id",
		"table_text": "Demo",
		"question_text": "What is Demo?",
		"base_text": "A Demo text!",
		"rows": ["Yes", "No"],
		"columns": [{
			"text": "Work in Progress",
			"items": [{
				"text": "Does it work?",
				"base": 3.0,
				"data": [2.0, 1.0]
			}]
		}],
		"view_settings": {
			"slide_master_index": 0,
			"slide_layout_index": 0,
			"placeholder_index": 0,
			"chart_type": "bar"
		}
	}]
}

Continue to the next sections to dive into each of the sections in the request json data.

Last updated