Return only ids for restaurent request.