Skip to content

Use Case Example: To obtain a scan report

Using the API to obtain a report can involve three GET requests.

  1. Invoke List Scans to obtain a list of completed scans.

    In the scan list you can find a scan ID, such as TEST_664420082.

  2. Invoke List Reports to obtain a list of the reports generated by that scan.

    In the report list, you can find an entry for a particular report; see the example below, which uses JSON format.

  3. Invoke Get Report and pass it REPORT_254476082 to obtain the XML version of that particular report,.

    Note: In the sections that follow, each request description contains at least one detailed example of a call to that request, along with representative results of the call.

        "reportTypes" : [ {
        "type" : "XML",
        "id" : "REPORT_254476082"
        }, ...

Parent topic:Managed Services API General Notes

Related information

List Scans

List Reports

Get Individual Report