GET api/RentalProperties/{id}

This returns a single property for rent

Request Information

Parameters

NameDescriptionAdditional information
id
The id of the property for rent to return

Define this parameter in the request URI.

Response Information

single property for rent

Response body formats

text/html

Sample:
<div>
	<h4>Rental_Property</h4>
	<hr />
	<dl class="dl-horizontal">
		<dt>
			Reference
		</dt>
		<dd>
			sample string 2
		</dd>
		<dt>
			Property Area
		</dt>
		<dd>
			sample string 3
		</dd>
		<dt>
			Property Type
		</dt>
		<dd>
			sample string 4
		</dd>
		<dt>
			Rent Asked
		</dt>
		<dd>
			sample string 5
		</dd>
		<dt>
			Description
		</dt>
		<dd>
			sample string 6
		</dd>
		<dt>
			Telephone
		</dt>
		<dd>
			sample string 7
		</dd>
		<dt>
			email address
		</dt>
		<dd>
			sample string 8
		</dd>
		<dt>
			status
		</dt>
		<dd>
			sample string 13
		</dd>
	</dl>
</div>


application/json, text/json

Sample:
{
  "id": 1,
  "reference": "sample string 2",
  "property_Area": "sample string 3",
  "property_Type": "sample string 4",
  "rent_Asked": "sample string 5",
  "description": "sample string 6",
  "telephone": "sample string 7",
  "email_address": "sample string 8",
  "address_of_Property": "sample string 9",
  "landlords_Address": "sample string 10",
  "let_Date": "2020-09-27T19:53:47.7207099+01:00",
  "name_of_Landlord": "sample string 11",
  "name_of_Tennant": "sample string 12",
  "status": "sample string 13",
  "uprn": 1.1,
  "via_Housing_Needs_": "sample string 14"
}

application/xml, text/xml

Sample:
<Rental_Property xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models">
  <Address_of_Property>sample string 9</Address_of_Property>
  <Description>sample string 6</Description>
  <ID>1</ID>
  <Landlords_Address>sample string 10</Landlords_Address>
  <Let_Date>2020-09-27T19:53:47.7207099+01:00</Let_Date>
  <Name_of_Landlord>sample string 11</Name_of_Landlord>
  <Name_of_Tennant>sample string 12</Name_of_Tennant>
  <Property_Area>sample string 3</Property_Area>
  <Property_Type>sample string 4</Property_Type>
  <Reference>sample string 2</Reference>
  <Rent_Asked>sample string 5</Rent_Asked>
  <Telephone>sample string 7</Telephone>
  <UPRN>1.1</UPRN>
  <Via_Housing_Needs_>sample string 14</Via_Housing_Needs_>
  <email_address>sample string 8</email_address>
  <status>sample string 13</status>
</Rental_Property>

text/javascript

Sample:
({"id":1,"reference":"sample string 2","property_Area":"sample string 3","property_Type":"sample string 4","rent_Asked":"sample string 5","description":"sample string 6","telephone":"sample string 7","email_address":"sample string 8","address_of_Property":"sample string 9","landlords_Address":"sample string 10","let_Date":"2020-09-27T19:53:47.7207099+01:00","name_of_Landlord":"sample string 11","name_of_Tennant":"sample string 12","status":"sample string 13","uprn":1.1,"via_Housing_Needs_":"sample string 14"});