Implemented get records api request