POST api/Dealership/AddComment
Request Information
URI Parameters
None.
Body Parameters
CommentName | 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. |
Request Formats
application/json, text/json
Sample:
{ "CommentID": 1, "Description": "sample string 2", "UserId": 3, "UserName": "sample string 4", "EntryDate": "2025-05-11T11:44:41.2869532-04:00", "ObjectID": 6, "ObjectTypeID": 1, "NoteUserName": "sample string 7" }
application/xml, text/xml
Sample:
<Comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model"> <CommentID>1</CommentID> <Description>sample string 2</Description> <EntryDate>2025-05-11T11:44:41.2869532-04:00</EntryDate> <NoteUserName>sample string 7</NoteUserName> <ObjectID>6</ObjectID> <ObjectTypeID>Vehicle</ObjectTypeID> <UserId>3</UserId> <UserName>sample string 4</UserName> </Comment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommentName | 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-05-11T11:44:41.3025789-04:00", "ObjectID": 6, "ObjectTypeID": 1, "NoteUserName": "sample string 7" }
application/xml, text/xml
Sample:
<Comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model"> <CommentID>1</CommentID> <Description>sample string 2</Description> <EntryDate>2025-05-11T11:44:41.3025789-04:00</EntryDate> <NoteUserName>sample string 7</NoteUserName> <ObjectID>6</ObjectID> <ObjectTypeID>Vehicle</ObjectTypeID> <UserId>3</UserId> <UserName>sample string 4</UserName> </Comment>