Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
93 lines (75 sloc) 2.42 KB

Introduction

The authorized caller is able to send the SMS messages to one or more mobile terminals.

URL format

http://{serverRoot}/ericsson/oneapi/sms/1/outbound/{senderAddress}/requests/

HTTP request

Parameter Description Mandatory or Optional

senderAddress

It is the address to which a responding SMS is sent. senderAddress in URL and payload must be same.

Mandatory

message

The message content which is going to be sent to the senderAddress, the length of it must be less than 160 characters

Mandatory

clientCorrelator

It uniquely identifies the request

Mandatory

HTTP respnose code

HTTP status code Description Note

200

Successful

500

Internal server error

400

The syntax of the request is not correct.

Example

Request Post http://52.28.33.220/ericsson/oneapi/sms/1/outbound/tel%3A%2B123456789/requests

{"outboundSMSMessageRequest":{
 "senderAddress":"tel%3A%2B123456789",
 "outboundSMSTextMessage":{"message":"Hello World!"},
 "address":["tel%3A%2B8613500000000"],
 "clientCorrelator": "12312",
 "receiptRequest":{
      "notifyURL":"https://example.com:7464/smsStatus",
      "callbackData":"doSomething()"
      }
 }
 }