Hi all,
I found a solution, in the post below.
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=785965
To get HTTP return code we must recover it from the WEB SERVICE REST JOBS report.
I used a Output scan and a script to manage (cancel) workflow when there is no data available.
Hope this can help someone else.