- 21 Jan 2025
- 2 Minutes à lire
- SombreLumière
- PDF
userSendNotificationEx (Command)
- Mis à jour le 21 Jan 2025
- 2 Minutes à lire
- SombreLumière
- PDF
The userSendNotificationEx command sends a notification message created in the framework, i.e. outside of OneSpan Authentication Server, to a specified user via the Message Delivery Component (MDC). The notification can be scheduled to be sent at a later time.
Parameters
Parameter name | Data type | Description |
---|---|---|
sessionID | String | Required. The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see logon (Command)). |
user | UserInput | Required. Specifies the user to whom the message is sent (see UserInput (Data type)). |
schedule | ScheduleInput | Optional. Defines the date and time the message will be sent. |
profile | String | Optional. Defines which MDC profile is used to send the message. |
EmailNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. | |
sms | SmsNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. |
voice | VoiceNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. |
push | PushNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. |
UserInput (Data type)
Element name | Data type | Description |
---|---|---|
userID | String | The user ID. |
domain | String | Optional. The user domain. |
ScheduleInput (Data type)
Element name | Data type | Description |
---|---|---|
time | DateTime | The date and time the message will be sent. Seconds are ignored by the scheduled task. |
EmailNotification (Data type)
SmsNotification (Data type)
Element name | Data type | Description |
---|---|---|
destinationPhoneNumber | String | The returned mobile phone number of the recipient. |
message | String | The message text. |
VoiceNotification (Data type)
Element name | Data type | Description |
---|---|---|
destinationPhoneNumber | String | The returned (mobile) phone number of the recipient. |
message | String | The message text. |
PushNotification (Data type)
UserSendNotificationExResult (Data type)
Element name | Data type | Description |
---|---|---|
user | UserOutput | The returned user information (see UserOutput (Data type)). |
taskID | String | The returned task ID in case of scheduled notifications. |
destination | String | The returned (mobile) phone number or email address of the recipient. |
UserOutput (Data type)
Element name | Data type | Description |
---|---|---|
userID | String | The resolved user ID. |
domain | String | The user domain. |
orgUnit | String | Optional. The organizational unit of the user. |
Example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adm="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Administration"> <soapenv:Header/> <soapenv:Body> <adm:userSendNotificationEx> <sessionID>bbhDR7=mI90R+Q1Kr_??~9IesbmtnVyQ</sessionID> <user> <userID>Jane Doe</userID> <domain>Master</domain> </user> <push> <serialNumber>12345678</serialNumber> <title>Message title</title> <subject>Lorem ipsum</subject> <message>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</message> </push> </adm:userSendNotificationEx> </soapenv:Body> </soapenv:Envelope>
Requirements
Required administrative privileges:
- Send Notification