Note |
---|
The XML HTTP API has been deprecated. |
...
<SMS/> |
|
<HEADER/> | this is the source address of the message |
<FOOTER/> | optional text to be appended to each message |
...
<MESSAGE/> | id is for custom message id, optional. |
<ADDRESS/> | id is for custom address id, optional.
|
<BODY/> | (see examples) |
<PAYLOAD/> | (see examples) |
...
Element | Attributes | Type | Required | DEFAULT/(DESCRIPTION) |
---|---|---|---|---|
<DOCUMENT> | ID | STRING | No | (assigned by message core) |
| TIMESTAMP | STRING | No | (assigned by message core) |
| MODE | STRING | No | NORMAL |
| VERSION | STRING | No |
|
| STATUS | STRING | No |
|
| REASON | STRING | No |
|
<SENDER> | PASSWORD | STRING | No | (this is your Amethon password) |
|
|
|
| (the attributes TYPE, ROLE and VALUE in <ADDRESS> must be provided as follow: |
<REPLYTO> |
|
|
| (the attributes TYPE, ROLE and VALUE in <ADDRESS> must be provided as follow: |
<SMS> |
|
|
| (SMS specific features) |
<HEADER> |
| STRING | No | (up to 11 ASCII characters that can be used instead of the senders mobile phone number (or instead of amethon.com). Dependent on carrier) |
<FOOTER> |
| STRING | No | (appended to each message. Note that long messages will be truncated to accommodate the footer) |
<MESSAGE> | ID | STRING | No |
|
| PRIORITY | NUMBER | No |
|
|
|
|
| (the attributes TYPE, ROLE and VALUE in <ADDRESS> must be provided as follow: |
<ADDRESS> | ID | STRING | No |
|
| TYPE | STRING | Yes |
|
| ROLE | STRING | Yes |
|
| VALUE | STRING | Yes |
|
| TIMESTAMP | STRING | No |
|
| STATUS | STRING | No |
|
| REASON | STRING | No |
|
| PRIORITY | NUMBER | No |
|
<SUBJECT> |
| STRING | No | (email subject(not used for SMS)) |
<BODY> | TYPE | STRING | Yes | TEXT |
<PAYLOAD> |
| STRING | Yes | (body payload – the actual data. text of message to send. Note max message + footer = 160 chars) |
| type | STRING | Yes |
|
| encoding | STRING | Yes |
|
| width | NUMBER | For LOGO, GIF & BITMAP | Width in pixels. Normally 72 for Nokia phones |
| height | NUMBER |
| Height in pixels. Normally 14 for LOGO or 28 for PICTURE message |
| depth | NUMBER |
| Bits per pixel. Normally 1 |
| mcc | NUMBER | For LOGO | Country code: |
| mnc | NUMBER |
| Network code: |
-