Publisher Integration - SinglePlatform REST API - Menus - SPv2

This documentation is obsolete. Please see updated documentation at http://docs.singleplatform.com/spv2/rest-api/

URI: /locations/LOCATION/menu

GET

Request

Headers:

  • Accept: takes: application/json
Response

application/json:
For an application/json request, you get a JSON document that contains one of the following:

  1. A map containing:
    • location: A map containing the location information as defined in Location Field Descriptions
    • locationToMenus: A map of location-to-menus as defined in Location-to-Menu Map Field Descriptions
    • menus: A list of maps where each map contains a menu as defined in Menu Field Descriptions

URI: /locations/LOCATION/shortmenu

GET

Request

Headers:

  • Accept: takes: application/json
Response

application/json:
For an application/json request, you get a JSON document that contains one of the following:

  1. A map containing:
    • type: The type of short menu.
    • numItems: The number of items in the short menu. Typically between 3 and 5, inclusive.
    • location: A map containing the location information as defined in Location Field Descriptions
    • shortmenu: A list of maps where each map contains a menu as defined in Short Menu Field Descriptions