AnsweredAssumed Answered

How to get a count of relationships with the REST API?

Question asked by Abhi Abhi on Nov 30, 2014
Latest reply on Dec 1, 2014 by Abhi Abhi
Hi All ,

here i am not sure which method to use 

i have one module called as inventory with following fields

product id , description , status and product (many to one relationship with product module) 

and in product module
now  i have 4 products camera , mobile , laptop and watch etc ...

so in inventory module i have 400-500 records of different product  

i want to fetch count of record in inventory based on product type ( which is relationship field )

for example : 80 records of inventory of product type camera 

i am not sure which rest method to use fetch number of count of particular module with where

case of relationship field 

can some one guide me on this ???? please ????