GET api/Dealership/GetComments?ObjectTypeID={ObjectTypeID}&ObjectID={ObjectID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectTypeID | enumObjectType |
Required |
|
| ObjectID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Comment| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentID | integer |
None. |
|
| Description | string |
None. |
|
| UserId | integer |
None. |
|
| UserName | string |
None. |
|
| EntryDate | date |
None. |
|
| ObjectID | integer |
None. |
|
| ObjectTypeID | enumObjectType |
None. |
|
| NoteUserName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CommentID": 1,
"Description": "sample string 2",
"UserId": 3,
"UserName": "sample string 4",
"EntryDate": "2025-11-05T10:01:07.2962382-05:00",
"ObjectID": 6,
"ObjectTypeID": 1,
"NoteUserName": "sample string 7"
},
{
"CommentID": 1,
"Description": "sample string 2",
"UserId": 3,
"UserName": "sample string 4",
"EntryDate": "2025-11-05T10:01:07.2962382-05:00",
"ObjectID": 6,
"ObjectTypeID": 1,
"NoteUserName": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model">
<Comment>
<CommentID>1</CommentID>
<Description>sample string 2</Description>
<EntryDate>2025-11-05T10:01:07.2962382-05:00</EntryDate>
<NoteUserName>sample string 7</NoteUserName>
<ObjectID>6</ObjectID>
<ObjectTypeID>Vehicle</ObjectTypeID>
<UserId>3</UserId>
<UserName>sample string 4</UserName>
</Comment>
<Comment>
<CommentID>1</CommentID>
<Description>sample string 2</Description>
<EntryDate>2025-11-05T10:01:07.2962382-05:00</EntryDate>
<NoteUserName>sample string 7</NoteUserName>
<ObjectID>6</ObjectID>
<ObjectTypeID>Vehicle</ObjectTypeID>
<UserId>3</UserId>
<UserName>sample string 4</UserName>
</Comment>
</ArrayOfComment>