Download QC and final reports

To retrieve one Quality Control (QC) report in JSON format, enter:

curl --request GET -k -H  "Authorization:ZDMxNDUwZGYyNjM4NGRlZjY0NjAyNTc1YTE1ZjU2MzFkNjVmYzQxYjJhOTQwNTYyYWM3OTJmZDY2YTU5NGQwNA"  -O "https://<your server name>/api/v1/download?filepath=/data/IR/data/IR_Org/ion.reporter@lifetech.com/new_CFTR/new_CFTR_20151106002127527/new_CFTR_1446798039543.zip"

The output in JSON format will resemble this:

 [
    {
        "reports": {
            "qc": {
                "link": "https://<your server name>/api/v1/download?filepath=/data/IR/data/IR_Org/download/pdf/335a1f5e-19f1-4ff4-b80c-af620f1dfe1f/ff80818150dbc2430150dbe2d9650072_QC.pdf"
            },
            "final": {}
        },
        "report_published": "",
        "workflow": "AmpliSeq CFTR single sample",
        "data_links": {
            "filtered_variants": "https://<your server name>/api/v1/download?filepath=/data/IR/data/IR_Org/ion.reporter@lifetech.com/new_CFTR/new_CFTR_20151106002127527/new_CFTR_1446798039543.zip",
            "unfiltered_variants": "https://<your server name>/api/v1/download?filepath=/data/IR/data/IR_Org/ion.reporter@lifetech.com/new_CFTR/new_CFTR_20151106002127527/new_CFTR_1446798039543.zip"
        },
        "variants_saved": "",
        "samples": {
            "PROBAND": "new_CFTR"
        },
        "shared_with": [],
        "stage": "Review Variants",
        "flagged": false,
        "name": "new_CFTR_1446798039543",
        "id": "ff80818150dbc2430150dbe2d9650072",
        "ion_reporter_version": "5.0",
        "started_by": "Ion User",
        "start_date": "November 06, 2015",
        "status": "SUCCESSFUL"
    }
]

To retrieve all of the QC reports in JSON format, enter:

curl --request GET -k -H "Authorization:ODkxY2IxYThhZWNjNDU3MjlmNjdlZDBkYWEwYzdmZTQzODFmZjk3NjExNDA0ODVmYjYwMjA4YzQ5MGEwNDEzZg" https://swanseaone.itw/api/v1/qcreport?format=json

To retrieve one final report in JSON format, enter:

curl --request GET -k -H "Authorization:YTJjNGVmYWYyNDcxNTgyMmU3NzMxZmY0OWVjY2ZhYTA0ZDM2YTk1OTQ4ZjUxZDlmMzFkZjFjM2UwNzZhNjliMg" "https://teemo.itw/api/v1/finalreport?format=json&name=testDNAFusion_c255_1421470231458"
To retrieve all of the final reports in JSON format, enter:
curl --request GET -k -H "Authorization:ODkxY2IxYThhZWNjNDU3MjlmNjdlZDBkYWEwYzdmZTQzODFmZjk3NjExNDA0ODVmYjYwMjA4YzQ5MGEwNDEzZg" https://swanseaone.itw/api/v1/finalreport?format=json