View.GetSorting - Mozenda

View.GetSorting

June 19, 2017

Description

Returns the current sorting configuration for the view.

Required parameters

ViewID

Returns

Sorting details (ViewSortID, FieldID, IsAscending) for the specified view. Will include multiple results if more than one sorting method is used.

Example request url

https://api.mozenda.com/rest?WebServiceKey=3FE7221C-9097-4B64-AED6-0950F675F377&Service=Mozenda10&Operation=View.GetSorting&ViewID=1103

Example response

<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Result>Success</Result>
  <SortList>
    <Sort>
      <ViewSortID>1015</ViewSortID>
      <FieldID>3405</FieldID>
      <IsAscending>True</IsAscending>
    </Sort>
  </SortList>
</ApiResponse>

Need more information?

We'd love to hear from you.

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