LogItem
Log item returned when requesting the log history of an order.
Type
The typeid
field of an order log can have any of the following values:
- Create order (
18001
) - Remove order (
18002
) - Add tickets (
18003
) - Remove tickets (
18004
) - Update tickets (
18005
) - Confirm order (
18006
) - Link customer (
18007
) - Remove customer (
18008
) - Move tickets (
18009
) - Update price type (
18010
) - Add payment (
18011
) - Set payment scenario (
18012
) - Set delivery scenario (
18013
) - Order delivered (
18014
) - Mail sent (
18015
) - Custom fields updated (
18016
) - Rappel date updated (
18017
) - Expiry date updated (
18018
) - Scan ticket (
18019
) - Add products (
18020
) - Remove products (
18021
) - Payment request created (
18022
) - Payment request confirmed (
18023
) - Payment request cancelled (
18024
) - Remove payment (
18025
) - Mail not delivered (
18026
) - Split order (
18027
) - Tickets/documents downloaded (
18028
) - Tickets/documents downloaded via API (
18029
)
Fields
Field | Description |
---|---|
id int (required) | Id of the log item Example value:1 |
orderid int (required) | Order id Example value:1 |
typeid int (required) | Log item type Example value:1 |
info map<string, mixed> (required) | Info |
lookupinfo map<string, mixed> (required) | Lookup info |
model map<string, mixed> (required) | Model |
ts timestamp (required) | Log item timestamp Example value:"2014-09-26 15:24:36" |
userid int (required) | User id Example value:1 |
username string (required) | User name Example value:"john@ticketmatic.com" |
Example
1{
2 "id": 1,
3 "orderid": 1,
4 "typeid": 1,
5 "info": {
6
7 },
8 "lookupinfo": {
9
10 },
11 "model": {
12
13 },
14 "ts": "2014-09-26 15:24:36",
15 "userid": 1,
16 "username": "john@ticketmatic.com"
17}