API sms EN: различия между версиями

Материал из WiKi - UserSide
(Новая страница: «en | ru Section '''API''' ERP "UserSide"»)
 
Нет описания правки
 
Строка 2: Строка 2:


Section '''[[API_EN|API]]''' ERP "UserSide"
Section '''[[API_EN|API]]''' ERP "UserSide"
Purpose: SMS messages
Additional parameters:
action - request subcategory ''(possible value: see below)''
== Subcategories ==
==== send ====
Description: Send message
Obligatory parameters:
  number - phone number
  msg - message text
Optional parameters:
  customer_id - ID of the user to which to attach the SMS
Optional returned data:
  array(
  [id] => ID of the sent message
  )
==== status ====
Description: Information about the message
Required parameters:
  id - message ID ''(multiple comma values possible)''
Optional returned data:
  array(
  [data] => array of message data
  )

Текущая версия от 14:16, 1 сентября 2023

en | ru

Section API ERP "UserSide"

Purpose: SMS messages

Additional parameters:
action - request subcategory (possible value: see below)

Subcategories

send

Description: Send message
Obligatory parameters:
 number - phone number
 msg - message text
Optional parameters:
 customer_id - ID of the user to which to attach the SMS
Optional returned data:
 array(
  [id] => ID of the sent message
 )

status

Description: Information about the message
Required parameters:
 id - message ID (multiple comma values possible)
Optional returned data:
 array(
  [data] => array of message data
 )