PUT blogs/blog?id={id}

Request Information

URI Parameters

Name Description Type Additional information
id

integer (Int32)

Required

Body Parameters

blogModel
Name Description Type Additional information
id

integer (Int32)

None.

image

string

None.

imageExtension

string

None.

title

string

Required

Max length: 128

text

string

Required

Max length: 128000

source

string

Max length: 128

isActive

boolean

Required

createdInfo

string

None.

updatedInfo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "image": "sample string 2",
  "imageExtension": "sample string 3",
  "title": "sample string 4",
  "text": "sample string 5",
  "source": "sample string 6",
  "isActive": true,
  "createdInfo": "sample string 8",
  "updatedInfo": "sample string 9"
}

application/xml, text/xml

Sample:
<blogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <createdInfo>sample string 8</createdInfo>
  <id>1</id>
  <image>sample string 2</image>
  <imageExtension>sample string 3</imageExtension>
  <isActive>true</isActive>
  <source>sample string 6</source>
  <text>sample string 5</text>
  <title>sample string 4</title>
  <updatedInfo>sample string 9</updatedInfo>
</blogModel>

multipart/form-data

Sample:
<blogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><createdInfo>sample string 8</createdInfo><id>1</id><image>sample string 2</image><imageExtension>sample string 3</imageExtension><isActive>true</isActive><source>sample string 6</source><text>sample string 5</text><title>sample string 4</title><updatedInfo>sample string 9</updatedInfo></blogModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.