POST api/MenuCategoryAPI

Request Information

URI Parameters

None.

Body Parameters

MenuCategory
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

PhotoIdentity

Collection of byte

None.

IdentityFileType

string

None.

IdentityFileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "PhotoIdentity": "QEA=",
  "IdentityFileType": "sample string 3",
  "IdentityFileName": "sample string 4"
}

application/xml, text/xml

Sample:
<MenuCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models.MenuCategory">
  <Id>1</Id>
  <IdentityFileName>sample string 4</IdentityFileName>
  <IdentityFileType>sample string 3</IdentityFileType>
  <Name>sample string 2</Name>
  <PhotoIdentity>QEA=</PhotoIdentity>
</MenuCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.