Get a single seat rank
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/settings/seatingplans/seatranks/{id}
Example
Request
1use Ticketmatic\Endpoints\Settings\Seatingplans\Seatranks;
2
3$result = Seatranks::get($client, $id);
Response
1object(\Ticketmatic\Model\SeatRank) (7) {
2 ["id"]=>
3 int(0)
4 ["name"]=>
5 string(6) "Rank A"
6 ["color"]=>
7 string(7) "#AE77FB"
8 ["priority"]=>
9 int(0)
10 ["isarchived"]=>
11 bool(false)
12 ["createdts"]=>
13 object(\DateTime) (3) {
14 ["date"]=>
15 string(26) "2014-09-26 15:24:36.000000"
16 ["timezone_type"]=>
17 int(3)
18 ["timezone"]=>
19 string(3) "UTC"
20 }
21 ["lastupdatets"]=>
22 object(\DateTime) (3) {
23 ["date"]=>
24 string(26) "2014-09-26 15:24:36.000000"
25 ["timezone_type"]=>
26 int(3)
27 ["timezone"]=>
28 string(3) "UTC"
29 }
30}
Result fields
Field | Description |
---|---|
id int | Unique ID Example value:123 |
name | Name for the seat rank Example value:"Rank A" |
color string | The color of the seat rank Example value:"#AE77FB" |
priority int | Priority of the seat rank Example value:3 |
isarchived bool | Whether or not this item is archived |
createdts timestamp | Created timestamp Example value:"2014-09-26 15:24:36" |
lastupdatets timestamp | Last updated timestamp Example value:"2014-09-26 15:24:36" |
Type reference: SeatRank