CentraSite Documentation : Working with REST-based APIs : Getting Started with the CentraSite REST API Data Model : REST Parameters : Parameter Levels : Method-Level Parameters
Method-Level Parameters
If you do not set parameters at the API level or resource level, you can set them in a method level. Parameters you set at the method level are used for the HTTP method execution. They are useful to restrict the response data returned for a HTTP request. Any parameter value you specify at the lower method level is overridden by the value set at higher API level parameter or the higher resource level parameter if the names are the same. In contrast, the lower method level parameters will not affect the higher API level or resource level parameters.
For example, the Phone Store API described might have a request to display information contributed by user Allen in 2013 about a phone whose product code is 412456.
GET /phones/412456/user_reviews/78?year=2013&name=Allen
In this example, year=2013 and name=Allen narrow the focus of the GET request to entries that user Allen added to user review 78 in 2013.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback