POST api/Fastighet

Request Information

URI Parameters

None.

Body Parameters

FastighetDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Created

date

None.

Updated

date

None.

Beteckning

string

None.

Address

string

None.

Postcode

string

None.

City

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Notes

string

None.

Persons

Collection of PersonDto

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'stensater.api3.Dto.FastighetDto'. Path 'persons[0].fastigheter'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'stensater.api3.Dto.FastighetDto'. Path 'persons[0].fastigheter'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.