Skip to content

Get JSON with template

POST
/v2/metadata/template/json/get

Construct JSON object using metadata and template.

X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
aggregateId
required

The aggregate ID to get JSON for

string
88f39775-01f6-43ef-b553-08410c588116
templateId
required

The template ID to use for JSON construction

string
88f39775-01f6-43ef-b553-08410c588116

The constructed JSON object.

object
json
required

The constructed JSON object based on the template

object
{
"user": {
"preferences": {
"theme": "dark",
"language": "en"
}
}
}