GET api/Comment?q={q}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| q | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfListOfCommentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | Collection of CommentDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": [
{
"CommentId": 1,
"CommentForEntity": 2,
"CommentForEntityId": "sample string 3",
"CommentType": 4,
"CompanyCode": "sample string 5",
"CommentText": "sample string 6",
"ValidFlag": true,
"insertUserId": 8,
"insertUserName": "sample string 9",
"insertDate": "2025-10-27T03:17:11.0901746-07:00",
"RelativeDateTime": "sample string 11"
},
{
"CommentId": 1,
"CommentForEntity": 2,
"CommentForEntityId": "sample string 3",
"CommentType": 4,
"CompanyCode": "sample string 5",
"CommentText": "sample string 6",
"ValidFlag": true,
"insertUserId": 8,
"insertUserName": "sample string 9",
"insertDate": "2025-10-27T03:17:11.0901746-07:00",
"RelativeDateTime": "sample string 11"
}
],
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfCommentDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<d2p1:CommentDTO>
<d2p1:CommentForEntity>2</d2p1:CommentForEntity>
<d2p1:CommentForEntityId>sample string 3</d2p1:CommentForEntityId>
<d2p1:CommentId>1</d2p1:CommentId>
<d2p1:CommentText>sample string 6</d2p1:CommentText>
<d2p1:CommentType>4</d2p1:CommentType>
<d2p1:CompanyCode>sample string 5</d2p1:CompanyCode>
<d2p1:RelativeDateTime>sample string 11</d2p1:RelativeDateTime>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:insertDate>2025-10-27T03:17:11.0901746-07:00</d2p1:insertDate>
<d2p1:insertUserId>8</d2p1:insertUserId>
<d2p1:insertUserName>sample string 9</d2p1:insertUserName>
</d2p1:CommentDTO>
<d2p1:CommentDTO>
<d2p1:CommentForEntity>2</d2p1:CommentForEntity>
<d2p1:CommentForEntityId>sample string 3</d2p1:CommentForEntityId>
<d2p1:CommentId>1</d2p1:CommentId>
<d2p1:CommentText>sample string 6</d2p1:CommentText>
<d2p1:CommentType>4</d2p1:CommentType>
<d2p1:CompanyCode>sample string 5</d2p1:CompanyCode>
<d2p1:RelativeDateTime>sample string 11</d2p1:RelativeDateTime>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:insertDate>2025-10-27T03:17:11.0901746-07:00</d2p1:insertDate>
<d2p1:insertUserId>8</d2p1:insertUserId>
<d2p1:insertUserName>sample string 9</d2p1:insertUserName>
</d2p1:CommentDTO>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfArrayOfCommentDTO3NYuOdgi>