Generating a WADL for Asset Manager
There are more than 209 API calls embedded in this XML code. Each call is located after the "resource path=" string.
Following are two examples of these API calls, in green:
<wadl:resource path="/management/user/{user}">
<wadl:resource path="/management/system/diagnostic/snmp/{agent}/{oid}">
To generate a comparable API list from the WADL of your own currently installed instance of Asset Manager, use the following syntax and input it to the address bar of your supported browser:
Syntax | https://<yourServerName_or_IP>/api/rest/service?wadl |
---|---|
Example | https://10.9.0.141/api/rest/service?wadl |
Once you have done so, you can search in your current WADL for a resource path (i.e., API call) of interest. The details and filters for that API call will be listed.
IF your resource path is <wadl:resource path="/management/organization">, for example, THEN search in your WADL to view the Method, Filter and Detail parameters available for use with that resource.
Resource Path/API Call | API URL | Method | Filter Parameter |
Detail Parameter |
---|---|---|---|---|
<wadl:resource path="/management/organization"> | https://10.9.0.141/api/rest/management/organization?filter.organization.name=Organization1&detail.Users | GET |
organization.name |
detail.Users |
https://10.9.0.141/api/rest/management/organization?filter.organization.name=Organization1&detail.Roles | GET | organization.name | detail.Roles | |
https://10.9.0.141/api/rest/management/organization?filter.organization.name=Organization1&detail.Permissions | GET | organization.name | detail.Permissions | |
https://10.9.0.141/api/rest/management/organization?filter.user.name=manager&detail.Zones | GET | user.name | detail.Zones | |
https://10.9.0.141/api/rest/management/organization?filter.user.permission=superuser&detail.Permissions | GET | user.permission | detail.Permissions |
Contact Support or your solutions architect for additional assistance.