Published at 2019-01-25
Changes to the API since beginning of December 2018.
PublicationStatus.isVisible
is now correct also for project units.
PublicationStatus.hemnetURL
could sometimes lead to a "Listing has been
removed" page.
PublicationStatus.isRemovedBeforeShowing
field.Money
and housing form inputs could cause a 500 Internal
Server Error rather than a proper 422 Unprocessable Entity response. They
should now give back proper validation error messages instead.
Lead
s got two new fields:
firstName
, which is a deprecated field for the first name part of the
full name.lastName
, which is a deprecated field for the last name part of the full
name.customAreaName
was added on Listing
, Project
, and ProjectUnit
.
PublicationStatus
got two new fields:
isSearchable
- If the record can be found in searches on Hemnet.isRemovedBeforeShowing
- If the record is kept searchable for a little
longer after being unpublished before a showing. This is not a new
state on Hemnet, but it is the first time a broker system is able to detect
when it happens. See the field for more information.ErrorDocument
now contains the request ID.X-Request-Id
response header is now documented in the API specification.omrade
from the old API is no longer deprecated.
customAreaName
is the new name for this field.PublicationStatus
documentation was expanded a lot. It should be much
easier to understand how the different states relate to each other and what
you are able to control yourself.isRemovedBeforeShowing
state, it is no longer shown as isPublished
or isVisible
.