Hide menu Last updated: Oct 20 2016
Area: Episerver Service API Applies to versions: 1 and higher

CMS content import service

EPiServer.ServiceApi Services let you import CMS content into Episerver Commerce vthrough an episerverdata file. See Setting up EPiServer.ServiceApi and Overview of EPiServer.ServiceApi for information about installing and configuring the service API.

CMS import methods

CMS site bulk import with file

episerverapi/commerce/import/cms/site/{siteName}/{hostname}/{culture=}
The culture is an optional parameter if you want to set the culture for the hostname of the site.

CMS site bulk import with file upload identifier

episerverapi/commerce/import/cms/site/{siteName}/{hostname}/{uploadId:guid}/{culture=}
For this method to work, you need a valid upload identifier of the episerverdata file previously uploaded using the chunked upload methods. The culture is an optional parameter if you want to set the culture for the hostname of the site.

CMS assets bulk import with file

episerverapi/commerce/import/cms/assetglobalroot
Use this method if you have exported your assets into an episerverdata file using the export assets tool. This puts your assets under the global assets root.

CMS site bulk import with file upload identifier

episerverapi/commerce/import/cms/assetglobalroot/{uploadId:guid}
Use this method if you exported your assets into an episerverdata file using the export assets tool. This puts your assets under the global assets root.
For this method to work, you need to a valid upload identifier of an episerverdata file previously uploaded using the chunked upload methods.

CMS bulk export methods

CMS bulk export

episerverapi/commerce/export/site/{siteName}
This method returns an episerverdata file of the exported contents of the site specified in the site name. If the site is not found, it exports from the root.

Comments