GET api/Property/{id}

Gets a specific property.

Request Information

Parameters

NameDescriptionAdditional information
id
The ID of the property.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Type": 2,
  "Description": "sample string 3",
  "Entity": 4,
  "StartDate": "17/11/2019 08:36",
  "EndDate": "17/11/2019 08:36",
  "EndDateType": 0,
  "Destination": 0,
  "MarketValue": 6.0,
  "Evolutions": [
    {
      "ID": 1,
      "StartDate": "17/11/2019 08:36",
      "EndDate": "17/11/2019 08:36",
      "EndDateType": 0,
      "Percentage": 3.0,
      "Amount": 4.0,
      "Description": "sample string 5",
      "Frequency": 0,
      "ResumeAfter": true
    },
    {
      "ID": 1,
      "StartDate": "17/11/2019 08:36",
      "EndDate": "17/11/2019 08:36",
      "EndDateType": 0,
      "Percentage": 3.0,
      "Amount": 4.0,
      "Description": "sample string 5",
      "Frequency": 0,
      "ResumeAfter": true
    },
    {
      "ID": 1,
      "StartDate": "17/11/2019 08:36",
      "EndDate": "17/11/2019 08:36",
      "EndDateType": 0,
      "Percentage": 3.0,
      "Amount": 4.0,
      "Description": "sample string 5",
      "Frequency": 0,
      "ResumeAfter": true
    }
  ]
}

application/xml, text/xml

Sample:
<Property xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CapitalPlanner.Data.Models">
  <Description>sample string 3</Description>
  <Destination>Buffer</Destination>
  <EndDate>2019-11-17T08:36:51.57275+01:00</EndDate>
  <EndDateType>SixtyFiveYears</EndDateType>
  <Entity>4</Entity>
  <Evolutions>
    <Evolution>
      <Amount>4</Amount>
      <Description>sample string 5</Description>
      <EndDate>2019-11-17T08:36:51.57275+01:00</EndDate>
      <EndDateType>SixtyFiveYears</EndDateType>
      <Frequency>Once</Frequency>
      <ID>1</ID>
      <Percentage>3</Percentage>
      <ResumeAfter>true</ResumeAfter>
      <StartDate>2019-11-17T08:36:51.57275+01:00</StartDate>
    </Evolution>
    <Evolution>
      <Amount>4</Amount>
      <Description>sample string 5</Description>
      <EndDate>2019-11-17T08:36:51.57275+01:00</EndDate>
      <EndDateType>SixtyFiveYears</EndDateType>
      <Frequency>Once</Frequency>
      <ID>1</ID>
      <Percentage>3</Percentage>
      <ResumeAfter>true</ResumeAfter>
      <StartDate>2019-11-17T08:36:51.57275+01:00</StartDate>
    </Evolution>
    <Evolution>
      <Amount>4</Amount>
      <Description>sample string 5</Description>
      <EndDate>2019-11-17T08:36:51.57275+01:00</EndDate>
      <EndDateType>SixtyFiveYears</EndDateType>
      <Frequency>Once</Frequency>
      <ID>1</ID>
      <Percentage>3</Percentage>
      <ResumeAfter>true</ResumeAfter>
      <StartDate>2019-11-17T08:36:51.57275+01:00</StartDate>
    </Evolution>
  </Evolutions>
  <ID>1</ID>
  <MarketValue>6</MarketValue>
  <StartDate>2019-11-17T08:36:51.57275+01:00</StartDate>
  <Type>2</Type>
</Property>