POST api/selfsale/RegisterEstate

Request Information

Parameters

NameDescriptionAdditional information
model

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PropertyTypeId": 1,
  "StreetName": "sample string 2",
  "StreetNumber": "sample string 3",
  "ZipCode": "sample string 4",
  "MunicipalityId": 5,
  "Floor": 1,
  "Door": "sample string 6",
  "ABFMemberId": 1,
  "Size": 1,
  "Rooms": 1,
  "Price": 1,
  "SharedCost": 1,
  "LotSize": 1,
  "BuildYear": 1,
  "Latitude": 1.1,
  "Longitude": 1.1,
  "UnitId": "5ed55ec7-6f07-48cd-a792-1a9927c6ca29",
  "EnergyLabel": "sample string 7",
  "Title": "sample string 8",
  "Description": "sample string 9",
  "ImageOrder": [
    1,
    2,
    3
  ]
}

application/xml, text/xml

Sample:
<RegisterSelfSaleBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Boliga.Web.API.Models">
  <ABFMemberId>1</ABFMemberId>
  <BuildYear>1</BuildYear>
  <Description>sample string 9</Description>
  <Door>sample string 6</Door>
  <EnergyLabel>sample string 7</EnergyLabel>
  <Floor>1</Floor>
  <Id>1</Id>
  <ImageOrder xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </ImageOrder>
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
  <LotSize>1</LotSize>
  <MunicipalityId>5</MunicipalityId>
  <Price>1</Price>
  <PropertyTypeId>1</PropertyTypeId>
  <Rooms>1</Rooms>
  <SharedCost>1</SharedCost>
  <Size>1</Size>
  <StreetName>sample string 2</StreetName>
  <StreetNumber>sample string 3</StreetNumber>
  <Title>sample string 8</Title>
  <UnitId>5ed55ec7-6f07-48cd-a792-1a9927c6ca29</UnitId>
  <ZipCode>sample string 4</ZipCode>
</RegisterSelfSaleBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.