GET api/VillaTropico?invoiceID={invoiceID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| invoiceID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PaymentDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| ReservationID | integer |
None. |
|
| GuestName | string |
None. |
|
| UnitName | string |
None. |
|
| UnitPicture | string |
None. |
|
| CheckIn | date |
None. |
|
| CheckOut | date |
None. |
|
| Total | decimal number |
None. |
|
| TotalDetails | string |
None. |
|
| Payments | Collection of PaymentItem |
None. |
|
| PayingNow | decimal number |
None. |
|
| CCProcessingFee | decimal number |
None. |
|
| PayingNowInvoiceID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReservationID": 1,
"GuestName": "sample string 2",
"UnitName": "sample string 3",
"UnitPicture": "sample string 4",
"CheckIn": "2025-12-10T06:02:09.9585859+00:00",
"CheckOut": "2025-12-10T06:02:09.9585859+00:00",
"Total": 7.0,
"TotalDetails": "sample string 8",
"Payments": [
{
"InvoiceID": 1,
"Amount": 2.0,
"DueDate": "2025-12-10T06:02:09.9585859+00:00",
"Paid": true
},
{
"InvoiceID": 1,
"Amount": 2.0,
"DueDate": "2025-12-10T06:02:09.9585859+00:00",
"Paid": true
}
],
"PayingNow": 9.0,
"CCProcessingFee": 10.0,
"PayingNowInvoiceID": 11
}
application/xml, text/xml
Sample:
<PaymentDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ReservationID>1</ReservationID>
<GuestName>sample string 2</GuestName>
<UnitName>sample string 3</UnitName>
<UnitPicture>sample string 4</UnitPicture>
<CheckIn>2025-12-10T06:02:09.9585859+00:00</CheckIn>
<CheckOut>2025-12-10T06:02:09.9585859+00:00</CheckOut>
<Total>7</Total>
<TotalDetails>sample string 8</TotalDetails>
<Payments>
<PaymentItem>
<InvoiceID>1</InvoiceID>
<Amount>2</Amount>
<DueDate>2025-12-10T06:02:09.9585859+00:00</DueDate>
<Paid>true</Paid>
</PaymentItem>
<PaymentItem>
<InvoiceID>1</InvoiceID>
<Amount>2</Amount>
<DueDate>2025-12-10T06:02:09.9585859+00:00</DueDate>
<Paid>true</Paid>
</PaymentItem>
</Payments>
<PayingNow>9</PayingNow>
<CCProcessingFee>10</CCProcessingFee>
<PayingNowInvoiceID>11</PayingNowInvoiceID>
</PaymentDetails>