Date Format

For legacy reasons, the EPOS API uses the Microsoft JSON date format instead of ISO-8601. This means that the API serializes dates in the following format:

{
    "BookingDateTime": "\/Date(1403258435000)\/",
    "VisitDateTime": "\/Date(1403289900000)\/"
}

When converted into times, these would be:

  • BookingDateTime: Fri, 20 Jun 2014 10:00:35

  • VisitDateTime: Fri, 20 Jun 2014 18:45:00

For more information on the Microsoft date format in Json.NET please refer to Serializing Dates in JSONarrow-up-right.

Sending Dates

When sending dates, you can either use the Microsoft JSON date format or ISO-8601, however the API will always respond using the Microsoft JSON date format.

Timezones

All dates and times are specified in the restaurant's timezone unless otherwise stated. When sending dates to the EPOS API, you must not include a timezone offset, otherwise the offset will be applied when the time reaches our API, and the time entered into the diary will be incorrect.

Last updated

Was this helpful?