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.
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: System > 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.
inRiverGetSettings
Use the inRiverGetSettings method to get the list of all Sana server settings and languages configuration from inriver.
Example of request:
<?xml version="1.0"?>
<Request>
<Operation>inRiverGetSettings</Operation>
<Params>
</Params>
</Request>
inRiverGetCVL
Use the inRiverGetCVL 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>inRiverGetCVL</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>inRiverGetCVL</Operation>
<Params>
<Id>Brand</Id>
</Params>
</Request>
inRiverGetEntityFields
Use the inRiverGetEntityFields 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>inRiverGetEntityFields</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>inRiverGetEntityFields</Operation>
<Params>
<EntityType>Color</EntityType>
</Params>
</Request>
inRiverGetEntity
Use the inRiverGetEntity 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>inRiverGetEntity</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>inRiverGetEntity</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>inRiverGetEntity</Operation>
<Params>
<SanaId>A001</SanaId>
<SanaIdFieldName>ProductNumber</SanaIdFieldName>
</Params>
</Request>