Data formats
Data in Decision Server Insights is organized according to preset specifications. The different formats enable the data to be stored efficiently and exchanged.
Data is formatted in the following document formats:
- GENERIC XML
- The generic XML format is independent of the business model and is designed for optimal storage.
- TYPED XML
-
The typed XML format corresponds to the solution business model. The schema is intended for event exchange.
- JSON
- The JSON format is intended for data exchange. JSON is used on all popular websites.
The following table shows where you can use the data formats.
| Data format | HTTP gateway | Test driver and Java™ gateway (ModelSerializer API) | REST | Connectivity inbound/outbound endpoints |
|---|---|---|---|---|
| GENERIC_XML | Yes | Yes | GET and POST/PUT | No |
| TYPED_XML | Yes | Yes, for events only | No | Yes |
| JSON | Yes | Yes | GET only | Yes, but no transformation |