Loading...
Area: Episerver Service API
Applies to versions: 1 and higher

CMS content import service

Recommendations [hide]

This section describes how to work with bulk operations with the Episerver Service API. The CMS content import service is a bulk operation that lets you import Episerver CMS content into Episerver Commerce.

How it works

To import content using the CMS content import service, the content is imported through an episerverdata file, the format for data exported from CMS. See Overview of 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.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Oct 20, 2016

Recommendations [hide]