Added getting device by ip address or remark to pricing api

Added getting device by ip address or remark to pricing api