Skip to main content

NotificationResponse

Notification Response

persistanceReferencestring

persistance reference in case the notification was persisted

persistedAtdate-time

persistance date in case the notification was persisted

persistanceModestring

persistance mode in case the notification was persisted

Possible values: [DATABASE, LOCAL_FILE, EXTERNAL_FILE, EXTERNAL_SERVICE]

notifications object[]

list of notification response items

  • Array [
  • clientNumberstringrequired

    client number / radical / identifiantrc

    channelstringrequired

    notification channel

    Possible values: [MAIL, SMS, PUSH]

    subjectstringrequired

    notification subject

    messagestringrequired

    notification content / message / body

    adriaClientbooleanrequired

    is the client available or not on ADRIA's System

    emailstring

    notification email (required if channel is EMAIL)

    phoneNumberstring

    notification phone Number (required if channel is SMS)

    phoneIdstring

    notification phone ID (required if channel is PUSH)

    notificationStatusstring

    notification status

    Possible values: [VALID, INVALID, BUILT, INCOMPLETE, SENDING, SENT, FAILED]

    messagesstring[]

    error messages in case anything went wrong

    persistanceReferencestring

    persistance reference in case the notification was persisted

  • ]
  • NotificationResponse
    {
    "persistanceReference": "string",
    "persistedAt": "2024-07-29T15:51:28.071Z",
    "persistanceMode": "DATABASE",
    "notifications": [
    {
    "clientNumber": "string",
    "channel": "MAIL",
    "subject": "string",
    "message": "string",
    "adriaClient": true,
    "email": "string",
    "phoneNumber": "string",
    "phoneId": "string",
    "notificationStatus": "VALID",
    "messages": [
    "string"
    ],
    "persistanceReference": "string"
    }
    ]
    }