POST api/comment/add
Request Information
URI Parameters
None.
Body Parameters
AddCommentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EntryID | integer |
None. |
|
| CommentID | string |
None. |
|
| ParentId | string |
None. |
|
| Message | string |
None. |
|
| ratingcount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"entryID": 1,
"commentID": "sample string 1",
"parentId": "sample string 2",
"message": "sample string 3",
"ratingcount": 4.0
}
application/xml, text/xml
Sample:
<AddCommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cultural.Common"> <CommentID>sample string 1</CommentID> <EntryID>1</EntryID> <Message>sample string 3</Message> <ParentId>sample string 2</ParentId> <ratingcount>4</ratingcount> </AddCommentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StarAPIResponseOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Result | Object |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.