Checking the API Module
After you have installed and configured the API module, you can quickly check if it is up and running.
To check the API module, follow the steps below:
- Make sure that you have a technician account in Alloy Navigator with Windows authentication.
INFO: For information on accounts and authentication types, see Administration Guide: Account Administration.
- Launch the Web Configuration tool from the Alloy Control Panel or from the Start menu (Start > Alloy Software > Web Configuration).
- In the left-hand pane, select the web site or virtual directory where the API module is installed.
- In the Web section, click Configure. The Configure Alloy Navigator API dialog box opens.
- Click Next until the User Authentication Type page appears.
- If the authentication type is set to Access Token Authentication, set it to Windows Authentication. You will be able to switch back to Access Token Authentication later, after checking the API.
- Click Next and then click Apply.
- Open a web browser and type in the following URL in the address bar:
http://localhost:81/api/v1/object/<objectID>
http://localhost:81/api
is the API URL where the actual server name (e.g.example.com
) is replaced withlocalhost
to prevent possible authentication issues.NOTE: To find out the API URL, launch the Web Configuration tool and select the web site or virtual directory where the API module is installed. The API URL will be displayed in the Web section (Web App URL).
<objectID>
is the ID of an Alloy Navigator object of a supported class (e.g.T000002
).INFO: For a list of object classes supported by the API module, refer to API User’s Guide: Supported object classes.
If the API module is up and running, the web browser should display an XML or JSON document containing information about the Alloy Navigator object.
NOTE: Some web browsers may require you to provide your Windows credentials to access the API.
INFO: For details, see Using the Alloy Control Panel.