The aim is to make using our API as transparent as possible whether it is an Ambita broker or not. When the message containing tinglysing information for the pantedokument is available, the only difference will be the content of the sendToRealestateBroker
response which will contain MOTTATT_AV_MEGLER
.
To make the handling uniform whether it is an Ambita broker or not, polling for events or status will work in both cases.
The drawing below depicts an overview of the complete process of sending a pantedokument to a reale state broker. Please see below for more details about each scenario
Send pantedokument to an Ambita broker
If it is an Ambita broker and the settlement exists, the response is immediate and will contain the status MOTTATT_AV_MEGLER
:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:sendToRealEstateBrokerResponse xmlns:ns2="http://dokument.ws7.etinglysing.no/"> <return> <status> <created>2021-01-07T14:50:45.667+01:00</created> <documentStatusTinglysing/> <id>123321123</id> <statusCode>MOTTATT_AV_MEGLER</statusCode> <description>Pant - 4444/66/66// [G]</description> <reference>Customer reference</reference> </status> <type>PANTEDOKUMENT</type> <documentVersion>KARTVERKET</documentVersion> </return> </ns2:sendToRealEstateBrokerResponse> </soap:Body> </soap:Envelope>