| Service | Operation | Description |
|---|---|---|
| MessageNotification | notifyMessageDeliveryReceipt | Called when an previously sent MMS (with sendMessage or sendMessageWithInlineAttachments) has changed state. |
| SendMessage | getMessageDeliveryStatus | Obtains the delivery state of a sent MMS message. This is an alternative to the notification service. |
| sendMessage | Sends a MMS message to one or more recipients. Optionally, it can notify an endpoint when there is a delivery state change. This uses SwA; for non SwA use the SendMessageInlineAttachments service. |
|
| SendMessageInlineAttachments | sendMessageWithInlineAttachments | Sends a MMS message to one or more recipients. Optionally, it can notify an endpoint when there is a delivery state change. You can send text, image, sound and video; see the supported media types. |
MessageNotification Service
notifyMessageDeliveryReceipt
Called when an previously sent MMS (with sendMessage or sendMessageWithInlineAttachments) has changed state.
Request Parameters
- correlator : string (required)
Called to inform the delivery status of previously sent MMS message (using the sendMessage operation of the OneAPI/MMS/SendMessage service).
- deliveryStatus : DeliveryInformation (required)
The delivery status for a destination address.
SendMessage Service
getMessageDeliveryStatus
Obtains the delivery state of a sent MMS message.
This is an alternative to the notification service.
Request Parameters
- requestIdentifier : string (required)
The request identifier of a sent MMS message.
This is the result value returned by the sendMessage operation.
Response Parameters
- result : DeliveryInformation (optional)
The delivery status.
Delivery status of a sent MMS message
The following example shows how to obtain the delivery status of a sent MMS message.
And the corresponding, successful, response:
sendMessage
Sends a MMS message to one or more recipients. Optionally, it can notify an endpoint when there is a delivery state change.
This uses SwA; for non SwA use the SendMessageInlineAttachments service.
Request Parameters
- addresses : anyURI (required)
A list of one or more destination telephone addresses.
An address is a URI of the form
tel:full-address, wherefull-addressis an international (including country code) telephone number, e.g.tel:+351213456789(E.164 format).- senderAddress : string (optional)
The sender name.
Although this parameter name has "address" in its name, you can use almost any string (this field is restricted add link to restrictions).
- subject : string (optional)
The MMS subject.
- priority : MessagePriority (optional)
The message priority.
- charging : ChargingInformation (optional)
Do not pass this parameter, or set it to
null. Its not used by our implementation.- receiptRequest : SimpleReference (optional)
Defines the endpoint that should be notified when the delivery state has changed, e.g. when the message has been delivered to the terminal.
- format : MessageFormat (optional)
The message format.
Currently, only
MMSis supported.
Response Parameters
- result : string (required)
The request identifier of the sent MMS message.
Send MMS with receipt notification
The following example shows how to send an MMS and receive a notification when its delivery status changes (e.g. when it's delivered to the user terminal).
And the corresponding, successful, response:
When the MMS is delivered to the terminal, the application will receive the following notification message:
SendMessageInlineAttachments Service
sendMessageWithInlineAttachments
Sends a MMS message to one or more recipients. Optionally, it can notify an endpoint when there is a delivery state change.
You can send text, image, sound and video; see the supported media types.
Request Parameters
- addresses : anyURI (required)
A list of one or more destination telephone addresses.
An address is a URI of the form
tel:full-address, wherefull-addressis an international (including country code) telephone number, e.g.tel:+351213456789(E.164 format).- senderAddress : string (optional)
The sender name.
Although this parameter name has "address" in its name, you can use almost any string (this field is restricted add link to restrictions).
- subject : string (optional)
The MMS subject.
- priority : MessagePriority (optional)
The message's priority.
- charging : ChargingInformation (optional)
Do not pass this parameter, or set it to
null. It's not used by our implementation.- receiptRequest : SimpleReference (optional)
Defines the endpoint that should be notified when the delivery state has changed, e.g. when the message has been delivered to the terminal.
- format : MessageFormat (optional)
The message format.
Currently, only
MMSis supported.- attachments : Attachments (required)
A list of attachments.
Response Parameters
- result : string (required)
Send MMS with attachments
The following example shows how to send a MMS message (text and image).
You can also define the receiptRequest; see the example at the regular sendMessage operation.
And the corresponding, successful, response:
MessageNotification Entities
DeliveryInformation
The message's delivery status sent to a specific destination address.
| Attribute Name | Description |
|---|---|
| address : anyURI | The destination address. e.g. tel:+351213456789. |
| deliveryStatus : DeliveryStatus | The delivery status. |
| description : string (optional) | The delivery status description. |
DeliveryStatus
The message's delivery status.
| Value Name | Description |
|---|---|
| DeliveredToTerminal | Successful delivery to Terminal. |
| DeliveryUncertain | Delivery status unknown. e.g. because it was handed off to another network. |
| DeliveryImpossible | Unsuccessful delivery. The message could not be delivered before it expired. |
| MessageWaiting | The message is still queued for delivery. This is a temporary state, pending transition to one of the preceding states. |
| DeliveredToNetwork | Successful delivery to the network enabler responsible for routing the message. |
| DeliveryNotificationNotSupported | Unable to provide delivery receipt notification. |
SendMessage Entities
ChargingInformation
This entity is not supported by our implementation. Do not use.
| Attribute Name | Description |
|---|---|
| List of description : string | |
| currency : string (optional) | |
| amount : decimal (optional) | |
| code : string (optional) |
DeliveryInformation
The message's delivery status sent to a specific destination address.
| Attribute Name | Description |
|---|---|
| address : anyURI | The destination address. e.g. tel:+351213456789. |
| deliveryStatus : DeliveryStatus | The delivery status. |
| description : string (optional) | The delivery status description. |
DeliveryStatus
The message's delivery status.
| Value Name | Description |
|---|---|
| DeliveredToTerminal | Successful delivery to Terminal. |
| DeliveryUncertain | Delivery status unknown. e.g. because it was handed off to another network. |
| DeliveryImpossible | Unsuccessful delivery. The message could not be delivered before it expired. |
| MessageWaiting | The message is still queued for delivery. This is a temporary state, pending transition to one of the preceding states. |
| DeliveredToNetwork | Successful delivery to the network enabler responsible for routing the message. |
| DeliveryNotificationNotSupported | Unable to provide delivery receipt notification. |
MessageFormat
The message format.
The only supported format is MMS.
| Value Name | Description |
|---|---|
| MMS | The message is an MMS message. This is the only supported format. |
| WapPush | |
| SMS | |
| EMS | |
| SmartMessaging | |
| IM | |
| IMPagerMode | |
| IMLargeMessage | |
| IMFileTransfer | |
MessagePriority
The message's priority. You should use the Default value.
| Value Name | Description |
|---|---|
| Default | Default |
| Low | Low |
| Normal | Normal |
| High | High |
SimpleReference
| Attribute Name | Description |
|---|---|
| endpoint : anyURI |
The URI for the application HTTP endpoint that will receive the delivery notifications. The exact type of the endpoint interface is choosen with the interfaceName member. |
| interfaceName : string |
The endpoint interface name. Currently set this to soap (your application must implement the Notification interface). |
| correlator : string |
An opaque value defined by your application. It was defined when you called the sendSms operation. It will be sent for the application notification endpoint as a callback context. |
SendMessageInlineAttachments Entities
Attachment
List of attachments.
| Attribute Name | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id : string | The content-id of this attachment. |
|||||||||||||||
| type : string |
The attachment media type (text, image, audio or video). Given the wide range of mobile terminals available on the market you should use the recommended media types described below.
|
|||||||||||||||
| body : base64Binary | The attachment contents (base64 encoded). |
Attachments
List of attachments.| Attribute Name | Description |
|---|---|
| List of attachment : Attachment (optional) |
ChargingInformation
This entity is not supported by our implementation. Do not use.
| Attribute Name | Description |
|---|---|
| List of description : string | |
| currency : string (optional) | |
| amount : decimal (optional) | |
| code : string (optional) |
MessageFormat
The message format.
The only supported format is MMS.
| Value Name | Description |
|---|---|
| MMS | The message is an MMS message. This is the only supported format. |
| WapPush | |
| SMS | |
| EMS | |
| SmartMessaging | |
| IM | |
| IMPagerMode | |
| IMLargeMessage | |
| IMFileTransfer | |
MessagePriority
The message's priority. You should use the Default value.
| Value Name | Description |
|---|---|
| Default | Default |
| Low | Low |
| Normal | Normal |
| High | High |
SimpleReference
| Attribute Name | Description |
|---|---|
| endpoint : anyURI |
The URI for the application HTTP endpoint that will receive the delivery notifications. The exact type of the endpoint interface is choosen with the interfaceName member. |
| interfaceName : string |
The endpoint interface name. Currently set this to soap (your application must implement the Notification interface). |
| correlator : string |
An opaque value defined by your application. It was defined when you called the sendSms operation. It will be sent for the application notification endpoint as a callback context. |