Skip to main content

List Sessions

The Tables API is now archived. For up-to-date Pay at Table integrations, please use the Dojo API and EPOS Data API:

The ListSessions operation requests a list of multiple sessions.

If filtering parameters have been specified, the response from the EPOS should contain only those sessions that satisfy all specified filters. If no sessions match the filters, the EPOS will return an empty list. If no parameters are set, the response will include all sessions stored on the EPOS.

  1. Receive a listSessionsRequest from Dojo.
  2. The EPOS should respond with a listSessionsResponse.

In the following example, the isPayable and hasTable booleans are set to true, while isFinished is set to false. This indicates that the request is searching for sessions that are seated, have ordered items, but have not yet paid for their meals.

{
"jsonrpc": "2.0",
"id": "9420313f-91ff-49b9-af9e-33977426daaa",
"method": "ListSessions",
"params": {
"isFinished": false,
"hasTable": true,
"isPayable": true,
"tableNames": [],
"requestorInfo": {
"requestorType": "REQUESTOR_TYPE_CARD_MACHINE",
"cardMachineRequestorInfo": {
"terminalId": [],
"waiterId": 1
}
}
}
}