View.SetFields
August 10, 2015
Description
Sets the fields that are included in the view and also their order.
To setup a view for a collection click here
Required parameters
ViewID, Fields (Comma-separated list of field names to be included in the view)
Returns
The result of the operation.
Example request url
https://api.mozenda.com/rest?WebServiceKey=3FE7221C-9097-4B64-AED6-0950F675F377&Service=Mozenda10&Operation=View.SetFields&Fields=Col6,Col5,Col4&ViewID=1054
Example response
<?xml version="1.0" encoding="utf-8" ?> <ViewSetFieldsResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Result>Success</Result> </ViewSetFieldsResponse>