POST api/Properties/SaveRentedProperty

Request Information

URI Parameters

None.

Body Parameters

RentedProperty_ReferenceModel
NameDescriptionTypeAdditional information
DBNo

integer

None.

AppNo

integer

None.

RentedProperty_ID

integer

None.

LocationID

integer

None.

RentAgreementID

integer

None.

TenantUserProfileID

integer

None.

ReferenceOne_UserProfileID

integer

None.

ReferenceOne_TempUserProfileID

integer

None.

ReferenceTwo_UserProfileID

integer

None.

ReferenceTwo_TempUserProfileID

integer

None.

PoliceReport

string

None.

Notes

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Action

string

None.

LogId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DBNo": 1,
  "AppNo": 1,
  "RentedProperty_ID": 1,
  "LocationID": 1,
  "RentAgreementID": 2,
  "TenantUserProfileID": 3,
  "ReferenceOne_UserProfileID": 1,
  "ReferenceOne_TempUserProfileID": 1,
  "ReferenceTwo_UserProfileID": 1,
  "ReferenceTwo_TempUserProfileID": 1,
  "PoliceReport": "sample string 4",
  "Notes": "sample string 5",
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 8,
  "UpdatedBy": 9,
  "Action": "sample string 10",
  "LogId": 1
}

application/xml, text/xml

Sample:
<RentedProperty_ReferenceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.ViewModel.PropertieViews">
  <Action>sample string 10</Action>
  <AppNo>1</AppNo>
  <CreatedBy>8</CreatedBy>
  <DBNo>1</DBNo>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <LocationID>1</LocationID>
  <LogId>1</LogId>
  <Notes>sample string 5</Notes>
  <PoliceReport>sample string 4</PoliceReport>
  <ReferenceOne_TempUserProfileID>1</ReferenceOne_TempUserProfileID>
  <ReferenceOne_UserProfileID>1</ReferenceOne_UserProfileID>
  <ReferenceTwo_TempUserProfileID>1</ReferenceTwo_TempUserProfileID>
  <ReferenceTwo_UserProfileID>1</ReferenceTwo_UserProfileID>
  <RentAgreementID>2</RentAgreementID>
  <RentedProperty_ID>1</RentedProperty_ID>
  <TenantUserProfileID>3</TenantUserProfileID>
  <UpdatedBy>9</UpdatedBy>
</RentedProperty_ReferenceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional 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>