POST api/Post

Request Information

URI Parameters

None.

Body Parameters

PostPost
NameDescriptionTypeAdditional information
USER_ID

string

None.

DISTRICT_ID

string

None.

TALUKA_ID

string

None.

TITLE

string

None.

DESCRIPTION

string

None.

LATITUDE

string

None.

LONGITUDE

string

None.

RATE

string

None.

CATEGORY

string

None.

LOCATION

string

None.

POST_ID

string

None.

EXTRA

string

None.

POST_PHOTO

Collection of byte

None.

POST_PHOTO1

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "USER_ID": "sample string 1",
  "DISTRICT_ID": "sample string 2",
  "TALUKA_ID": "sample string 3",
  "TITLE": "sample string 4",
  "DESCRIPTION": "sample string 5",
  "LATITUDE": "sample string 6",
  "LONGITUDE": "sample string 7",
  "RATE": "sample string 8",
  "CATEGORY": "sample string 9",
  "LOCATION": "sample string 10",
  "POST_ID": "sample string 11",
  "EXTRA": "sample string 12",
  "POST_PHOTO": "QEA=",
  "POST_PHOTO1": "QEA="
}

application/xml, text/xml

Sample:
<PostPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOnionFarming.Models">
  <CATEGORY>sample string 9</CATEGORY>
  <DESCRIPTION>sample string 5</DESCRIPTION>
  <DISTRICT_ID>sample string 2</DISTRICT_ID>
  <EXTRA>sample string 12</EXTRA>
  <LATITUDE>sample string 6</LATITUDE>
  <LOCATION>sample string 10</LOCATION>
  <LONGITUDE>sample string 7</LONGITUDE>
  <POST_ID>sample string 11</POST_ID>
  <POST_PHOTO>QEA=</POST_PHOTO>
  <POST_PHOTO1>QEA=</POST_PHOTO1>
  <RATE>sample string 8</RATE>
  <TALUKA_ID>sample string 3</TALUKA_ID>
  <TITLE>sample string 4</TITLE>
  <USER_ID>sample string 1</USER_ID>
</PostPost>

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.