Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"
info@ozeki.hu
Tel.: +36 1 371 0150
SMS Gateway to send SMS via GSM modem or IP SMS connection Overview SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Quick start SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Download SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Manual SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection How to buy SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection FAQ SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Contact Us SMS Gateway to send SMS via GSM modem or IP SMS connection
OZEKI NG SMS Gateway - Product Guide

Operate with single message Contents | SearchMark a message by ID

Home > Product Manual > Developers Guide > HTTP SMS API > Operate with single message > Query a message by ID

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Developers Guide
  Tutorials
  ASP SMS API
  PHP SMS API
  HTTP SMS API
  Send message
  Receive message
  Billing methods
  Urlencode
  Select operator
  Operate with single message
  Query a message by ID
  Mark a message by ID
  Delete a message by ID
  Query the addressbook
  Operations with message folders
  Examples
  User handling
  Service Provider Connection Handling
  Reporting API
  Dynamic SMPP parameters
  SQL SMS API
  C Sharp SMS API
  AJAX SMS API
  Delphi SMS API
  Cpp SMS API
  Java SMS API
  VB.NET SMS API
  Python SMS API
  Perl SMS API
  TCL/TK SMS API
  Coldfusion SMS API
  VB 6 SMS API
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 


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 a message by its ID

On this page you will learn how you can query a single message by its ID in Ozeki NG SMS Gateway. This solution allows you to receive the content of a single message.

To query the content of a single message you need to type this address into your browser:
http://127.0.0.1:9501/api?action=getmessagebyid&username=admin&password=abc123&msgID=c36d7ee5-16f9-4193-9a75-0537e590e9d3

Specify these values:

"action": "getmessagebyid"
"username": your username used to log into Ozeki NG SMS Gateway
"password": your password in Ozeki NG SMS Gateway
"msgID": is the GUID of the message to be queried

The response will be the follows:

<response>
	<action>getMsgInfoByID</action>
	<data>
		<messageid>c36d7ee5-16f9-4193-9a75-0537e590e9d3</messageid>
		<originator>+17036231081</originator>
		<recipient>10958</recipient>
		<folder>INBOX</folder>
		<senttime>2011.10.17. 13:10:26</senttime>
		<receivedtime>2011.10.17. 13:10:26</receivedtime>
		<creationtime>2011.10.17. 13:10:26</creationtime>
		<callbackid/>
		<state>0</state>
		<operatornames>
			<operatorname>SMPP0</operatorname>
		</operatornames>
		<routes>
			<route>defin_admin</route>
		</routes>
		<optionalfields>
			<optionalfield name="30" value="35333131572D31303133322D303530364E2D333434544600"/>
			<optionalfield name="8528" value="017F"/>
		</optionalfields>
		<messagetype>SMS:TEXT</messagetype>
		<messagedata>Test message</messagedata>
	</data>
</response>


Possible State values:

0 = Idle
1 = Sending
2 = Preparing
10 = Delivery successfull
11 = Delivery rejected
12 = Buffered
13 = Enroute
14 = Expired
15 = Deleted
16 = Undeliverable
17 = Scheduled
18 = Unkonwn
19 = Skipped

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 message list of a message folder
Delete message list of a message folder
Delete message folder items permanently





Next page: Mark a message by ID
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu | Tel: +36 1 371 0150
Home > Product Manual > Developers Guide > HTTP SMS API > Operate with single message > Query a message by ID
Legal | Privacy policy | Terms of use
Page: 2635 | Login | 54.82.93.116