Episerver 7.5 - Web Service APIs

Vote:
 

Hello. I've no previous experience of Episerver but have been asked to look at integrating with a client's Episerver 7.5 installation, ideally using Episerver's built-in web services.

I'd be grateful if someone could confirm the following:

1) I'd like to query the Episerver search index. Am I correct in saying the only web service available to do this is provided as part of the "Find" module (I found the following Find reference https://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/75/searching-with-javascript/Searching-with-Javascript/)? 

2) I'd like to be able to add new content via a web service.  Am I correct in saying the only way to do this is via the Service API but this can only work Commerce content, not CMS content?

(I realise I may have to fall-back to developing a custom web api but certainly would rather use any built-in web services).

Thanks

Howard

#184462
Oct 27, 2017 15:20
Vote:
 

Hi, 

For searchs it depends on if you have find installed or not. If not you have to learn lucene.net since it is a simple integration towards that in the free version. And not thera are no explicit api for that.

If you use episerver find there is plenty of ways of getting data from that application like the one you are mentioning.

2. For this you can actually use diffrent approaches. The ServiceAPI is primary for commerce. But you can use othter ways for retrieving data. Earlier versions had a specific catalog in the default package with some example webservices. Common way of integrate is to use the schedulejob feature in episerver. For instance if you have a xml/rss source and like to import and create content inside episerver based on that feed. If you like to expose data I sugest have a look at webapi. 

https://world.episerver.com/documentation/developer-guides/CMS/scheduled-jobs/

https://world.episerver.com/blogs/rejaie-johnson/dates/2017/5/episerver-cms--web-api/

There is also something called content providers in episerver that you can have a lookt at: https://world.episerver.com/documentation/developer-guides/CMS/Content/Content-providers/Configuring-content-providers/#HowItWorks

We do often use scheduled jobs to import data. But in a multisite solution it is a bit tricky to get everything work as expected but it work with a bit more coding :) 

#186945
Jan 09, 2018 11:50
Vote:
 

This is a bit old but is stil valid as a concept in most cases, page providers is now content providers as i mentioned i previous post.

http://joelabrahamsson.com/episerver-integration-patterns/

#186946
Jan 09, 2018 11:53
Vote:
 
<p>Thanks Eric</p>
#186949
Jan 09, 2018 12:21
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.