Get the seat description templates
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/settings/seatingplans/seatingplans/{id}/seatdescriptiontemplates
Description
Returns the seat description templates for this seating plan.
Example
Request
1use Ticketmatic\Endpoints\Settings\Seatingplans\Seatingplans;
2
3$result = Seatingplans::getseatdescriptiontemplates($client, $id);
Request
1import (
2 "github.com/ticketmatic/tm-go/ticketmatic"
3 "github.com/ticketmatic/tm-go/ticketmatic/settings/seatingplans/seatingplans"
4)
5
6result, err := seatingplans.Getseatdescriptiontemplates(client, id)
Request
1GET /api/1/{accountname}/settings/seatingplans/seatingplans/{id}/seatdescriptiontemplates HTTP/1.1
Result fields
This call returns an array of objects.
Field | Description |
---|---|
id int | The ID of the template Example value:1 |
name string | The name of the template Example value:"Upper balcony" |
template string | The template itself with placeholders for rowname, seatname and zonename Example value:"{{zonename}} Upper balcony {{rowname}}:{{seatname}}" |
Type reference: SeatDescriptionTemplate[]