# Get Summary Ratings for all Industry Standards source: https://developer.mastercard.com/riskrecon-api/documentation/testing/compliance-samples/retrve-summ-rtngs-all-stds-smpl/index.md Allows you to retrieve several attributes of all the custom and industry risk standards associated with a given TOE. ## Pre-requisites {#pre-requisites} Refer to the [Retrieve Summary Ratings for all Industry Standards](https://developer.mastercard.com/riskrecon-api/documentation/use-cases/risk-assessment/compliance/retrve-summ-rtngs-all-ind-stds/index.md) use case. ## Request URL for Sandbox environment {#request-url-for-sandbox-environment} GET https://api.sandbox.riskrecon.com/v1/compliance/{toe_id} ## Request URL for Production environment {#request-url-for-production-environment} GET https://api.riskrecon.com/v1/compliance/{toe_id} ## Test Cases {#test-cases} ### Test Case: Success - Retrieve all industry standards {#test-case-success---retrieve-all-industry-standards} **Request** Here is an example of a request made using a `curl` command. ```bash curl -X 'GET' \ 'https://api.sandbox.riskrecon.com/v1/compliance/09918d09-8d52-4e86-a3ec-5ef4d461e2ba' \ -H 'accept: application/json' \ -H 'Authorization: valid_JWT_token' ``` **Response** get: ```json { "data": [ { "attributes": { "assess_count": 30, "description": null, "id": 1, "inform_count": 9, "is_public": true, "name": "NIST CSF 1.1", "rating_counts": [ { "count": 10, "rating": "a" }, { "count": 3, "rating": "b" }, { "count": 1, "rating": "c" }, { "count": 2, "rating": "d" }, { "count": 10, "rating": "f" } ], "type": "RiskStandard::IndustryStandard", "version": "1.1" }, "id": 1, "type": "risk_standard" }, { "attributes": { "assess_count": 13, "description": "Legacy Custom Standard", "id": 4, "inform_count": 3, "is_public": false, "name": "SXD", "rating_counts": [ { "count": 9, "rating": "a" }, { "count": 3, "rating": "b" }, { "count": 1, "rating": "c" }, { "count": 2, "rating": "d" }, { "count": 9, "rating": "f" } ], "type": "RiskStandard::CustomStandard", "version": "1" }, "id": 4, "type": "risk_standard" }, .... } ``` ### Test Case: Fail - Non-existent TOE ID {#test-case-fail---non-existent-toe-id} **Request** Here is an example, using a `curl` command, of a request made with a deleted TOE ID. ```bash curl -X GET \ 'https://api.sandbox.riskrecon.com/v1/compliance/5976423a-ee890-11e3-858983-14109ff1n46704' \ -H 'accept: application/json' -H 'Authorization: valid_JWT_token' ``` **Response** HTTP Error response 404 ```json { "Errors": { "Error": [ { "Description": "Resource Not found.", "Details": null, "ReasonCode": "NOT_FOUND", "Recoverable": false, "Source": "RISKRECON_API" } ] } } ```