Skip to content

/AWS1/CL_PPS=>SENDVOICEMESSAGE()

About SendVoiceMessage

Create a new voice message and send it to a recipient's phone number.

Method Signature

IMPORTING

Optional arguments:

IV_CALLERID TYPE /AWS1/PPSSTRING /AWS1/PPSSTRING

The phone number that appears on recipients' devices when they receive the message.

IV_CONFIGURATIONSETNAME TYPE /AWS1/PPSWORDCHARACTERSWDELM00 /AWS1/PPSWORDCHARACTERSWDELM00

The name of the configuration set that you want to use to send the message.

IO_CONTENT TYPE REF TO /AWS1/CL_PPSVOICEMESSAGECONT /AWS1/CL_PPSVOICEMESSAGECONT

Content

IV_DESTINATIONPHONENUMBER TYPE /AWS1/PPSNONEMPTYSTRING /AWS1/PPSNONEMPTYSTRING

The phone number that you want to send the voice message to.

IV_ORIGINATIONPHONENUMBER TYPE /AWS1/PPSNONEMPTYSTRING /AWS1/PPSNONEMPTYSTRING

The phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PPSSENDVOICEMSGRSP /AWS1/CL_PPSSENDVOICEMSGRSP