POST api/Blog/CreateBlog
Request Information
URI Parameters
None.
Body Parameters
BlogMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BlogId | integer |
None. |
|
| BlogTitle | string |
None. |
|
| BlogContent | string |
None. |
|
| BlogImage | string |
None. |
|
| BlogUrl | string |
None. |
|
| BlogCategoryId | integer |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"BlogId": 1,
"BlogTitle": "sample string 1",
"BlogContent": "sample string 2",
"BlogImage": "sample string 3",
"BlogUrl": "sample string 4",
"BlogCategoryId": 1,
"IsActive": true
}
application/xml, text/xml
Sample:
<BlogMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/kcm_api_portal.Models"> <BlogCategoryId>1</BlogCategoryId> <BlogContent>sample string 2</BlogContent> <BlogId>1</BlogId> <BlogImage>sample string 3</BlogImage> <BlogTitle>sample string 1</BlogTitle> <BlogUrl>sample string 4</BlogUrl> <IsActive>true</IsActive> </BlogMasterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.