PIMinRiver

inRiver

Check the inRiver Configuration

Using the Debug ERP request in Sana Admin, you can send requests to inRiver, in order to get inRiver specific data, like settings, fields, entities, etc. You can use Debug ERP request for the development and debugging purposes. 

 NOTE

This feature can be disabled by your web store administrator or project manager. If there is no page "Debug ERP requests" in your Sana Admin, please contact your web store administrator or project manager.

Open Sana Admin and click: Tools > ERP connection > Debug ERP request

Some methods which you can use to request data directly from inRiver are presented below. They are not available in the standard list of XML requests in Sana Admin, thus you must enter them manually.

InRiver.GetSettings

Use the InRiver.GetSettings method to get the list of all Sana server settings and languages configuration from inRiver.

Example of request:

 <?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetSettings</Operation>
  <Params>
  </Params>
</Request>

InRiver.GetCVL

Use the InRiver.GetCVL method to get the CVLs from inRiver.

Examples of requests:

This request will get the list of all CVLs available in inRiver:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetCVL</Operation>
  <Params>
  </Params>
</Request>

This request will get a specific CVL and its values from inRiver. You need to specify the CVL Id in the request parameters:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetCVL</Operation>
  <Params>
      <Id>Brand</Id>
  </Params>
</Request>

InRiver.GetEntityFields

Use the InRiver.GetEntityFields method to get entity types and their fields from inRiver.

Examples of requests:

This request will get all entity types available in inRiver:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetEntityFields</Operation>
  <Params>
  </Params>
</Request>

This request will get all fields from a specific entity type. You need to specify the entity type in the request parameters:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetEntityFields</Operation>
  <Params>
      <EntityType>Color</EntityType>
  </Params>
</Request>

InRiver.GetEntity

Use the InRiver.GetEntity method to get product IDs and product information from inRiver.

Examples of requests:

This request will get all product IDs available in inRiver for a specific entity type directly from inRiver database. You need to specify the entity type in the request:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetEntity</Operation>
  <Params>
      <EntityType>Product</EntityType>
  </Params>
</Request>

This request will get a product and all its fields by the product ID in the inRiver database. The product ID in Sana and ERP will be also shown in the response. You need to specify the ID of a product stored in the inRiver database in the request parameters:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetEntity</Operation>
  <Params>
      <Id>43</Id>
  </Params>
</Request>

This request will get a product and all its fields by the product ID in Sana and ERP. The product ID from the inRiver database will be also shown in the response. You need to specify the product ID from ERP (SanaId) in the request parameters:

<?xml version="1.0"?>
<Request>
  <Operation>InRiver.GetEntity</Operation>
  <Params>
      <SanaId>A001</SanaId>
      <SanaIdFieldName>ProductNumber</SanaIdFieldName>
  </Params>
</Request>
PIMinRiver