Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

Operations with message folders Contents | SearchDelete message list in a folder

Home > Product Manual > Developers Guide > HTTP SMS API > Operations with message folders > Query message list

 


Automated phone calls?
Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

How to query message lists from a message folder in Ozeki NG SMS Gateway

This example demonstrates how you can query messages from a message folder in Ozeki NG SMS Gateway. With this solution you can query all the messages from a given message folder (it can be: "Addressbook", "deleted", "deliveryreport", "inbox", "notsent", "outbox", "sent", "unknown", "unprocessed").

Type this address into your browser:

http://127.0.0.1:9501/api?action=getmessagelist&username=admin&password=abc123&listName=sent

Provide the follows:

"action": "getmessagelist"
"username": your username used to log into Ozeki NG SMS Gateway
"password": your password in Ozeki NG SMS Gateway
"listName": specify the folder you wish to query (it can be: "Addressbook", "deleted", "deliveryreport", "inbox", "notsent", "outbox", "sent", "unknown", "unprocessed")

The response:
<Envelope>
          <ID>93e36b10-1fce-4648-a059-dbf67ddb66a6</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000000</Receiver>
          <Message>Test000000</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>85fbb591-c7d2-446c-842d-543984da7ad9</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000002</Receiver>
          <Message>Test000002</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>c6c79208-10b1-4a15-b0db-7dd186507ef3</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000003</Receiver>
          <Message>Test000003</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>6d0bfe74-cc69-4a12-9396-ca3cf6618c3f</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000004</Receiver>
          <Message>Test000004</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>8063eae0-83fd-4faa-9957-d810f7610f01</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000005</Receiver>
          <Message>Test000005</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>a629a5f5-ada5-4251-acd9-408a8062dee5</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000006</Receiver>
          <Message>Test000006</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>c21ba180-912a-47fa-9a51-0a81ae88af4d</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sende>
          <Receiver>+3600000007</Receiver>
          <Message>Test000007</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>ee3a93cb-801d-40c2-8a75-21ca2ee8b3d5</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000009</Receiver>
          <Message>Test000009</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>4e61f8d6-b259-4acc-8a6f-97c2ddeaf86b</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000010</Receiver>
          <Message>Test000010</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>d00d3629-85e2-4be9-9813-b67a4ac92585</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receive>+3600000011</Receiver>
          <Message>Test000011</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>3c99072e-a403-443d-81f5-a50cd2346497</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000012</Receiver>
          <Message>Test000012</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>f11f4d1a-55b5-4f2a-9a7a-ee877fa9fe63</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000013</Receiver>
          <Message>Test000013</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>
<Envelope>
          <ID>6ad216dd-fca4-475a-80b6-16a40329998e</ID>
          <Type>SMS:TEXT</Type>
          <Sender>admin</Sender>
          <Receiver>+3600000015</Receiver>
          <Message>Test000015</Message>
          <SentTime>2010-03-01 16:02:06</SentTime>
          <ReceivedTime>2010-03-01 16:02:06</ReceivedTime>
</Envelope>

Dig deeper!
People who read this also read...


Mark a single message by ID
Delete a single message by ID
Query the addressbook of a user
Query the message templates of a user
Query a single message by ID
Delete message list of a message folder
Delete message folder items permanently





Next page: Delete message list in a folder
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > Developers Guide > HTTP SMS API > Operations with message folders > Query message list
Legal | Privacy | Terms of use | 2641
35.168.112.145 | 92.118.27.157 | Login