https://api.bitsighttech.com/ratings/v1/subsidiaries/statistics
Get your subsidiaries’ statistics.
Parameters
See query parameters for details on the following parameters:
format
– ↻json
(default),xml
,csv
end_date
start_date
Parameter | Values |
---|---|
include_subscription_type [Query] Filter by subscription type. |
[String] my_subsidiary |
lens [Query] Apply a lens: security rating or risk type. |
[String]
|
period [Query] Set a time period. |
[String]
|
scope [Query] Limit to the specified scope. |
[String] spm |
Example Request
curl https://api.bitsighttech.com/ratings/v1/subsidiaries/statistics -u api_token:
Example Response
{ "links":{ "next":null, "previous":null }, "count":10, "results":[ […] { "company":{ "guid":"a16042d0-c8a4-449a-b4ac-9aefad5204c4", "name":"Saperix Email Provider", "logo":"https://api.bitsighttech.com/ratings/v1/companies/a16042d0-c8a4-449a-b4ac-9aefad5204c4/logo-image" }, "stats":[ […] { "date":"2022-06-21", "value":"700" } ] } ] }
Response Attributes
Field | Description | ||||
---|---|---|---|---|---|
linksObject |
Navigation for multiple pages of results. See pagination. | ||||
nextString |
The URL for navigating to the next page of results. | ||||
previousString |
The URL for navigating to the previous page of results. | ||||
countInteger |
The number of subsidiaries. | ||||
resultsArray |
Subsidiaries and their statistics. | ||||
Object | A subsidiary and their statistics. | ||||
companyObject |
Details about this subsidiary. | ||||
guidString [ entity_guid ] |
This subsidiary’s unique identifier. | ||||
nameString |
This subsidiary’s name. | ||||
logoString |
The Bitsight platform URL where this entity’s logo is stored. | ||||
statsArray |
Ratings on specific dates. | ||||
Object | Statistics. | ||||
dateString [ YYYY-MM-DD ] |
The statistics date. | ||||
valueString |
The Bitsight Security Rating or risk vector letter grade depending on the lens. |
Status Codes
See the common errors and status codes.
Code | Description |
---|---|
200 – Okay |
Everything worked as expected. |
400 – Bad Data |
This can often be due to missing a required parameter. |
401 – No Authentication |
No valid API token was provided. |
403 – Unauthorized |
You do not have permission to access this resource. |
404 – Not Found |
The specified resource could not be found or does not exist. |
June 23, 2022: Published.
Feedback
0 comments
Please sign in to leave a comment.