POST api/v1/sms

Request Information

URI Parameters

None.

Body Parameters

SendSMSModel
NameDescriptionTypeAdditional information
recipient

string

Required

Min length: 10

phone_dial_code

string

Required

String length: inclusive between 2 and 3

message

string

Required

Request Formats

application/json, text/json

Sample:
{
  "recipient": "sample string 1",
  "phone_dial_code": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<SendSMSModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <CountryCode>sample string 2</CountryCode>
  <Message>sample string 3</Message>
  <Recipient>sample string 1</Recipient>
</SendSMSModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SendSMSModel'.

Response Information

Resource Description

MovamApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<MovamApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Movam">
  <Data />
  <Message>sample string 1</Message>
</MovamApiResponse>