POST api/chalisha

Request Information

URI Parameters

None.

Body Parameters

chalisha
NameDescriptionTypeAdditional information
Action

string

None.

Name

string

None.

imagepath

string

None.

createdate

integer

None.

File

HttpPostedFileBase

None.

writer

string

None.

total_pages

string

None.

chaupai

string

None.

doha1

string

None.

doha2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Action": "sample string 1",
  "Name": "sample string 2",
  "imagepath": "sample string 3",
  "createdate": 4,
  "File": null,
  "writer": "sample string 5",
  "total_pages": "sample string 6",
  "chaupai": "sample string 7",
  "doha1": "sample string 8",
  "doha2": "sample string 9"
}

application/xml, text/xml

Sample:
<chalisha xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RamRam.Controllers">
  <Action>sample string 1</Action>
  <File xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <Name>sample string 2</Name>
  <chaupai>sample string 7</chaupai>
  <createdate>4</createdate>
  <doha1>sample string 8</doha1>
  <doha2>sample string 9</doha2>
  <imagepath>sample string 3</imagepath>
  <total_pages>sample string 6</total_pages>
  <writer>sample string 5</writer>
</chalisha>

multipart/form-data

Sample:
<chalisha xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RamRam.Controllers"><Action>sample string 1</Action><File xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /><Name>sample string 2</Name><chaupai>sample string 7</chaupai><createdate>4</createdate><doha1>sample string 8</doha1><doha2>sample string 9</doha2><imagepath>sample string 3</imagepath><total_pages>sample string 6</total_pages><writer>sample string 5</writer></chalisha>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'chalisha'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.