GET api/v1/PostCommentlist?postid={postid}&parent={parent}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| postid | integer |
Required |
|
| parent | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PostCommentList| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| postid | integer |
None. |
|
| commenttype | string |
None. |
|
| commentpar | integer |
None. |
|
| commentbyid | integer |
None. |
|
| comment | string |
None. |
|
| name | string |
None. |
|
| pimage | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"postid": 2,
"commenttype": "sample string 3",
"commentpar": 4,
"commentbyid": 5,
"comment": "sample string 6",
"name": "sample string 7",
"pimage": "sample string 8"
},
{
"id": 1,
"postid": 2,
"commenttype": "sample string 3",
"commentpar": 4,
"commentbyid": 5,
"comment": "sample string 6",
"name": "sample string 7",
"pimage": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfPostCommentList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppBridge">
<PostCommentList>
<comment>sample string 6</comment>
<commentbyid>5</commentbyid>
<commentpar>4</commentpar>
<commenttype>sample string 3</commenttype>
<id>1</id>
<name>sample string 7</name>
<pimage>sample string 8</pimage>
<postid>2</postid>
</PostCommentList>
<PostCommentList>
<comment>sample string 6</comment>
<commentbyid>5</commentbyid>
<commentpar>4</commentpar>
<commenttype>sample string 3</commenttype>
<id>1</id>
<name>sample string 7</name>
<pimage>sample string 8</pimage>
<postid>2</postid>
</PostCommentList>
</ArrayOfPostCommentList>