Get the lock templates
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/settings/seatingplans/seatingplans/{id}/locktemplates
Description
Returns the lock templates for this seating plan.
Example
Request
1use Ticketmatic\Endpoints\Settings\Seatingplans\Seatingplans;
2
3$result = Seatingplans::getlocktemplates($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.Getlocktemplates(client, id)
Request
1GET /api/1/{accountname}/settings/seatingplans/seatingplans/{id}/locktemplates HTTP/1.1
Result fields
This call returns an array of objects.
| Field | Description |
|---|---|
|
name
string
|
The name of the template Example value:"Seating area technicians"
|
|
seats
map<string, int>
|
A map where seat id is the key and the lock type is the value Example value:{ "s001001001": 1.000000, "s001001002": 1.000000 }
|
Type reference: LockTemplate[]