post https://api.ingresse.com/event//guestlist?method=updatestatus
Use this endpoint to mark a ticket as used.
Post Body Example
{
tickets : [
{
ticketCode : "1234567890987654321",
ticketTimestamp : "123456",
ticketStatus: 1,
sessionId: 23456
},
{
ticketCode : "1234567890987654321",
ticketTimestamp: "1234567",
ticketStatus: 0,
sessionId: 23456
}
]
}
attribute | |
---|---|
ticketTimestamp | Checkin timestamp in millisecond |
ticketTimestamp
If you are using a unix timestamp to generate the time a ticket was checked out, just multiply this timestamp by 1000. Unix timestamp are relative to seconds and the Ingresse Guest List API work with milliseconds.
Return Glossary
responseData[].status
A numeric code specifying which treatment the update received:
Code | |
---|---|
0 | Update was not executed. |
1 | Update executed. |
2 | Ticket code not found. |
3 | Ticket already updated. |
4 | Invalid session. |
5 | Ticket session was not received. |