HTTP API - Examples
This section gives you examples on the use of the HTTP API. Some examples point out how to issue an HTTP request from various programming languages, others are related to message types and HTTP API features.
How to send SMS from ASP, C#, ...These are examples of making HTTP requests from various programming languages. They show you how to send a text SMS message using an HTTP GET request through the HTTP SMS API:
Example #1: How to send a text message from ASP using a HTTP request
Example #2: How to send a text message from C# using a HTTP request
How to send other types (Wap push, EMS, MMS, etc...)
When you post a message to the Ozeki NG, you need to specify two
parameters: the message type and the message data. The message type defines the
type of the message according to the
Ozeki Mobile Message Type specification,
the message data contains the message text or the parameters belonging to the
message. The message data is often formatted as an XML document. The message
data is urlencoded.
Examples of using HTTP SMS API features
The HTTP API provides some useful features, such as message routing, HTTP callback
request on delivery report events, user credit management, etc. The examples
in this section give you information about these features.
How to operate with a single message
These examples demonstrate how you can operate with only a
single message in Ozeki NG SMS Gateway. In this way you can query, mark, or
delete a single message by its ID. Please find our examples on the respective
How to query the addressbook in Ozeki NG SMS Gateway
The example available below demonstrates how you can query the
addressbook of a given user in Ozeki NG SMS Gateway. Therefore you will gain all
the contacts of a user. Please browse through our example:
How to query the message templates in Ozeki NG SMS Gateway
If you wish to query the message templates of a given user
in Ozeki NG SMS Gateway please follow the step of our example:
How to operate with message folders
The examples provided in this section offer solutions on
how you can operate with message folders. Therefore, you can learn how to
query message list of a folder, how to delete message lists, and how to
delete message folder items permanently.