Add Scan Ended to API