Дерево сторінок

Versions Compared

Ключ

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Програмний код
POST /ip2sms/ HTTP/1.1
Host: api.lifecellomnicell.com.ua
Content-type: application/json;charset=UTF-8
Authorization: Basic YWRtaW46YWRtaW4=

{
  "id": "bulk",
  "extended": "true",
  "source": "<SMS_ALPHA>",
  "ottSource": "<VIBER_ID>",
  "desc": "test sms viber",
  "uniq_key": 123457,
  "type": "OTTSMS",
  "ott": "VIBER",
  "validity": "+4 hours",
  "ottValidity": "+2 min",
  "to": [
    {"msisdn": "380950000502"},
    {"msisdn": "380950009003"},
    {"msisdn": "380950009002"},
    {"msisdn": "000000000000"}
  ],
  "body": {
    "value": "Have a nice day to SMS channel!"
  },
  "ottBody": {
    "value": "Have a nice day to VIBER!"
  }
}

...