GET api/Blogs/{id}

Documentation for 'Get'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation for 'id'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Post": "sample string 3",
  "Comments": "sample string 4",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Blog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnockoutFundamentals.Models">
  <Comments>sample string 4</Comments>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <Post>sample string 3</Post>
  <Title>sample string 2</Title>
</Blog>