POST Api/Blog/Comment/Add
Request Information
URI Parameters
None.
Body Parameters
BlogCommentModelName | Description | Type | Additional information |
---|---|---|---|
BlogId | integer |
None. |
|
Comment | string |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BlogId": 1, "Comment": "sample string 2", "CreatedBy": "sample string 3" }
application/xml, text/xml
Sample:
<BlogCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.Blog"> <BlogId>1</BlogId> <Comment>sample string 2</Comment> <CreatedBy>sample string 3</CreatedBy> </BlogCommentModel>
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. |