Data Plan
Validate Event Batch
Changed onValidate an event batch against a Data Plan document
post/validate
Request
- Base URLhttps://api.mparticle.com/platform/v2/workspaces/0/plans
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Example response
Example response
{
"results": [
{
"data": {
"validation_errors": [
{
"key": "event name or attribute name",
"error_pointer": "#/data/custom_attributes/foo-attr-1",
"expected": "null for unplanned entities, the entity name for missing required entities, a data type (e.g. \"number\") for invalid data types, etc",
"actual": "the entity name for unplanned entities, null for missing required entities, a data type (e.g. \"string\") for invalid data types, etc"
}
]
}
}
]
}Changes
- info
added the new optional request property
// - info
added the new
samsung_tvenum value to the request property//
- info