POST Comment/GiveCarComment
Request Information
URI Parameters
None.
Body Parameters
GiveCarCommentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CarID | integer |
None. |
|
| CommentedBy | integer |
None. |
|
| RentID | integer |
None. |
|
| Comment | string |
None. |
|
| Point | integer |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CarID": 1,
"CommentedBy": 2,
"RentID": 3,
"Comment": "sample string 4",
"Point": 5,
"Status": 6
}
application/xml, text/xml
Sample:
<GiveCarCommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <CarID>1</CarID> <Comment>sample string 4</Comment> <CommentedBy>2</CommentedBy> <Point>5</Point> <RentID>3</RentID> <Status>6</Status> </GiveCarCommentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<AppSettings.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject"> <message>sample string 2</message> <success>true</success> </AppSettings.GeneralResponse>