5
0
mirror of https://github.com/cwinfo/envayasms.git synced 2025-01-10 12:05:40 +00:00

add incoming call notifications to server api reference

This commit is contained in:
Jesse Young 2012-03-15 19:38:05 -07:00
parent 816245f0ac
commit 2023299f84
2 changed files with 8 additions and 6 deletions

View File

@ -233,7 +233,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
<dt>"incoming":</dt> <dt>"incoming":</dt>
<dd> <dd>
Forward an incoming SMS or MMS message to the server Forward an incoming message to the server (SMS, MMS, or call notification)
</dd> </dd>
<dt>"send_status":</dt> <dt>"send_status":</dt>
@ -300,15 +300,16 @@ Additional parameters sent in POST requests with <code>action=incoming</code>:
The phone number of the message sender. The phone number of the message sender.
</dd> </dd>
<dt>"message_type" ::= "sms" | "mms"</dt> <dt>"message_type" ::= "sms" | "mms" | "call"</dt>
<dd> <dd>
Whether this message is an SMS or MMS. Whether this message is a SMS, MMS, or a notification of an incoming call.
</dd> </dd>
<dt>"message" ::= &lt;text&gt;</dt> <dt>"message" ::= &lt;text&gt;</dt>
<dd> <dd>
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS. The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters. For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
(This field is empty for incoming call notifications.)
</dd> </dd>
<dt>"timestamp" ::= &lt;long integer&gt;</dt> <dt>"timestamp" ::= &lt;long integer&gt;</dt>

View File

@ -273,7 +273,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
<dt>"incoming":</dt> <dt>"incoming":</dt>
<dd> <dd>
Forward an incoming SMS or MMS message to the server Forward an incoming message to the server (SMS, MMS, or call notification)
</dd> </dd>
<dt>"send_status":</dt> <dt>"send_status":</dt>
@ -340,15 +340,16 @@ Additional parameters sent in POST requests with <code>action=incoming</code>:
The phone number of the message sender. The phone number of the message sender.
</dd> </dd>
<dt>"message_type" ::= "sms" | "mms"</dt> <dt>"message_type" ::= "sms" | "mms" | "call"</dt>
<dd> <dd>
Whether this message is an SMS or MMS. Whether this message is a SMS, MMS, or a notification of an incoming call.
</dd> </dd>
<dt>"message" ::= &lt;text&gt;</dt> <dt>"message" ::= &lt;text&gt;</dt>
<dd> <dd>
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS. The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters. For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
(This field is empty for incoming call notifications.)
</dd> </dd>
<dt>"timestamp" ::= &lt;long integer&gt;</dt> <dt>"timestamp" ::= &lt;long integer&gt;</dt>