getCustomViews

 Purpose

You can use the getCustomViews method to retrieve the list of custom views in a module. Along with name of the custom views, you can also get the custom view ID, which can be used to maintain the same view name in third party applications.

 Request URL

XML Format:
https://<APPDOMAIN>/crm/private/xml/Accounts/getCustomViews?

JSON Format:
https://<APPDOMAIN>/crm/private/json/Accounts/getCustomViews?

 Auth Token

Auth Token is an encrypted alphanumeric string that is required to authenticate your CRM account credentials. A valid user's Authentication Token is necessary to access the API. When making an API request, send the authentication token in the Authorization header as shown below:

https://<APPDOMAIN>/crm/private/xml/Accounts/getCustomViews?

Header:

Authorization=1000XXXX65.1000XXXX44.caXXXXXXXXXXXX

(See Using Authentication Token )

 Sample Response

<response uri="/crm/private/xml/Accounts/getCustomViews">
<result>
<Type name="Created By Me" val="Created By Me">
<view id="508020000000083005" name="Custom View" customcv="true" default="true">Custom View</view>
</Type>
<Type name="Shared With Me" val="Shared With Me">
<view id="508020000000012665" name="All Accounts" customcv="false">All Accounts</view>
<view id="508020000000012673" name="My Accounts" customcv="false">My Accounts</view>
<view id="508020000000012687" name="New Last Week" customcv="false">New Last Week</view>
<view id="508020000000012681" name="New This Week" customcv="false">New This Week</view>
<view id="508020000000012699" name="Recently Created Accounts" customcv="false">Recently Created Accounts</view>
<view id="508020000000012701" name="Recently Modified Accounts" customcv="false">Recently Modified Accounts</view>
<view id="508020000000014025" name="Unread Accounts" customcv="false">Unread Accounts</view>
</Type>
</result>
</response>