Seating Maps

Seatmaps represent real world venues. Venues might have different versions or configurations for their seats. These various versions of a venue are called Revisions.

The Map within a Revisions stores the composition of objects for a Seatmap in a JSON based format.

Base URL:

https://seatmap.vivenu.com/api or https://seatmap.vivenu.dev/api

Endpoints

Create a Seatmap

Payload

title
Required
string

The title of the Seatmap

Responses
200
Success

Was this section helpful?

YesNo
post
/api/seatmap
{
"title": "string"
}
Response
application/json

Get a Seatmap

Query

No supported query parameters
Responses
200
Success

Was this section helpful?

YesNo
get
/api/seatmap/{id}
Response
application/json

Update Seatmap

Payload

title
Required
string

The title of the Seatmap

Responses
200
Success

Was this section helpful?

YesNo
patch
/api/seatmap/{id}
{
"title": "string"
}
Response
application/json

Get all Seatmaps

Query

No supported query parameters
Responses
200
Success

Was this section helpful?

YesNo
get
/api/seatmap
Response
application/json

The Map object

The Map within a Revisions stores the composition of objects for a Seatmap in a JSON based format.

Attributes

_id
Required
string

The ID of the object

_type
Required
number float

The type of the object

Optional Attributes

Collapse all
Was this section helpful?
YesNo
Example
{
"_id": "string",
"_type": 10.5,
"categories": [
{
"_id": "string",
"_type": 1,
"name": "string",
"color": "string"
}
],
"images": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"_type": 2,
"url": "string",
"scaleX": 10.5,
"scaleY": 10.5,
"opacity": 10.5,
"rotation": 10.5,
"template": true,
"width": 10.5,
"height": 10.5
}
],
"layers": [
{
"_id": "string",
"groups": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"_type": 3,
"rows": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"_type": 3,
"seats": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"_type": 3,
"statusId": "string",
"originalX": 10.5,
"originalY": 10.5,
"seatType": "handicapped",
"sectionName": "string",
"groupName": "string",
"rowName": "string",
"seatName": "string"
}
],
"rotation": 10.5,
"originalX": 10.5,
"originalY": 10.5,
"name": "string"
}
],
"rotation": 10.5,
"curving": 10.5,
"rowSpacing": 10.5,
"seatSpacing": 10.5,
"name": "string",
"sectionName": "string"
}
],
"sections": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"name": "string",
"type": "rect",
"coordinates": [
{
"x": 10.5,
"y": 10.5
}
],
"rotation": 10.5,
"controlPoints": [
{
"x": 10.5,
"y": 10.5
}
],
"_type": 3,
"groups": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"_type": 3,
"rows": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"_type": 3,
"seats": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"_type": 3,
"statusId": "string",
"originalX": 10.5,
"originalY": 10.5,
"seatType": "handicapped",
"sectionName": "string",
"groupName": "string",
"rowName": "string",
"seatName": "string"
}
],
"rotation": 10.5,
"originalX": 10.5,
"originalY": 10.5,
"name": "string"
}
],
"rotation": 10.5,
"curving": 10.5,
"rowSpacing": 10.5,
"seatSpacing": 10.5,
"name": "string",
"sectionName": "string"
}
]
}
],
"ga": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"categoryId": "string",
"name": "string",
"type": "rect",
"coordinates": [
{
"x": 10.5,
"y": 10.5
}
],
"rotation": 10.5,
"controlPoints": [
{
"x": 10.5,
"y": 10.5
}
],
"statusId": "string",
"_type": 7,
"amount": 10.5,
"showAvailableSeats": true
}
],
"viewPoints": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"_type": 10,
"imageType": "FLAT",
"image": "string"
}
]
}
],
"focalPoint": [
{
"_id": "string",
"x": 10.5,
"y": 10.5,
"_type": 9
}
]
}

Create a Revision

Payload

seatMap
Required
object

The Map Object of the Seatmap

Optional Attributes

Collapse all
Responses
200
Success

Was this section helpful?

YesNo
post
/api/seatmap/{id}/revision
{
"comment": "string",
"seatMap": {}
}
Response
application/json

Get a Revision

Query

includeSeatmap
Optional
boolean

Whether to include the seatmap in the response

Responses
200
Success

Was this section helpful?

YesNo
get
/api/seatmap/{id}/revision/{revisionId}
Response
application/json

Update a Revision

Payload

seatMap
Required
object

The Map Object of the Seatmap

Responses
200
Success

Was this section helpful?

YesNo
put
/api/seatmap/{id}/revision/{revisionId}
{
"seatMap": {}
}
Response
application/json

Patch a Revision

Payload

comment
Required
string

A comment describing this Revision

Responses
200
Success

Was this section helpful?

YesNo
patch
/api/seatmap/{id}/revision/{revisionId}
{
"comment": "string"
}
Response
application/json

Duplicate a Revision

Payload

Optional Attributes

Collapse all
Responses
200
Success

Was this section helpful?

YesNo
post
/api/seatmap/{id}/revision/{revisionId}/clone
{
"comment": "string"
}
Response
application/json

Export a Revision

Query

format
Optional
string
json
Responses
200
Success

Was this section helpful?

YesNo
get
/api/seatmap/{id}/revision/{revisionId}/export
Response
application/json

Import a Revision

Payload

Optional Attributes

Collapse all
Responses
200
Success

Was this section helpful?

YesNo
post
/api/seatmap/{id}/revision/import
{
"comment": "string"
}
Response
application/json

Get all Seatmap's Revisions

Query

No supported query parameters
Responses
200
Success

Was this section helpful?

YesNo
get
/api/seatmap/{id}/revision
Response
application/json