Generate foelgebrev
All registrations/shipments are called messages. This implies that several documents can be registered in the same message. All documents in one message are treated as one transaction, which means that all or nothing will be registered.
The følgebrev, or the slip, is essential to register documents.
In the beginning, to support the existing business flow, we recommend generating one følgebrev per document. This is done by sending the document reference (documentID) returned from the generatePantedokument method. The følgebrev is also a document on the BIDXML format. It is generated per the requirements given by the API of Statens Kartverk. These documents must be signed with a server certificate and set back into Ambita using the setSDO function. The format is SEID-SDO as any other document, but only containing the server signature (BrukerstedsBankID) from a legal organization.
Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dok="http://dokument.ws7.etinglysing.no/">
<soapenv:Header/>
<soapenv:Body>
<dok:generateFoelgebrev>
<documentList documents="12345,23456"/>
</dok:generateFoelgebrev>
</soapenv:Body>
</soapenv:Envelope>