API Guide / API Reference / Metadata API / View List
View List

Use this API to retrieve the module’s view list which consist of the views created by the user under the designated modules. Each view contains its unique ID which will be used as a reference in other APIs.


URL

https://Witly.co/api/v2/{module name}/view?token={0}[&format={1}]


HTTP Method

GET


Request Body

Not required


Request Parameters

Parameter

Required

Description

module name

Yes

Module API name (Acquired from Module API call)

token

Yes

Access token

format

Optional

Expected return format. The default is JSON. Values are JSON and XML. This parameter is optional.


Example Request

https://Witly.co/api/v2/customer/view?token=5c33446ac1c049049f9232cf296bdf10


Example Response

[

{

"id""491be58a-2d58-467d-96b8-0a2266160bed",

"Name""All Customers",

"Report Type""Personal View",

"Description"""

},

{

"id""f90a1bd4-ed6a-4c6b-b16a-c67e8de6c778",

"Name""My Customers",

"Report Type""Personal View",

"Description"""

}

]


Last modified on Jan 23, 2018