POST api/Properties/CreateRentContract
Request Information
URI Parameters
None.
Body Parameters
PR_RentAgreement| Name | Description | Type | Additional information |
|---|---|---|---|
| ROWID | globally unique identifier |
None. |
|
| AgreementID | integer |
None. |
|
| AgreementParentID | integer |
None. |
|
| Location_ID | integer |
None. |
|
| OwnerUserID | integer |
None. |
|
| TanentUserID | integer |
None. |
|
| AgentUserID | integer |
None. |
|
| Rent_Agreement_Months | integer |
None. |
|
| Agreement_Number | string |
None. |
|
| Agreement_Breakup_Date | date |
None. |
|
| Agreement_Breakup_By | integer |
None. |
|
| Agreement_Breakup_Penalty | decimal number |
None. |
|
| Agreement_StartDate | date |
None. |
|
| Agreement_EndDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | globally unique identifier |
None. |
|
| ApproveDate | date |
None. |
|
| ApprovedBy | globally unique identifier |
None. |
|
| CurrentStatus | integer |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ROWID": "87c27f24-fba1-45b0-867b-b2009ad983ea",
"AgreementID": 1,
"AgreementParentID": 1,
"Location_ID": 1,
"OwnerUserID": 1,
"TanentUserID": 1,
"AgentUserID": 1,
"Rent_Agreement_Months": 1,
"Agreement_Number": "sample string 2",
"Agreement_Breakup_Date": "2026-04-06T21:33:03.0379053-05:00",
"Agreement_Breakup_By": 1,
"Agreement_Breakup_Penalty": 1.0,
"Agreement_StartDate": "2026-04-06T21:33:03.0399225-05:00",
"Agreement_EndDate": "2026-04-06T21:33:03.0399225-05:00",
"IsActive": true,
"IsDeleted": true,
"CreatedDate": "2026-04-06T21:33:03.0399225-05:00",
"CreatedBy": "aaf2c881-f77d-440e-9eb7-6008dcbdac69",
"UpdatedDate": "2026-04-06T21:33:03.0399225-05:00",
"UpdatedBy": "e6453509-6ff0-47e2-af73-789714cbf774",
"ApproveDate": "2026-04-06T21:33:03.0419402-05:00",
"ApprovedBy": "83682956-6ed7-4876-9211-d3e15ae0a110",
"CurrentStatus": 1,
"Notes": "sample string 3"
}
application/xml, text/xml
Sample:
<PR_RentAgreement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Entities"> <AgentUserID>1</AgentUserID> <AgreementID>1</AgreementID> <AgreementParentID>1</AgreementParentID> <Agreement_Breakup_By>1</Agreement_Breakup_By> <Agreement_Breakup_Date>2026-04-06T21:33:03.0379053-05:00</Agreement_Breakup_Date> <Agreement_Breakup_Penalty>1</Agreement_Breakup_Penalty> <Agreement_EndDate>2026-04-06T21:33:03.0399225-05:00</Agreement_EndDate> <Agreement_Number>sample string 2</Agreement_Number> <Agreement_StartDate>2026-04-06T21:33:03.0399225-05:00</Agreement_StartDate> <ApproveDate>2026-04-06T21:33:03.0419402-05:00</ApproveDate> <ApprovedBy>83682956-6ed7-4876-9211-d3e15ae0a110</ApprovedBy> <CreatedBy>aaf2c881-f77d-440e-9eb7-6008dcbdac69</CreatedBy> <CreatedDate>2026-04-06T21:33:03.0399225-05:00</CreatedDate> <CurrentStatus>1</CurrentStatus> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <Location_ID>1</Location_ID> <Notes>sample string 3</Notes> <OwnerUserID>1</OwnerUserID> <ROWID>87c27f24-fba1-45b0-867b-b2009ad983ea</ROWID> <Rent_Agreement_Months>1</Rent_Agreement_Months> <TanentUserID>1</TanentUserID> <UpdatedBy>e6453509-6ff0-47e2-af73-789714cbf774</UpdatedBy> <UpdatedDate>2026-04-06T21:33:03.0399225-05:00</UpdatedDate> </PR_RentAgreement>
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>