API Details
For complete ASM API documentation, follow this link.
Supporting documentation will be referenced in the content below.
The ASM API allows developers to collect performance data programmatically or manage their account from an external service.The Synthetic Monitoring API uses a RESTful JSON implementation that allows you programmatically get and set data in Synthetic Monitoring.
Â
Required data
Requests must be provided with particular data to access the API.
Base URL
The base URL for all operations is https://api-asm1.apica.io/v3/Help
Authorization
You can authorize your requests either with either a basic authorization header or an authentication ticket parameter.
Header | Content | Example |
---|---|---|
|
|
|
Â
Parameter | Content | Example |
---|---|---|
| Authentication ticket from API tool. | Â |
API Usage Example
The following is an example of how you can use the API to trigger a check run, wait for the result and then get the result once it is available.
Get the latest check results based on check ID.
https://api-asm1.apica.io/v3/Help/Route/GET-checks-checkId-results_mostrecent_detail_level\
Save
timestamp_utc
Trigger a check run based on check ID:
https://api-asm1.apica.io/v3/Help/Route/POST-checks-checkId-job\
Get the latest result by continuously getting the latest result by the check-ID until
timestamp_utc
has been changed.
https://api-asm1.apica.io/v3/Help/Route/GET-checks-checkId-results_mostrecent_detail_level=1\
Note: use detail_level=1
Get and save
identifier
You can now get the detailed result for the check based on
identifier
.
a. Browser:
https://api-asm1.apica.io/v3/Help/Route/POST-checks-browser-checkId-results-urldata\
b. ProxySniffer/ZebraTester:
https://api-asm1.apica.io/v3/Help/Route/POST-checks-proxysniffer-checkId-results-urldata\
Generate GET Calls
The API tool allows you to select a check to generate GET calls for.
View
Generate Check Operations
Click Select Check
Choose the check you want from the dropdown list
The Check Operations Table is displayed, containing a list of calls and descriptions of each.
Apica Synthetic Monitoring API Java Library
Apica Synthetic Monitoring API Java Library
Java Library for Accessing the Apica Synthetic Monitoring API: Access and use the ASM API to work with checks and check runs.
API Key
This app requires an API key for the Apica Synthetic Monitoring service. If you have an ASM account you can find your key on the Tools>API Settings page: https://wpm.apicasystem.com/Tools/ApiSettings
The API Key is called auth_ticket.
Download
GitHub - patwakeem/Asm: Apica Synthetic Monitoring Java Client
This app is considered to be a beta. Please report any crashes or feature requests. If you have a problem, your WPM username would be helpful in tracking down the cause.
Can't find what you're looking for? Send an E-mail to support@apica.io