GET api/CarParks/{id}

This returns a single car park

Request Information

Parameters

NameDescriptionAdditional information
id
The id of the car park to return

Define this parameter in the request URI.

Response Information

single car park

Response body formats

text/html

Sample:
HDCAPIModel.Models.Car_Park HDCAPIModel.Models.Car_Park

<div>
	<h4>Car Park</h4>
	<hr />
	<dl class="dl-horizontal">
		<dt>
			Car Park
		</dt>
		<dd>
			sample string 2
		</dd>
		<dt>
			Location
		</dt>
		<dd>
			sample string 3
		</dd>
        <dt>
            Phone & Pay code
        </dt>
        <dd>
            sample string 24
        </dd>
		<dt>
			UPRN
		</dt>
		<dd>
			sample string 4
		</dd>
		<dt>
			Car Park Use
		</dt>
		<dd>
			sample string 5
		</dd>
		<dt>
			Times and Prices
		</dt>
		<dd>
			sample string 6
		</dd>
		<dt>
			When do parking Charges Apply?
		</dt>
		<dd>
			sample string 7
		</dd>
		<dt>
			Closest Postcode for navigation
		</dt>
		<dd>
			sample string 8
		</dd>
		<dt>
			spaces-standard
		</dt>
		<dd>
			1.1
		</dd>
		<dt>
			spaces-disabled
		</dt>
		<dd>
			1.1
		</dd>
		<dt>
			spaces-motorcycle
		</dt>
		<dd>
			sample string 9
		</dd>
		<dt>
			spaces-parent and child
		</dt>
		<dd>
			1.1
		</dd>
		<dt>
			space-total
		</dt>
		<dd>
			1.1
		</dd>
		<dt>
			Machine No
		</dt>
		<dd>
			sample string 10
		</dd>
		<dt>
			Machine Type
		</dt>
		<dd>
			sample string 11
		</dd>
		<dt>
			Lighting No
		</dt>
		<dd>
			sample string 12
		</dd>
		<dt>
			Lighting Type
		</dt>
		<dd>
			sample string 13
		</dd>
		<dt>
			Litter Bins
		</dt>
		<dd>
			sample string 14
		</dd>
		<dt>
			Tips
		</dt>
		<dd>
			sample string 15
		</dd>
		<dt>
			Trolley Bays
		</dt>
		<dd>
			sample string 16
		</dd>
		<dt>
			Toilets
		</dt>
		<dd>
			sample string 17
		</dd>
		<dt>
			Recycling
		</dt>
		<dd>
			sample string 18
		</dd>
		<dt>
			Notes
		</dt>
		<dd>
			sample string 19
		</dd>
		<dt>
			Last Surveyed Date
		</dt>
		<dd>
			27/09/2020 20:29:57
		</dd>
		<dt>
			Season Tickets?
		</dt>
		<dd>
			sample string 20
		</dd>
		<dt>
			Resident Permit?
		</dt>
		<dd>
			sample string 21
		</dd>
		<dt>
			Resident Season Ticket?
		</dt>
		<dd>
			sample string 22
		</dd>
		<dt>
			Blue Badge Holder Parking Permit?
		</dt>
		<dd>
			sample string 23
		</dd>
	</dl>
</div>


application/json, text/json

Sample:
{
  "id": 1,
  "car_Park1": "sample string 2",
  "location": "sample string 3",
  "uprn": "sample string 4",
  "car_Park_Use": "sample string 5",
  "times_and_Prices": "sample string 6",
  "when_do_parking_Charges_Apply_": "sample string 7",
  "closest_Postcode__for_navigation_": "sample string 8",
  "spaces___standard": 1.1,
  "spaces___disabled": 1.1,
  "spaces___motorcycle": "sample string 9",
  "spaces___parent_and_child": 1.1,
  "spaces___total": 1.1,
  "machine_No": "sample string 10",
  "machine_Type": "sample string 11",
  "lighting_No": "sample string 12",
  "lighting_Type": "sample string 13",
  "litter_Bins": "sample string 14",
  "tips": "sample string 15",
  "trolley_Bays": "sample string 16",
  "toilets": "sample string 17",
  "recycling": "sample string 18",
  "notes": "sample string 19",
  "last_Surveyed_Date": "2020-09-27T20:29:57.9546256+01:00",
  "season_Tickets_": "sample string 20",
  "resident_Permit_": "sample string 21",
  "resident_Season_Ticket_": "sample string 22",
  "blue_Badge_Holder_Parking_Permit_": "sample string 23",
  "phonePayCode": "sample string 24"
}

application/xml, text/xml

Sample:
<Car_Park xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models">
  <Blue_Badge_Holder_Parking_Permit_>sample string 23</Blue_Badge_Holder_Parking_Permit_>
  <Car_Park1>sample string 2</Car_Park1>
  <Car_Park_Use>sample string 5</Car_Park_Use>
  <Closest_Postcode__for_navigation_>sample string 8</Closest_Postcode__for_navigation_>
  <ID>1</ID>
  <Last_Surveyed_Date>2020-09-27T20:29:57.9546256+01:00</Last_Surveyed_Date>
  <Lighting_No>sample string 12</Lighting_No>
  <Lighting_Type>sample string 13</Lighting_Type>
  <Litter_Bins>sample string 14</Litter_Bins>
  <Location>sample string 3</Location>
  <Machine_No>sample string 10</Machine_No>
  <Machine_Type>sample string 11</Machine_Type>
  <Notes>sample string 19</Notes>
  <PhonePayCode>sample string 24</PhonePayCode>
  <Recycling>sample string 18</Recycling>
  <Resident_Permit_>sample string 21</Resident_Permit_>
  <Resident_Season_Ticket_>sample string 22</Resident_Season_Ticket_>
  <Season_Tickets_>sample string 20</Season_Tickets_>
  <Times_and_Prices>sample string 6</Times_and_Prices>
  <Tips>sample string 15</Tips>
  <Toilets>sample string 17</Toilets>
  <Trolley_Bays>sample string 16</Trolley_Bays>
  <UPRN>sample string 4</UPRN>
  <When_do_parking_Charges_Apply_>sample string 7</When_do_parking_Charges_Apply_>
  <spaces___disabled>1.1</spaces___disabled>
  <spaces___motorcycle>sample string 9</spaces___motorcycle>
  <spaces___parent_and_child>1.1</spaces___parent_and_child>
  <spaces___standard>1.1</spaces___standard>
  <spaces___total>1.1</spaces___total>
</Car_Park>

text/javascript

Sample:
({"id":1,"car_Park1":"sample string 2","location":"sample string 3","uprn":"sample string 4","car_Park_Use":"sample string 5","times_and_Prices":"sample string 6","when_do_parking_Charges_Apply_":"sample string 7","closest_Postcode__for_navigation_":"sample string 8","spaces___standard":1.1,"spaces___disabled":1.1,"spaces___motorcycle":"sample string 9","spaces___parent_and_child":1.1,"spaces___total":1.1,"machine_No":"sample string 10","machine_Type":"sample string 11","lighting_No":"sample string 12","lighting_Type":"sample string 13","litter_Bins":"sample string 14","tips":"sample string 15","trolley_Bays":"sample string 16","toilets":"sample string 17","recycling":"sample string 18","notes":"sample string 19","last_Surveyed_Date":"2020-09-27T20:29:57.9546256+01:00","season_Tickets_":"sample string 20","resident_Permit_":"sample string 21","resident_Season_Ticket_":"sample string 22","blue_Badge_Holder_Parking_Permit_":"sample string 23","phonePayCode":"sample string 24"});