View.SetSorting

June 19, 2017

Description

Sets the sorting configuration for the view.
WARNING: Setting a new sorting method will replace any existing rules for sorting, not add to them.

Required parameters

ViewID, Fields (comma-separated; sort method defaults to ascending unless ” desc” is specified, see example below)

Returns

Message specifying whether or not the sorting was successfully set.

Example request url

https://api.mozenda.com/rest?WebServiceKey=3FE7221C-9097-4B64-AED6-0950F675F377&Service=Mozenda10&Operation=View.SetSorting&ViewID=1103&Fields=Model desc,Name

Example response

<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Result>Success</Result>
</ApiResponse>

Need more information?

We'd love to hear from you.

100% Privacy. You are that important to us. Privacy Policy