POST api/Menus/SaveMenus

Request Information

URI Parameters

None.

Body Parameters

DrinkMenu
NameDescriptionTypeAdditional information
drinkMenuPrice

Collection of DrinkMenuPrice

None.

pocId

string

None.

user

string

None.

image

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "drinkMenuPrice": [
    {
      "brand": "sample string 1",
      "price": 2
    },
    {
      "brand": "sample string 1",
      "price": 2
    }
  ],
  "pocId": "sample string 1",
  "user": "sample string 2",
  "image": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<MenusController.DrinkMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Controllers">
  <drinkMenuPrice>
    <MenusController.DrinkMenuPrice>
      <brand>sample string 1</brand>
      <price>2</price>
    </MenusController.DrinkMenuPrice>
    <MenusController.DrinkMenuPrice>
      <brand>sample string 1</brand>
      <price>2</price>
    </MenusController.DrinkMenuPrice>
  </drinkMenuPrice>
  <image xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </image>
  <pocId>sample string 1</pocId>
  <user>sample string 2</user>
</MenusController.DrinkMenu>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

API_Response
NameDescriptionTypeAdditional information
response_code

string

None.

response_text

string

None.

response_description

string

None.

transactionId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "response_code": "sample string 1",
  "response_text": "sample string 2",
  "response_description": "sample string 3",
  "transactionId": "sample string 4"
}

application/xml, text/xml

Sample:
<API_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <response_code>sample string 1</response_code>
  <response_description>sample string 3</response_description>
  <response_text>sample string 2</response_text>
  <transactionId>sample string 4</transactionId>
</API_Response>