Skip to main content

Sample Inputs

Resource Details

ResourceTypeMustBeValidForReferencedResourceId

Scenario: resourceId references a brand asset, not a location.

Pass ScenarioFailure Scenario
Sample Input
{
"showcaseDetails": {
"startDate": "2026-05-01T00:00:00.00Z",
"endDate": "2026-04-10T23:59:59.00Z",
"resourceDetails": {
"resourceType": "LOCATION",
"resourceId": "9467895078742654949"
},
"creativeId": "9467895078742654987"
}
}

Start/End Date

EndDateMustNotBeBeforeStartDate

Scenario One
endDate is before the startDate.

Pass ScenarioFailure Scenario
Sample Input
{
"showcaseDetails": {
"startDate": "2026-05-10T00:00:00.00Z",
"endDate": "2026-05-01T23:59:59.00Z",
"resourceDetails": {
"resourceType": "LOCATION",
"resourceId": "9467895078742654976"
},
"creativeId": "9467895078742654987"
}
}

Scenario Two
endDate is the same as the startDate.

Pass ScenarioFailure Scenario
Sample Input
{
"showcaseDetails": {
"startDate": "2026-05-10T00:00:00.00Z",
"endDate": "2026-05-10T00:00:00.00Z",
"resourceDetails": {
"resourceType": "LOCATION",
"resourceId": "9467895078742654976"
},
"creativeId": "9467895078742654987"
}
}

PartlyScheduledWhenReferencedLocationIsTempClosed

Pass ScenarioFailure Scenario
Sample Input
{
"showcaseDetails": {
"startDate": "2026-05-01T00:00:00.00Z",
"endDate": "2026-05-10T23:59:59.00Z",
"resourceDetails": {
"resourceType": "LOCATION",
"resourceId": "9467895078742654976"
},
"creativeId": "9467895078742654987"
}
}

In this snippet, the location is temporarily closed during part of the time the Showcase is scheduled.

"locationStatus": { "status": "TEMPORARILY_CLOSED", "reopenDate": "2026-05-05" }

ScheduledWhenReferencedLocationIsClosed

Pass ScenarioFailure Scenario
Sample Input
{
"showcaseDetails": {
"startDate": "2026-05-01T00:00:00.00Z",
"endDate": "2026-05-10T23:59:59.00Z",
"resourceDetails": {
"resourceType": "LOCATION",
"resourceId": "9467895078742654976"
},
"creativeId": "9467895078742654987"
}
}

In this snippet, the location is closed.

{
"locationStatus": {
"status": "CLOSED",
"closedDate": "2026-03-10"
}
}

ScheduledWhenReferencedLocationIsTempClosed

Pass ScenarioFailure Scenario
Sample Input
{
"showcaseDetails": {
"startDate": "2026-05-01T00:00:00.00Z",
"endDate": "2026-05-10T23:59:59.00Z",
"resourceDetails": {
"resourceType": "LOCATION",
"resourceId": "9467895078742654976"
},
"creativeId": "9467895078742654987"
}
}

In this snippet, the location is temporarily closed

{
"locationStatus": {
"status": "TEMPORARILY_CLOSED",
"reopenDate": "2026-05-24"
}
}