How to get the analysis result when the analysis is uploaded

HI,
I am using SonarQube to analyse my C# code.
Here I found two Web API’s
1./api/project_analyses/search?project=
2./api/issues/search?componentKeys={0}&resolved=false&types={1}
Use the 1st API I can get the total analysis count.
When I use the “sonar-scanner-msbuild-4.3.1.1372-net46” to scan my code and upload result to SonarQube .
Then I have a problem,I can’t konw when the analysis result updated,use the 1st API find the count add one and then use the 2nd api get the issues but the result is not latest.
So How to konw when the result updated.

Hi,

It sounds like you’re looking for Webhooks, with which you can automatically POST to a URL after background task processing of an analysis is complete.

 
HTH,
Ann