Problems using REST interface

Chetan Sharma asked on March 18, 2015 18:55

Hello All,

I am facing problem using interface. Though I'm able to fetch basic example like those given in cms.country and other. However, getting data for document types, custom tables and BizFormItem is terrible.

E.g

Bizform

/rest/bizformitem.bizform.ContactUs

Custom table

/rest/customtableitem.BL.Species

Hitting these links is giving me 404 error.

Unable to decide to get documents of a document type.

Kindly help!!

Thanks Chetan

Recent Answers


Virgil Carroll answered on March 18, 2015 21:30

Chetan,

Can you get any other REST queries to work? If not, then first make sure you have authentication set-up correctly and there is nothing limiting the objects you are trying to access. You would check in the Settings > Integration > REST

Second, make sure you made the appropriate server and web.config changes

My suspicion is there is something not configured correctly for the REST service, but if you can do other REST queries successfully and just not these ones, let us know and we can add some additional thoughts.

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on March 19, 2015 11:57 (last edited on March 19, 2015 12:01)

REST Service is enabled in the Settings->Integration ->Rest

Also added this line to web.config file

0 votesVote for this answer Mark as a Correct answer

Virgil Carroll answered on March 19, 2015 13:30

Quick question: what version of Kentico are you using?

Can you check to see if you can run any other kind of REST Query besides the custom table items?

0 votesVote for this answer Mark as a Correct answer

avdhoota n answered on March 17, 2017 14:47

Have you got any solution for this? I am able to access documents through rest but accessing custom tables gives 404 error.

0 votesVote for this answer Mark as a Correct answer

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