POST api/Online/SaveFreeItem

Request Information

URI Parameters

None.

Body Parameters

SaveFreeItemModel
NameDescriptionTypeAdditional information
ID

integer

None.

MerchantId

integer

None.

MinAmount

string

None.

MenuItems

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MerchantId": 1,
  "MinAmount": "sample string 2",
  "MenuItems": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SaveFreeItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <ID>1</ID>
  <MenuItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MenuItems>
  <MerchantId>1</MerchantId>
  <MinAmount>sample string 2</MinAmount>
</SaveFreeItemModel>

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.