- July 24, 2019: Version 2 is now available.
https://api.bitsighttech.com/ratings/v1/alerts
Get a list of your existing alerts and their details.
Version 2 is now available.
Parameters
See query parameters for details on the following parameters:
limit
(Default:100
)offset
q
sort
guid
alert_date
(Default)alert_type
company_name
folder_name
trigger
severity
Parameter | Description | Values |
---|---|---|
alert_dateQuery |
Filter alerts by the specified alert date. | [String] YYYY-MM-DD |
alert_date_gtQuery |
Filter alerts after the requested date. This parameter is incompatible with alert_date. | [String] YYYY-MM-DD |
alert_date_gteQuery |
Filter alerts after or on the requested date. This parameter is incompatible with alert_date. | [String] YYYY-MM-DD |
alert_date_ltQuery |
Filter alerts prior to the requested date. This parameter is incompatible with alert_date. | [String] YYYY-MM-DD |
alert_date_lteQuery |
Filter alerts prior to or on the requested date. This parameter is incompatible with alert_date. | [String] YYYY-MM-DD |
alert_typeQuery |
Filter alerts by a specified alert category. | [String] Alert category. |
company_guidQuery |
Filter alerts by a specified company. | [String] Company unique identifier [entity_guid ]. See GET: Portfolio Details. |
expandQuery |
Include additional alert details. | [String] details |
folder_guidQuery |
Filter alerts by a specified folder. | [String] Folder unique identifier [folder_guid ]. See GET: Folder Details. |
severityQuery |
Filter alerts by the specified severity level. | [String] Alert severity slug name. See alert severity. |
Example Request
curl https://api.bitsighttech.com/ratings/v1/alerts -u api_token:
Example Response
The entire response is an array, consisting of alert objects.
[ { "alert_type": "PERCENT_CHANGE", "company_guid": "b940aa61-42c9-33c4-9233-d8194c305db3", "href": "https://api.bitsighttech.com/ratings/v1/alerts/percent/1029", "company_name": "Saperix, Inc.", "alert_date": "2017-02-18", "guid": 1029, "folder_guid": "cb7ea5c9-e58f-4f85-a45c-6642c11d07ea" } […] ]
Response Attributes
Field | Description |
---|---|
alert_typeString |
The type of condition that triggered the alert. See alert categories. |
company_guidString [ entity_guid ] |
The unique identifier of the company that this alert was generated for.
Portfolio Quality Alerts: This value will be “none.” |
hrefString |
URI of the alert API resource, which contains additional details about the alert. Make an API call directly to this URI to return detailed information about the alert. |
company_nameString |
The name of the company that triggered the alert.
Portfolio Quality Alerts: This value is
|
alert_dateString [ YYYY‑MM‑DD ] |
The date when the alert was generated. |
guidInteger [ alert_guid ] |
The unique identifier of the alert. |
folder_guidString [ folder_guid ] |
The unique identifier of the folder for which the alert was created. This may be your “All Companies” folder if the company was not in a specific folder. |