Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

You can use this function to validate the REST API. Therefore, this feature provides a framework to call the validation REST API that was defined in the REST account during the Template/Transaction creation.

This feature is only visible when:

  • You have selected the Enable External Mapping Validation checkbox and REST account from Template/Transaction settings page.
  • You open the mapper from the Define Mapping page of Template/Transaction.

...

The External Mapping Validation provides the way to validate the rules of the destination elements using REST API that was defined in the REST account during the Template/Transaction creation. Following are the Request and Response JSON format for External Mapping Validation in Web Mapper.

Request Format for the External Mapping Validation

Following example presents the request format of API for the layout shown in the below image:


 

...

Response Format for the External Mapping Validation

These information should must available in Response JSON:

In case the Validation is successful

...

Where,

Status: This shows the validation status 'error or success'. If Successsuccess, error details will be blank otherwise error details contains the list of field path which are having errors.

Error Details: This contains the field path. And the field path contain message and schema name

Field Path: This contains message and schema name.

...