Seating Events
Seating Events are used manage the status of objects within a map for given event. An event represents a Seatmap + Revision and keeps track of the state. The state includes all the Objects of the Map.
Base URL:
https://seatmap.vivenu.com/api
or https://seatmap.vivenu.dev/api
Endpoints
Create an Event
In order to create a new event, you will have to create first a Seatmap and Revision.
If you already have a seatmap and a revision created you can create a new event with this endpoint.
Payload
The ID of the Seatmap to be used
The ID of the Revision of the seatmap for the event
{"seatMapId": "string","revisionId": "string"}
{"_id": "string","seatMapId": "string","revisionId": "string","_owner": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
{"_id": "string","seatMapId": "string","revisionId": "string","_owner": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
[{"_id": "string","seatMapId": "string","revisionId": "string","_owner": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}]
The Contingent object
Attributes
The name of the Contingent
The ID of the event this Contingent belongs to
Optional Attributes
Collapse all{"name": "string","eventId": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5,"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
{"name": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5}
{"name": "string","eventId": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5,"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
{"name": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5}
{"name": "string","eventId": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5,"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
{"name": "string","eventId": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5,"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
[{"name": "string","eventId": "string","blockedUntil": "2030-01-23T23:00:00.123Z","objects": ["string"],"generalAdmission": true,"amount": 10.5,"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}]
Reserve (best available) objects
This endpoint is intended for internal use only. It can be used to reserve specific objects directly or to reserve the best available seats within specified seating categories.
Payload
The Status-ID of the objects to reserve
Optional Attributes
Collapse all{"childEventIds": ["string"],"token": "string","config": {},"statusIds": ["string"]}
{"reservation": {"eventId": "string","childEventIds": ["string"],"objects": ["string"],"validUntil": "2030-01-23T23:00:00.123Z","token": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","_owner": "string"},"info": {"isSplit": true}}