Added getResponses function to api.js service

@locksmithdon I have added a new getResponses api method - not sure if we will need it though.