POST api/Dashboard/Insert_Blogpost

Request Information

URI Parameters

None.

Body Parameters

BlogPost
NameDescriptionTypeAdditional information
Condition

string

None.

alt

string

None.

date

string

None.

description

string

None.

heading

string

None.

image

string

None.

introduction

string

None.

post

string

None.

url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "alt": "sample string 2",
  "date": "sample string 3",
  "description": "sample string 4",
  "heading": "sample string 5",
  "image": "sample string 6",
  "introduction": "sample string 7",
  "post": "sample string 8",
  "url": "sample string 9"
}

application/xml, text/xml

Sample:
<BlogPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.ProductMaster">
  <Condition>sample string 1</Condition>
  <alt>sample string 2</alt>
  <date>sample string 3</date>
  <description>sample string 4</description>
  <heading>sample string 5</heading>
  <image>sample string 6</image>
  <introduction>sample string 7</introduction>
  <post>sample string 8</post>
  <url>sample string 9</url>
</BlogPost>

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 'BlogPost'.

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.