Get the log history for an order
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/orders/{id}/logs
Example
Request
1use Ticketmatic\Endpoints\Orders;
2
3$result = Orders::getlogs($client, $id);
Request
1import (
2 "github.com/ticketmatic/tm-go/ticketmatic"
3 "github.com/ticketmatic/tm-go/ticketmatic/orders"
4)
5
6result, err := orders.Getlogs(client, id)
Request
1GET /api/1/{accountname}/orders/{id}/logs HTTP/1.1
Result fields
This call returns an array of objects.
Field | Description |
---|---|
id int | Id of the log item Example value:1 |
orderid int | Order id Example value:1 |
typeid int | Log item type Example value:1 |
info map<string, mixed> | Info |
lookupinfo map<string, mixed> | Lookup info |
model map<string, mixed> | Model |
ts timestamp | Log item timestamp Example value:"2014-09-26 15:24:36" |
userid int | User id Example value:1 |
username string | User name Example value:"john@ticketmatic.com" |
Type reference: LogItem[]