POST api/Online/SaveOrUpdateAlternateMenu

Request Information

URI Parameters

None.

Body Parameters

AltMenuModel
NameDescriptionTypeAdditional information
Id

integer

None.

MerchantId

integer

None.

MenuName

string

None.

MenuDescription

string

None.

MenuCategories

Collection of integer

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MerchantId": 1,
  "MenuName": "sample string 2",
  "MenuDescription": "sample string 3",
  "MenuCategories": [
    1,
    2
  ],
  "Status": 4
}

application/xml, text/xml

Sample:
<AltMenuModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Id>1</Id>
  <MenuCategories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MenuCategories>
  <MenuDescription>sample string 3</MenuDescription>
  <MenuName>sample string 2</MenuName>
  <MerchantId>1</MerchantId>
  <Status>4</Status>
</AltMenuModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.