REST vs Views ?

Juan Alchourron asked on July 27, 2016 16:29

Do you think it's possible to get data using REST, from a Kentico database view ?

To find the value for specific object types, view the Code name of classes in the Modules application, or the ClassName column of the CMS_Class database table.

Thanks

Juan

Correct Answer

Jan Hermann answered on July 28, 2016 10:49

Regrettably, you can't retrieve data from database views.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juan Alchourron answered on July 28, 2016 14:41

:( thanks Jan !

0 votesVote for this answer Mark as a Correct answer

Charles Matvchuk answered on July 28, 2016 16:40

Actually, you can just create a webservice against the views if you have Visual Studio and use the Service Wizard, it is a snap. I would limit the model to views, either custom or Kentico stock. I would not do any updating or modifying data outside the Kentico REST API If you are hosted on azure you can use the azure api endpoints as well.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.