client: update report sample code to match report resource concept