POST api/Cats/Create

Request Information

URI Parameters

None.

Body Parameters

tblCat
NameDescriptionTypeAdditional information
id

integer

None.

cName

string

None.

OrdNo

integer

None.

ImgUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cName": "sample string 2",
  "OrdNo": 3,
  "ImgUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<tblCat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Classes">
  <ImgUrl>sample string 4</ImgUrl>
  <OrdNo>3</OrdNo>
  <cName>sample string 2</cName>
  <id>1</id>
</tblCat>

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.