
sp276768 (Community Member) asked a question.
Hi all,
I'm trying to implement the detailedreportpdf.do Using HTTPie with the Python Authentication Library. When I execute the below command in the CMD i'm getting the detailedreportpdf but how to get the Build ID automatically without entering manually.
http --auth-type=veracode_hmac -o detailedreport.pdf "https://analysiscenter.veracode.com/api/4.0/detailedreportpdf.do" "build_id==
<build_id>"
Could anyone help me on this. if you already implemented this in your projects. I'm not able to achieve getting the Build ID automatically.
.png)
Hello @sp276768 (Community Member) ,
One option is to follow the chain of getapplist() to get the app_id, then getbuildlist(app_id) to get a list of builds, then detailedreportpdf(<most_recent_build_id>)
Here is a Help Article about APIs: https://help.veracode.com/r/orRWez4I0tnZNaA_i0zn9g/lZ7meBog_h3roP5LggBNCg
Jason
Community Support Engineer