POST api/Blog/addBlogDetails
Request Information
URI Parameters
None.
Body Parameters
Hub_blogDetailName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Title | string |
None. |
|
Category | string |
None. |
|
MetaDescription | string |
None. |
|
Slug | string |
None. |
|
CoverImage | string |
None. |
|
BlogDetails | string |
None. |
|
EntryDate | date |
None. |
|
UpdateDate | date |
None. |
|
Createdby | string |
None. |
|
Status | string |
None. |
|
IsActive | boolean |
None. |
|
Tags | string |
None. |
|
PublishingDate | date |
None. |
|
Blog_readTime | integer |
None. |
|
Blog_openCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Title": "sample string 2", "Category": "sample string 3", "MetaDescription": "sample string 4", "Slug": "sample string 5", "CoverImage": "sample string 6", "BlogDetails": "sample string 7", "EntryDate": "2025-01-10T21:17:49.8550486+04:00", "UpdateDate": "2025-01-10T21:17:49.8550486+04:00", "Createdby": "sample string 8", "Status": "sample string 9", "IsActive": true, "Tags": "sample string 10", "PublishingDate": "2025-01-10T21:17:49.8550486+04:00", "Blog_readTime": 1, "Blog_openCount": 1 }
application/xml, text/xml
Sample:
<Hub_blogDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaskManagementServices.Models"> <BlogDetails>sample string 7</BlogDetails> <Blog_openCount>1</Blog_openCount> <Blog_readTime>1</Blog_readTime> <Category>sample string 3</Category> <CoverImage>sample string 6</CoverImage> <Createdby>sample string 8</Createdby> <EntryDate>2025-01-10T21:17:49.8550486+04:00</EntryDate> <Id>1</Id> <IsActive>true</IsActive> <MetaDescription>sample string 4</MetaDescription> <PublishingDate>2025-01-10T21:17:49.8550486+04:00</PublishingDate> <Slug>sample string 5</Slug> <Status>sample string 9</Status> <Tags>sample string 10</Tags> <Title>sample string 2</Title> <UpdateDate>2025-01-10T21:17:49.8550486+04:00</UpdateDate> </Hub_blogDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |