Skip to main content

JSON Response

Each request returns drive thru event data in name/value pairs.

JSON Response Example

The data contained in the JSON response depends on date parameter(s) in the API call. This data includes, but is not limited to:

  • Store ID

  • Date

  • Unexpected Quit Code

  • Unexpected Enter Code

  • Menu Board Time

  • UTC Menu Board Time

  • Menu Board Duration

  • UTC Payment Window Time

  • Payment Window Time

  • Payment Window Duration

  • Line One Duration

  • Line Two Duration

  • Pickup Window Time

  • UTC Pickup Window Time

  • Pickup Window Duration

  • Total Duration

{ "jsonrpc": "2.0", "id": 1, "result": { "timezone": "US\/Eastern", "timing": { "timing_matched_pairs": { "1": { "store_id": "xxxxxx", "date": "YYYY-MM-DD", "unexpected_quit": n, "unexpected_enter": n, "menuboard_time": "YYYY-MM-DD HH:MM:SS", "utc_menuboard_time": "YYYY-MM-DD HH:MM:SS", "menuboard_duration": n, "utc_payment_time": "YYYY-MM-DD HH:MM:SS", "payment_time": "YYYY-MM-DD HH:MM:SS", "payment_duration": n, "line_one_duration": n, "line_two_duration": n, "pickup_time": "YYYY-MM-DD HH:MM:SS", "utc_pickup_time": "YYYY-MM-DD HH:MM:SS", "pickup_duration": n, "total_duration": n } } } } }

Note

This JSON Response example displays only one (1) drive thru event. The JSON Response returns all available drive thru events within the given date parameter(s).