Include Parameters
All the Oracle Food & Beverages REST APIS return a set of default attributes as part of the response. Use the "include" request parameters to retrieve any specific attribute from the API response.
Syntax: include: "fieldName"
For example, using include:"revenueCenters.num, revenuCenters.name" in the API request returns the RVC name and RVC number from the getRevenueCenterDimensions API instead of the entire response.
{ "locRef":"1234", "busDt: "2020-07-20", "revenueCenters":[{ "num": 152, "name": "Bar" }] } |