GET v1/RentalContract/{rentalContractId}/Comments
Get a list with all Comments for a RentalContract.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| rentalContractId |
The identifier of the RentalContract. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the Comments for the RentalContract.
Collection of RentalContractComment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
None. |
| Comment |
Gets or sets the comment. |
string |
Required |
| EmployeeId |
Gets or sets the employee identifier. |
integer |
None. |
| EmployeeName |
Gets or sets the name of the employee. |
string |
None. |
| TimeStamp |
Gets or sets the time stamp. |
date |
None. |
| RentalContractId |
Gets or sets the RentalContractId identifier. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Comment": "sample string 2",
"EmployeeId": 1,
"EmployeeName": "sample string 3",
"TimeStamp": "2026-03-21T22:14:30.8242281+01:00",
"RentalContractId": 1
},
{
"Id": 1,
"Comment": "sample string 2",
"EmployeeId": 1,
"EmployeeName": "sample string 3",
"TimeStamp": "2026-03-21T22:14:30.8242281+01:00",
"RentalContractId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfRentalContractComment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RentalContractComment>
<Id>1</Id>
<Comment>sample string 2</Comment>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 3</EmployeeName>
<TimeStamp>2026-03-21T22:14:30.8242281+01:00</TimeStamp>
<RentalContractId>1</RentalContractId>
</RentalContractComment>
<RentalContractComment>
<Id>1</Id>
<Comment>sample string 2</Comment>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 3</EmployeeName>
<TimeStamp>2026-03-21T22:14:30.8242281+01:00</TimeStamp>
<RentalContractId>1</RentalContractId>
</RentalContractComment>
</ArrayOfRentalContractComment>