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

How to use query parameters to tailor REST service responses for the GET operation

edited Jan 31, 2020 12:53PM in Supplier Management 6 comments

Summary

The REST service GET operation is used to retrieve details of a supplier and its child entities. This response can be tailored to fit specific requirements using the query parameters.

Content

Let’s look at some of the frequently used query parameters and their use cases:

  • Query Parameter: fields
    This can be used to filter the list of attributes returned in the response payload.
    Format:?fields=Attribute1,Attribute2
    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2

    e.g: If the response payload should have just a few selected attribute values instead of all, then you can use this query parameter along with the request URL.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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