API User's Guide

Introducing the Alloy Navigator API

Version 2024.1

The Alloy Navigator API module provides integration capabilities for third-party applications. Using the API, you can make various apps work with Alloy Navigator objects and perform workflow actions. It is important to understand that, unlike most other APIs, Alloy API does not create or update objects directly. It uses workflow actions instead.

The API module is the middleman between third-party applications and Alloy Navigator. When a user initiates an API call via the third-party app, the API responds by executing workflow actions or fetching the requested data. Using workflow Create Actions, the API provides the ability to create new object records. Using workflow Step Actions, it updates various objects. If the application sends the request for information about particular objects, classification values or the current user, the API retrieves relevant data from the database and sends it back to the third-party application.

The API offers the functionality similar to what you can find in Alloy Navigator, in the Web App or Desktop App:

Function

Method Endpoint

Authenticating users

POST

/api/token

Authenticating applications

POST /api/token

Retrieving information about the current user

GET

/api/v2/profile

Listing objects

GET & POST

/api/v2/<objectClass>

Obtaining information about objects

GET

/api/v2/object/<oid>

Obtaining object activities

GET & POST

/api/v2/Activities/<oid>

Obtaining object classification values

GET & POST

/api/v2/Dictionary

Creating objects

POST

/api/v2

Running Step Actions on objects

POST

/api/v2/object/<oid>/action/<actionId>

Checking Step Action availability

GET

/api/v2/object/<oid>/action/<actionId>/check

Working with object attachments

GET & POST

/api/v2/Object/<oid>/Attachments

Integration with external applications

GET

/api/v2/GetAppConfig

INFO: For the list of supported Alloy Navigator objects, see Supported Alloy Navigator object classes.

Document audience

This document targets system administrators and software engineers who will configure third-party applications to interact with Alloy Navigator.

This guide assumes that you are familiar with other Alloy Navigator product documentation and have a basic understanding of web technologies, including the HTTP protocol, JSON, and XML.

Helpful examples

The examples in this guide are accompanied with PowerShell scripts, available in Sample PowerShell scripts for Alloy Navigator administrator.