Home » Developer & Programmer » Forms » use of API in oracle forms (Forms 6.0.8.11.3 Oracle 10g)
use of API in oracle forms [message #653857] Wed, 20 July 2016 10:31
bluetooth420
Messages: 146
Registered: November 2011
Senior Member
Hi

Dont know if this is correct forum to post.

I want to use API in oracle forms. I have no knowledge that how can we use API in Oracle Forms.


Can someone guide me how to use API? How to receive and reuse API response?

The API is as follow:

Quote:

In order to deliver a message, the system needs to authenticate the request as coming from a valid source. The following parameters are used to achieve this:

msisdn: This is the mobile number for your Corporate SMS account
password: This is the current password you have set for your account

You can have multiple threads open, however the session ID will expire after fifteen minutes of inactivity. You will then have to re-authenticate to receive a new session ID.

Example:

Command:
https://telenorcsms.com.pk:27677/corporate_sms2/api/auth.jsp?msisdn=xxxx&password=xxx

Success Response:
<?xml version="1.0" encoding="UTF-8" ?>
<corpsms>
<command>Auth_request</command>
<data>Session ID</data>
<response>OK</response>
</corpsms >

Error Response:
<?xml version="1.0" encoding="UTF-8" ?>
<corpsms>
<command>Auth_request</command>
<data>Error Code</data>
<response>ERROR</response>
</corpsms >

This Session ID must be used with all future commands to the API.
Previous Topic: Row convert into column
Next Topic: DMP file security ?
Goto Forum:
  


Current Time: Fri Mar 29 04:44:07 CDT 2024