Implements Powow TransactionalSMS.Create and TransactionalSMS.Update RPC
methods See CNOUS/mse#1005
This commit is contained in:
@ -1,3 +1,34 @@
|
||||
### Create transactional SMS template
|
||||
|
||||
# @name createSms
|
||||
POST http://localhost:3000/api/v1/mock/powow
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"APIKey": "powow",
|
||||
"Command": "TransactionalSms.Create"
|
||||
}
|
||||
|
||||
### Update transactional SMS template
|
||||
|
||||
@SmsID = {{createSms.response.body.$.SmsID}}
|
||||
|
||||
POST http://localhost:3000/api/v1/mock/powow
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"APIKey": "powow",
|
||||
"Command": "TransactionalSms.Update",
|
||||
"SmsID": {{SmsID}},
|
||||
"SmsName": "Defaut SMS",
|
||||
"FromName": "FakeSMS",
|
||||
"Content": "Bonjour %Subscriber:Firstname%,\nLorem ipsum dolor sit amet...",
|
||||
"ShortLink": 0,
|
||||
"Language": "fr"
|
||||
}
|
||||
|
||||
### Send transactional SMS
|
||||
|
||||
POST http://localhost:3000/api/v1/mock/powow
|
||||
Content-Type: application/json
|
||||
|
||||
@ -5,7 +36,7 @@ Content-Type: application/json
|
||||
"APIKey": "powow",
|
||||
"Command": "TransactionalSms.Send",
|
||||
"ResponseFormat": "JSON",
|
||||
"SmsID": 0,
|
||||
"SmsID": {{SmsID}},
|
||||
"MobilePhoneNumber": "+33699999999",
|
||||
"TimeToSend": "2017-01-01 10:00:00",
|
||||
"CustomData": {
|
||||
|
Reference in New Issue
Block a user