Altinn / altinn-notifications

Altinn platform microservice for handling notifications (mail, sms, etc)
MIT License
2 stars 3 forks source link

Add support for sending notification to a national identity number #439

Closed acn-sbuad closed 7 months ago

acn-sbuad commented 9 months ago

Description

Considerations

Specification

Response model for posting order: Full details in response. No need for additional request

Alternative 1:

"orderId":"GUID",
"recipientLookup":[Success, PartialSuccess, Failed]
"recipientLookupValidation": 
    {
        "personLookup": {
            "isReserved": "1234568,12345678,2345678",
            "missingEmail":"12345,12345,12345",
            "missingMobileNumber":"23456,23456,23456"
            },
        "organisationLookup":{
            "missingEmail":"12345",
            "missingMobileNumber":"23456"
    }
}

Alternative 2:

"orderId":"GUID",
"recipientLookup":[Success, PartialSuccess, Failed]
"recipientLookupValidation": [
    {
    "missingContact": "1234568, 9842345",
    "isReserved": "1234568, 9842345"    
    }]

Tasks

Acceptance criteria