Share via


Using eConnect schema

To use the eConnect application programming interfaces (APIs), your application must be able to create XML documents or read XML documents based on these schema. If you submit a document that does not comply with its schema definition, it will be rejected and an error will be logged in the eConnect event log.

The schema files also allow you to perform validation of the documents you create. The eConnect API allow you to specify the schema file for the document.

  • Use the eConnect.xsd file when your application needs to validate all types of XML documents.
  • Use the individual document XSD files to perform validation for a specific eConnect XML document.

The schema files contain the definition of each eConnect XML document, transaction type schema, and XML node. If you have questions about the schema XML nodes, and elements for a specified eConnect document, the schema files are the definitive source of the information you need.