Seating charts
Create and update wrap fields in input. Translatable tools also take a sibling language — see Languages. A map stays on the location and museum it was created for.
Get returns the full structure: levels (organizationDimensions), entries (organizationNodes), and capacities (capacityNodes).
getSeatingChart
Get a seating map with its full structure: its levels (organizationDimensions, e.g. Section, Row, Seat), the tree of entries (organizationNodes), and the capacities (capacityNodes).
| Argument | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Seating chart id |
createSeatingChart
Create a seating map on a location. The map stays on that location and museum.
| Argument | Type | Required | Description |
|---|---|---|---|
input | object | Yes | Seating chart fields |
input.locationId | string | Yes | Location the map belongs to |
input.testMode | boolean | No | Test-mode map |
input.name | string | No | Name of the map |
language | string | No | Language the name is written in, as a two-letter code such as da or en. Leave out to use the museum's default language. Add the name in the museum's other supported languages afterwards with an update that passes language. |
updateSeatingChart
Update a seating map by id — only the fields you pass change. Pass language with a name to save it as a translation. A map stays on the location and museum it was created for.
| Argument | Type | Required | Description |
|---|---|---|---|
input | object | Yes | Seating chart fields to change |
input.id | string | Yes | Seating chart id |
input.name | string | No | Name of the map |
input.templateId | string | No | Visual layout id. Pass null to detach the layout. |
language | string | No | Leave out to change the item's own text. Pass a two-letter code such as da or en to save the text as a translation in that language instead; empty text removes that translation. |
deleteSeatingChart
Remove a seating map.
| Argument | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Seating chart id |