Validate a chart version
Rate limits
This endpoint does not belong to the priority lane. Do not use it within your ticket sales flow.
Seats.io does not allow creating events for invalid charts. You can configure what 'invalid' means through the settings page at https://app.seats.io/company-settings.
The API call documented below returns the list of validation errors and warnings for a draft or published chart.
Validate a chart version
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
POST https://api-{region}.seatsio.net/charts/{chartKey}/version/published/actions/validate
POST https://api-{region}.seatsio.net/charts/{chartKey}/version/draft/actions/validate
$seatsioClient->charts->validateDraftVersion('749b9650-24fb-11e7-93ae-92361f002671');
$seatsioClient->charts->validatePublishedVersion('749b9650-24fb-11e7-93ae-92361f002671');
await Client.Charts.ValidateDraftVersionAsync("749b9650-24fb-11e7-93ae-92361f002671");
await Client.Charts.ValidatePublishedVersionAsync("749b9650-24fb-11e7-93ae-92361f002671");
client.charts.validateDraftVersion("749b9650-24fb-11e7-93ae-92361f002671");
client.charts.validatePublishedVersion("749b9650-24fb-11e7-93ae-92361f002671");
client.charts.validate_draft_version("749b9650-24fb-11e7-93ae-92361f002671")
client.charts.validate_published_version("749b9650-24fb-11e7-93ae-92361f002671")
client.charts.validate_draft_version("749b9650-24fb-11e7-93ae-92361f002671")
client.charts.validate_published_version("749b9650-24fb-11e7-93ae-92361f002671")
await client.charts.validateDraftVersion('749b9650-24fb-11e7-93ae-92361f002671');
await client.charts.validatePublishedVersion('749b9650-24fb-11e7-93ae-92361f002671');
result, err := client.Charts.ValidateDraftVersion('749b9650-24fb-11e7-93ae-92361f002671')
result, err := client.Charts.ValidatePublishedVersion('749b9650-24fb-11e7-93ae-92361f002671')
curl https://api-{region}.seatsio.net/charts/4250fffc-e41f-c7cb-986a-2c5e728b8c28/version/draft/actions/validate \
-X POST -u aSecretKey:
Example response
// valid drawing
{
"errors": [],
"warnings": []
}
// invalid drawing
{
"errors": ["VALIDATE_OBJECTS_WITHOUT_CATEGORIES"],
"warnings": ["VALIDATE_DUPLICATE_LABELS"]
}