View
All the endpoints that can be called on the View controller.
Endpoints that require the VIEW_READ permission:
GETindex
Endpoints that require the VIEW_CUD permission:
POSTindexPOSTitemDELETEitem
Endpoints that require the GROUP_CUD permission:
GETitem
Endpoints that require the SETTINGS_CRUD permission:
GETviewCategories
Creates a new view.
View the example on how to create conditions and columns.
Authorizations
apiKeystringRequired
Body
titlestring · min: 4RequiredExample:
example titlePattern: ^[0-9a-zA-Z \-\_]+$primary_sortingstringOptionalDefault:
noneExample: nonePattern: ^[a-z_]+$primary_sorting_orderstring · enumOptionalDefault:
ascPossible values: secondary_sortingstringOptionalDefault:
noneExample: nonePattern: ^[a-z_]+$secondary_sorting_orderstring · enumOptionalDefault:
ascPossible values: view_category_idnumberOptional
view_order_idnumberOptionalExample:
1Responses
200
index example
application/json
post
/api/v2/view200
index example
Updates this specific view.
View the example of POST index on how to update the conditions and columns.
Authorizations
apiKeystringRequired
Path parameters
idnumberRequired
Body
titlestring · min: 4RequiredPattern:
^[0-9a-zA-Z \-\_]+$primary_sortingstringOptionalDefault:
nonePattern: ^[a-z_]+$primary_sorting_orderstring · enumOptionalDefault:
ascPossible values: secondary_sortingstringOptionalDefault:
nonePattern: ^[a-z_]+$secondary_sorting_orderstring · enumOptionalDefault:
ascPossible values: view_category_idnumberOptional
view_order_idnumberOptional
historyReasonstringOptional
Responses
200Success
No content
put
/api/v2/view/{id}200Success
No content
Last updated