We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Child fields in request parameter for Get All Suppliers REST API

Accepted answer
7
Views
3
Comments
edited Nov 9, 2019 1:17AM in Supplier Management 3 comments

Summary

What's the notation for child fields for expanded items in this API

Content

The documentation says "If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. "

So, if my parameters say 'fields' : 'Alias,AlternateName,Supplier,SupplierId,SupplierNumber,sites.PaymentTerms' then shouldn't sites.PaymentTerms be valid for Suppliers?  However, when I try to use any variation of this (with . or ; or it fails with 'URL request parameter fields with value Alias,AlternateName,Supplier,SupplierId,SupplierNumber,sites.PaymentTerms is not valid.'

Is my notation incorrect, or can I not access child items in such a manner for Supplier?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!