POST api/Properties/SaveRentPropertyContract
Request Information
URI Parameters
None.
Body Parameters
RentPropertyTermsAndConditionsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TermsAndConditionsArr | Collection of RentPropertyTermsAndConditionModel |
None. |
|
| LogId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TermsAndConditionsArr": [
{
"DBNo": 1,
"AppNo": 1,
"RentPropertyContractID": 1,
"ContractPointID": 2,
"RentPropertyID": 3,
"TermAndCondition": "sample string 4",
"OwnerID": 1,
"AgentID": 1,
"TanentID": 1,
"IsRequired": true,
"ParentID": 1,
"OrderNo": 1,
"IsActive": true,
"IsDeleted": true,
"Notes": "sample string 8",
"CreatedBy": 9,
"UpdatedBy": 10
},
{
"DBNo": 1,
"AppNo": 1,
"RentPropertyContractID": 1,
"ContractPointID": 2,
"RentPropertyID": 3,
"TermAndCondition": "sample string 4",
"OwnerID": 1,
"AgentID": 1,
"TanentID": 1,
"IsRequired": true,
"ParentID": 1,
"OrderNo": 1,
"IsActive": true,
"IsDeleted": true,
"Notes": "sample string 8",
"CreatedBy": 9,
"UpdatedBy": 10
}
],
"LogId": 1
}
application/xml, text/xml
Sample:
<RentPropertyTermsAndConditionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.ViewModel">
<LogId>1</LogId>
<TermsAndConditionsArr>
<RentPropertyTermsAndConditionModel>
<AgentID>1</AgentID>
<AppNo>1</AppNo>
<ContractPointID>2</ContractPointID>
<CreatedBy>9</CreatedBy>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Notes>sample string 8</Notes>
<OrderNo>1</OrderNo>
<OwnerID>1</OwnerID>
<ParentID>1</ParentID>
<RentPropertyContractID>1</RentPropertyContractID>
<RentPropertyID>3</RentPropertyID>
<TanentID>1</TanentID>
<TermAndCondition>sample string 4</TermAndCondition>
<UpdatedBy>10</UpdatedBy>
</RentPropertyTermsAndConditionModel>
<RentPropertyTermsAndConditionModel>
<AgentID>1</AgentID>
<AppNo>1</AppNo>
<ContractPointID>2</ContractPointID>
<CreatedBy>9</CreatedBy>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Notes>sample string 8</Notes>
<OrderNo>1</OrderNo>
<OwnerID>1</OwnerID>
<ParentID>1</ParentID>
<RentPropertyContractID>1</RentPropertyContractID>
<RentPropertyID>3</RentPropertyID>
<TanentID>1</TanentID>
<TermAndCondition>sample string 4</TermAndCondition>
<UpdatedBy>10</UpdatedBy>
</RentPropertyTermsAndConditionModel>
</TermsAndConditionsArr>
</RentPropertyTermsAndConditionsModel>
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>