You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to send a message to a person who does not have a Digipost account, where the message triggers
124
+
an SMS notification with a request for registration. The SMS notification says that if they register for a
125
+
Digipost account the document will be delivered digitally.
126
+
127
+
The actual content of the SMS is not part of the request, it is stored as part of the Digipost sender account and must be agreed upon with Digipost, as well as the SMS sender ID or phone number.
121
128
122
-
It is possible to send a message to a person, who does not have a Digipost account, where the message triggers
123
-
an SMS notification with a request for registration. The SMS notification says that if they register for a
124
-
Digipost account the document will be delivered digitally. The actual content of the SMS is not part of the request, it is stored as part of the Digipost sender account and must be agreed upon with Digipost. If the user does not register for a Digipost
125
-
account within the defined deadline, the document will be either delivered as physical mail or not at all.
126
-
Be aware that PersonalIdentificationNumber as Recipient is required to be able to deliver the document to the correct person.
129
+
If the user does not register for a Digipost account within the defined deadline, the document will be either delivered as physical mail or not at all.
130
+
Be aware that using `PersonalIdentificationNumber` is required as Recipient to be able to deliver the document to the correct person.
131
+
132
+
It is important to include the country code, starting with a plus sign, in the recipient's phone number.
127
133
128
134
In the following the document will be delivered as physical mail by Digipost if the recipient has not registered for a Digipost account by the defined deadline:
129
135
@@ -158,14 +164,30 @@ var messageWithRequestForRegistration = new Message(sender, recipient, primaryDo
https://github.com/digipost/digipost-data-types-dotnet or the original project (for java) https://github.com/digipost/digipost-data-types.
395
417
396
-
397
418
### Search for receivers
419
+
398
420
Acentralpartofauserinterfacein the application that is integrating with Digipost is the possiblity to search for receivers. This is available via the search endpoint. A person can be found by simply searching by first name and last name, e.g. <code>Ola Nordmann</code>, or specified further by street address, postal code, city and organization name.
399
421
400
422
It is important to note that the search results returned do not necessarily include the receiver to which you actually wish to send. The search results returned are strictly based on the search query you have sent in. This equally applies when only one search result is returned. This means that the actual person to which you wish to send must be confirmed by a human being before the actual document i sent (typically in the senders application). If the goal is to create a 100% automated workflow then the identify recipient endpoint should be used (see Identify recipient use case).
@@ -410,6 +432,7 @@ foreach (var person in response.PersonDetails)
Let us illustrate this with an example. Let _BrokerCompany_ be an organization with id _12345_, and thumbprint of their certificate _84e492a972b7e..._. They want to send on behalf of _SenderCompany_ with organization id _67890_.
DataTypes are sent as an XML string in the document's `datatype` field. You can build the XMLyourself, orimportourextensionlibrary [Digipost.Api.Client.DataTypes](https://www.nuget.org/packages/Digipost.Api.Client.DataTypes.Core/).
466
-
This library includes classes for each datatype, which can be serialized using `SerializeUtil.Serialize(DataType)`, which gives you the XML string to append to the document.
Theexpansionlibraryisoptional, buthighlyrecommendedifyou'll be working with DataTypes. The examples below will assume the usage of said library.
468
491
469
492
### Send message with appointment datatype
@@ -490,6 +513,7 @@ var document = new Document(
490
513
491
514
// Create Message and send using the client as specified in other examples.
492
515
```
516
+
493
517
### Send message with event datatype
494
518
495
519
`Event` representsameetingsetfor a specific place, but covering multiple time spans. The following example demonstrates how to include such extra data:
@@ -530,6 +554,7 @@ Document document = new Document(
530
554
531
555
// Create Message and send using the client as specified in other examples.
0 commit comments