• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generic RESTful Web Service with dynamic query & Projection

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a requirement to create a generic GET service which accepts Dynamic Projection (i.e. fields / object) and a dynamic criteria.

For example:-

Client A would like to know about the order & would request the following fields (projection) by supplying order number as criteria

customer_order_nbr
order_date
order_status_code
order_type_code
order_release_date

Client B would like to know about the order & would request the following fields by supplying order_type_code and order_date as criteria (parameter)
customer_order_nbr
order_date
order_status_code
whs_order_method
order_receipt_ts
order_release_date

How can i create a generic REST GET service which can cater to both the request. Key challenge here is dynamic criteria and dynamic projection


 
reply
    Bookmark Topic Watch Topic
  • New Topic