5 Replies Latest reply on Oct 15, 2018 12:00 PM by Vipul-Patel

    when query return no data found avoid getting 404

    Vipul-Patel

      I have web service is based on a query returning collection Query Iterm " select 'ORDS is ' || version "Version of ORDS" from ords_metadata.ords_schema_version where 1 =1;" ( no apex)

      it works get when proper parameters are passed but when query return no record ORDS throw 404.

       

      Also want to find out how to avoid rel and href

       

      {"version of ords":"ORDS is 18.2.0.r1831332","links":[{"rel":"collection","href":"https://xxxxx.com:7002/ords/dbname/webservicw/v1/"}]}