Remedy API Quick Reference
Remedy API Quick Reference
C API:
The AR System clients use the C APIs to manipulate data. For example, the clients use C APIs to
create, retrieve, update, and delete entries, forms, and menus, and to control workflow. You can
use the C API to extend AR System functionality.
The AR System API contains data structures that store both simple and complex information.
Structures that store simple information, such as the type of value or the product of an arithmetic
operation, serve as the building blocks for complex structures.
The C APIs consist of sets of library routines that you can compile to run on Windows or UNIX
platforms. You can run API programs from a command line or from the AR System; in the Set
Field $PROCESS$ action from an active link, filter, or escalation; or with the Run Process action in
an active link, filter, or escalation.
Java API
The AR System Java API is a collection of Java classes that provide the full AR System C API
functionality in a Java development environment.
The Java API:
• Provides an object model of AR System server entities (also called server objects),
definitions, and data.
• Accesses the AR System server indirectly, through the AR Server Proxy class and methods
on the object model classes.
• Is easier to program than the C API, in part, because you do not have to establish and
manage connections, or manipulate complex setup API parameters. You will find it easier
to use the Java API if you are already familiar with the C API.
Windows
• arrpc70.dll
• arutl70.dll
• arapi70.dll
• arapi70.jar
• arjni70.dll
• arutil70.jar
• arjni70.dll
UNIX:
• arapi70.jar
• libarjni70.so (Solaris, AIX, Linux)
• libarjni70.sl (HP-UX)
Some terminology has changed from version to version of AR System and the
BMC Remedy User client, but the API terms have stayed the same so that
code does not need to be rewritten. The following table compares
BMC Remedy User terms with API terms.
Remedy C API
request entry
form schema
create/submit create
display get
modify set
Library files
In addition to the requirements in the following table, you must have arcatalog_eng.dll in your path
at runtime. Provide the full path to the AR System libraries.
For Windows:
For UNIX:
Each schema must have at least one view (the default view) but can have many views. Similarly,
each data schema must have at least one field but is likely to have many fields. (In actual
practice, every data schema is automatically created with nine core fields that cannot be deleted.
For more
information about core fields, see the Form and Application Objects guide.) Fields come in two
types—data fields and nondata fields (trim, control, page, and table). A schema must have at
least one data field. Nondata fields are optional.
Most schemas have many entries, but a schema can exist without an entry. Although the AR
System API still uses this term, the AR System clients now see entries as requests. Similarly, any
number of filters, escalations, or active links can be associated with a schema or list of schemas,
but these objects are not required. See “Schemas” on page 61 for more information. Both active
links and menus can be associated with a field. While active links can be associated with either
data or control fields, menus can only be associated with data fields. The relationships between
them, however, are exactly reversed.
An active link must be associated with a particular schema. A data or control field can have any
number of active links associated with it. A particular execute-on condition of an active link can
only be associated with one field. Different execute-on conditions in the same active link can
reference different fields. A menu can be associated with any number of data fields, both within
an individual schema and across multiple schemas. However, a data field can have only one menu
associated with it.