philippoommen1
Member
Hi,
I have to develop webservice to bring the Sales order data.
1.Customers can fetch the data.
2.Customer Admin can fetch data
3.Sales rep can fetch data
Data will be same always however when customer logins he can see only his sales order data, if customer admin logins he can view all customer's data , if sales person logins he can see his (sales person's) sales order details irrespective of any customers.
How we can elegantly handle this type of requirement ? Through input parameters?
TIA
-Philip-
I have to develop webservice to bring the Sales order data.
1.Customers can fetch the data.
2.Customer Admin can fetch data
3.Sales rep can fetch data
Data will be same always however when customer logins he can see only his sales order data, if customer admin logins he can view all customer's data , if sales person logins he can see his (sales person's) sales order details irrespective of any customers.
How we can elegantly handle this type of requirement ? Through input parameters?
TIA
-Philip-