POST api/smtSrv/AddEditBuffetItem

Request Information

URI Parameters

None.

Body Parameters

BuffetInfo
NameDescriptionTypeAdditional information
itemid

integer

None.

ArbTitle

string

None.

EngTitle

string

None.

price

decimal number

None.

state

integer

None.

imgext

string

None.

catogery

integer

None.

catogeryEng

string

None.

catogeryArb

string

None.

Request Formats

application/json, text/json

Sample:
{
  "itemid": 1,
  "ArbTitle": "sample string 2",
  "EngTitle": "sample string 3",
  "price": 4.1,
  "state": 5,
  "imgext": "sample string 6",
  "catogery": 7,
  "catogeryEng": "sample string 8",
  "catogeryArb": "sample string 9"
}

application/xml, text/xml

Sample:
<BuffetInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/srv">
  <ArbTitle>sample string 2</ArbTitle>
  <EngTitle>sample string 3</EngTitle>
  <catogery>7</catogery>
  <catogeryArb>sample string 9</catogeryArb>
  <catogeryEng>sample string 8</catogeryEng>
  <imgext>sample string 6</imgext>
  <itemid>1</itemid>
  <price>4.1</price>
  <state>5</state>
</BuffetInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>