Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between API and Interface?

Answer Posted / ajay

Hi there. This seems like a simple question but it can b
complicated depending on the specific API that you are
talkin about.

Oracle defines an API as "A set of public programmatic
interface that consist of a language and message format to
communicat with an operating system or other programmatic
environment, suc as databases, Web servers, JVMs, and so
forth. These message typically call functions and methods
available for applicatio development."

I guess that there is no such thing as an interface to
Oracle=2 there are only "open" interfaces. These are a
group of publishe and supported inbound and outbound
interface objects (talk abou them more in a second) that
Oracle has developed for your use=2 these objects may be, a
table or group of tables, a concurren program that
references a PL*SQL or Pro*C/C++ package o library.

Oracle's policy over the years is that if you post data
directl to an application table, then you are invalidating
your suppor agreement, and if you are bored enough, you can
see the claus in the agreement sure enough.

But these published interfaces are quite often not enough
to d what you need to do. Take the case of Payables
suppliers fo example. That has been a pain for everyone
right from th begining.

So in answer to your question. An open interface is a group
o objects that Oracle supports and licences with the
software tha allow inbound and outbound data transactions
in Oracle' Approved format. You put data into the tables
and oracle import it or You run a concurrent request and
oracle outputs data int that table. Batch processing. You
need to put your data into th right pre-validated format
before inserting into the interfac table or the data will
be rejected.

An API is programatic hooks or coding blocks that you
can "call that allow you to perform some function or other
to achieve par of your goal. For example, Oracle Projects
there is PA_INTERFACE_UTILS_PUB.CREATE_PROJECT API that
takes a list o input variables that you assign to the
called API (these can b in a table or passed directly) for
example;

l_project_in.created_from_project_id := '1001';
-- Project id from template

l_project_in.project_name :='C, AMG TEST PROJECT';

l_project_in.pm_project_reference := 'C, AMG TEST PROJECT';

and if the package passes validation on all these
datapoints your project will be inserted as a result.

So finally, you can insert data into an open interface
table then use a concurrent program that CALLS an API to
process tha information.

In the case of real-time processing or OLTP, once you save
record in PeopleSoft HR, you want it to appear in Oracle H
immediately, you would write PeopleSoft code that copies
thos data items to memory, submit the list of required
variable (PeopleSoft data)to the Oracle API as inputs. The
API o completion posts your employee into the Oracle
database=2 (ideally you would provide a function then back
to peoplesoft t confirm that oracle received the
transaction correctly and i wasn't rejected by the API).
All this was achieved without th use of an
open "interface".

The nail in the coffin however and where you may be
confused, i that many people think that any exchange of
data from one tabl to another is an "interface". A "link".
And I guess that it i in a way.

Just remember that
An interface is the pool,
An open interface table is the lanes and
An API is the swimmer.

Is This Answer Correct ?    16 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oracle soa suite and what are its different components?

1163


tell me the scenarios of the independent in reports

2572


How is choreography different from orchestration?

1095


How to retry multiple errored workflow processes? What is the access level in workflow used for? How do you define start and end functions in workflow? How does they differ from normal functions? Give me some workflow tables? What is the difference between a function and notification in workflow? I have sent two different notifications to two different users and I want to wait till both they are approved to send 3rd notification. How can you achieve it? What is item type and item key in workflow? How do you use attribute values in workflow messages? How do you use lookups in workflow? What are roles in workflow and how they are used? How do you download or upload a workflow from a server? What are steps to customize the workflow? What functions can you perform from workflow administrator responsibility? To send an email to the user workflow notification is the only way or is there any other ways to send it? Give me some workflow standard procedures? How can you run/start/kickoff workflow? What is wf_engine package used for? How many processes can each workflow contain? What is Runnable option in workflow? At what level it exists? What are different types of attributes in workflow? How do you reassign a notification? What is process in workflow? How can you send direct oracle form link through workflow notifications? How can you send a notification to multiple users? Can you change the list dynamically? Can you send html code in workflow notification? I have sent two different notifications to two different users and I want to wait till atleast one is approved to send 3rd notification. How can you achieve it?

4748


Can you differentiate between mediator and osb?

1099


Suppose for report I have to parameters those are from_date and to_date, so to_date should be greater when compare to from_date, if we are giving to_date is lessthen it must shows some error how we will make?

1039


Pls tel me the best text book for Oracle Apps 11i Tech? & I want D2K Text book also?

2092


what is global tempory table?

7151


Can you define an erp system?

1106


Tell me where we find the status of order information?

1112


What is a value set? List its various types.

1049


What do you understand by a set of books?

1062


is it possible to run the interface without using oracle apps?

1941


What is count(*) from po_vendors(any table)?

1046


What is oracle soa suite?

1194