The aim is to make using our API as transparent as possible whether it is an Ambita broker or not.
As of today, there is a difference. Pantedokument sent to a non-Ambita broker will not get TINGLYST
/TINGLYSING_FEILET
status.
However, a new AFPant feature for sharing tinglysing information is being developed by DSVE. When this new feature hits production, also pantedokument sent to non-Ambita brokers will get TINGLYST
/TINGLYSING_FEILET
.
To make the handling uniform whether it is an Ambita broker or not, the preferred handling is polling for events or status.
The drawing below depicts an overview of the complete process of sending a pantedokument to a real state broker. Please see below for more details about each scenario
The flow diagram below describes steps for Ambita brokers only.
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> |
Pantedokument sent to an existing settlement for an Ambita broker will get TINGLYST
or TINGLYSING_FEILET
(given that the broker tinglyser pantedokumentet) Se this state diagram for more details.
If we don’t find the settlement in EPS, we send the pantedokument to altinn regardless if it is an Ambita broker or not.
The flow diagram below describes steps for non-Ambita brokers only.
If a pantedokument is sent to a broker (sendToRealEstateBroker
) and a settlement does not exist/is not an Ambita broker, the following steps is executed:
Can the real estate broker given, receive pantedokument. Determined by a lookup in Akeldo.
The pantedokument is uploaded to AFPant(Altinn) for the broker to download.
The pantedokument copy in etinglysing is changed from PART_SIGNER
to SENDT_TIL_MEGLER
The response will contain SENDT_TIL_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> |
The final MOTTATT_AV_MEGLER
state must be obtained by polling for event(hendelser) or status(getStatus)
The following alternate flow might happen
Scenario | ||
Broker is not able to receive pantedokument | Response:
| |
Pantedokument status does not change from | This happens very rarely and it means that there might some technical issue. To resolve this issue, contact the real estate broker. | |
The pantedokument gets One of the borrowers in the pantedokument does not exists in the brokers settlement. The settlement might not be ready. I these cases, take contact with the real estate broker. If the real estate broker is able to fix the problem, resend the pantedokument. Error code 9999. The reason for is found in the detail element of the xml. | Example:
| |
The pantedokument gets The external broker system is unable to find the settlement. I these cases, take contact with the real estate broker. If the real estate broker is able to fix the problem, resend the pantedokument. Error code 9999. The reason for is found in the detail element of the xml. |
| |
The pantedokument gets For any number of reasons:
Retry sending the pantedokument and/or make contact with the real estate broker or Ambita kundesupport. We have never experienced this error in beta or production. |
|