maybe use $select with above to pair it down in size? On Tue, Nov 28, 2017 at 12:41 PM, Tuo, Erming <erming....@sap.com> wrote:
> Olingo team, > > > > We currently use Olingo 4.2. Got a question, take the following API > endpoint as example -- /odata/v1/*teachers(‘101’)/students* > > > > Teacher is the main entity here, student is the child complex type (or a > navigational property) within teachers. We find out that we have to return > the fully populated single teacher entity model with student collection > populated inside instead of just returning the students collection. We feel > it is not very efficient. Is there any way that we just return students > collection? > > > > thx > > > > *Erming Tuo* > > LMS software Development Architect > SAP SuccessFactors | 2000 Edmund Halley, Reston, VA > <https://maps.google.com/?q=2000+Edmund+Halley,+Reston,+VA%0D+US+%2B1%C2%A0703&entry=gmail&source=g> > > US > <https://maps.google.com/?q=2000+Edmund+Halley,+Reston,+VA%0D+US+%2B1%C2%A0703&entry=gmail&source=g> > +1 703-678-0615 <(703)%20678-0615> > > > > [image: id:E0BBB916-1B85-490F-B852-EA52F290EC0D] > > > This e-mail may contain trade secrets or privileged, undisclosed, or > otherwise confidential information. If you have received this e-mail in > error, you are hereby notified that any review, copying, or distribution of > it is strictly prohibited. Please inform us immediately and destroy the > original transmittal. Thank you for your cooperation. > > > > >