POST api/Online/SaveMenuType

Saves the inputted data for menu types in the Edit menu page. Can add new menu types, or edit menu types.

Request Information

URI Parameters

None.

Body Parameters

Online_MenuType
NameDescriptionTypeAdditional information
ID

integer

None.

MerchantId

integer

None.

MenuTypeName

string

None.

LinkedPrinter

string

None.

OrderNum

integer

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MerchantId": 1,
  "MenuTypeName": "sample string 2",
  "LinkedPrinter": "sample string 3",
  "OrderNum": 1,
  "Status": 1
}

application/xml, text/xml

Sample:
<Online_MenuType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <ID>1</ID>
  <LinkedPrinter>sample string 3</LinkedPrinter>
  <MenuTypeName>sample string 2</MenuTypeName>
  <MerchantId>1</MerchantId>
  <OrderNum>1</OrderNum>
  <Status>1</Status>
</Online_MenuType>

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.