GET api/Comments/CommentWithExactTxt/{txt}
Get Comment with the exact given Txt
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| txt | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Comment| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentId | integer |
None. |
|
| EmployeId | integer |
None. |
|
| PostId | integer |
None. |
|
| CommentTitle | string |
None. |
|
| CommentText | string |
None. |
|
| LastChanged | date |
None. |
|
| PublishedDate | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
|
| IsViewed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"CommentId": 1,
"EmployeId": 2,
"PostId": 3,
"CommentTitle": "sample string 4",
"CommentText": "sample string 5",
"LastChanged": "2026-01-10T04:41:49.5767621+00:00",
"PublishedDate": "2026-01-10T04:41:49.5767621+00:00",
"LastChange_AuthorId": 1,
"IsViewed": true
}
application/xml, text/xml
Sample:
<Comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <CommentId>1</CommentId> <CommentText>sample string 5</CommentText> <CommentTitle>sample string 4</CommentTitle> <EmployeId>2</EmployeId> <IsViewed>true</IsViewed> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2026-01-10T04:41:49.5767621+00:00</LastChanged> <PostId>3</PostId> <PublishedDate>2026-01-10T04:41:49.5767621+00:00</PublishedDate> </Comment>