Get a single ticket layout

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/settings/communicationanddesign/ticketlayouts/{id}

Example

Request

1use Ticketmatic\Endpoints\Settings\Communicationanddesign\Ticketlayouts;
2
3$result = Ticketlayouts::get($client, $id);

Response

 1object(\Ticketmatic\Model\TicketLayout) (6) {
 2  ["id"]=>
 3  int(0)
 4  ["typeid"]=>
 5  int(0)
 6  ["name"]=>
 7  string(8) "Festival"
 8  ["isarchived"]=>
 9  bool(false)
10  ["createdts"]=>
11  object(\DateTime) (3) {
12    ["date"]=>
13    string(26) "2014-09-26 15:24:36.000000"
14    ["timezone_type"]=>
15    int(3)
16    ["timezone"]=>
17    string(3) "UTC"
18  }
19  ["lastupdatets"]=>
20  object(\DateTime) (3) {
21    ["date"]=>
22    string(26) "2014-09-26 15:24:36.000000"
23    ["timezone_type"]=>
24    int(3)
25    ["timezone"]=>
26    string(3) "UTC"
27  }
28}

Result fields

FieldDescription
id
int

Unique ID

Example value:123
typeid
int

Type ID

Example value:1
name
string

Name for the ticket layout

Example value:"Festival"
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: TicketLayout