POST api/Properties/SaveRentHistory
Request Information
URI Parameters
None.
Body Parameters
RentHistoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RentHistoryID | integer |
None. |
|
| DBNo | integer |
None. |
|
| AppNo | integer |
None. |
|
| AgreementCode | string |
None. |
|
| TenantUserProfileID | integer |
None. |
|
| RentInAdvance | boolean |
None. |
|
| Rent_Late_Penalty | decimal number |
None. |
|
| LocationID | integer |
None. |
|
| RentAgreementID | integer |
None. |
|
| RentTypeID | integer |
None. |
|
| RentMonthID | integer |
None. |
|
| Rent_Amount | decimal number |
None. |
|
| Previous_Dues | decimal number |
None. |
|
| Rent_Paid_Amount | decimal number |
None. |
|
| Rent_RemainingBalance | decimal number |
None. |
|
| Rent_Paid_Ref | string |
None. |
|
| Rent_Due_Date | date |
None. |
|
| Rent_Paid_Date | date |
None. |
|
| Rent_Paid_Ref_Pic | string |
None. |
|
| Rent_Prior_Balance | decimal number |
None. |
|
| Rent_Deffer_Interest | decimal number |
None. |
|
| Rent_Status | string |
None. |
|
| RentStatusReason | string |
None. |
|
| InvoiceNumber | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RentHistoryID": 1,
"DBNo": 1,
"AppNo": 1,
"AgreementCode": "sample string 1",
"TenantUserProfileID": 2,
"RentInAdvance": true,
"Rent_Late_Penalty": 4.0,
"LocationID": 5,
"RentAgreementID": 6,
"RentTypeID": 7,
"RentMonthID": 8,
"Rent_Amount": 9.0,
"Previous_Dues": 10.0,
"Rent_Paid_Amount": 11.0,
"Rent_RemainingBalance": 12.0,
"Rent_Paid_Ref": "sample string 13",
"Rent_Due_Date": "2026-04-06T21:35:19.0156585-05:00",
"Rent_Paid_Date": "2026-04-06T21:35:19.0166735-05:00",
"Rent_Paid_Ref_Pic": "sample string 16",
"Rent_Prior_Balance": 17.0,
"Rent_Deffer_Interest": 18.0,
"Rent_Status": "sample string 19",
"RentStatusReason": "sample string 20",
"InvoiceNumber": "sample string 21",
"IsActive": true,
"IsDeleted": true,
"CreatedBy": 24,
"UpdatedBy": 25
}
application/xml, text/xml
Sample:
<RentHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.ViewModel.PropertieViews"> <AgreementCode>sample string 1</AgreementCode> <AppNo>1</AppNo> <CreatedBy>24</CreatedBy> <DBNo>1</DBNo> <InvoiceNumber>sample string 21</InvoiceNumber> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <LocationID>5</LocationID> <Previous_Dues>10</Previous_Dues> <RentAgreementID>6</RentAgreementID> <RentHistoryID>1</RentHistoryID> <RentInAdvance>true</RentInAdvance> <RentMonthID>8</RentMonthID> <RentStatusReason>sample string 20</RentStatusReason> <RentTypeID>7</RentTypeID> <Rent_Amount>9</Rent_Amount> <Rent_Deffer_Interest>18</Rent_Deffer_Interest> <Rent_Due_Date>2026-04-06T21:35:19.0156585-05:00</Rent_Due_Date> <Rent_Late_Penalty>4</Rent_Late_Penalty> <Rent_Paid_Amount>11</Rent_Paid_Amount> <Rent_Paid_Date>2026-04-06T21:35:19.0166735-05:00</Rent_Paid_Date> <Rent_Paid_Ref>sample string 13</Rent_Paid_Ref> <Rent_Paid_Ref_Pic>sample string 16</Rent_Paid_Ref_Pic> <Rent_Prior_Balance>17</Rent_Prior_Balance> <Rent_RemainingBalance>12</Rent_RemainingBalance> <Rent_Status>sample string 19</Rent_Status> <TenantUserProfileID>2</TenantUserProfileID> <UpdatedBy>25</UpdatedBy> </RentHistoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>