To retrieve all fields from a given record type, you need to add the detail=full parameter.
The default level of detail is detail=summary, which contains only the most important fields.
Detail=full is a way to list all fields. However, all fields are usually not needed in the output. Using this method, your program will load a lot of data, while you will actually use only some of it. The fields your program will process are already known in advance. So there is no reason to use detail=full.
The correct question should be: how do I get all the fields I need in the output? The answer is to use the detail=custom:… parameter, in which you can list the fields that ABRA Flexi should return.
Using detail=custom can also speed up ABRA Flexi's response time. This is because objects that you do not specify will not be loaded from the database, eliminating many SQL queries. In addition to speeding up responses from ABRA Flexi, this also reduces the memory footprint of your program, since it will not need to hold such large responses from ABRA Flexi in memory.
The simplest and clearest way to find out which fields a given record type provides is to use /properties (e.g. https://demo.flexibee.eu/c/demo/faktura-vydana/properties).
This output will tell you what values the individual fields can take. For linked objects, you will find out which record type they refer to, and, not least, whether the field will be considered during XML import.
Example:
https://demo.flexibee.eu/c/demo/faktura-vydana.xml – detail=summary https://demo.flexibee.eu/c/demo/faktura-vydana.xml?detail=full – detail=full https://demo.flexibee.eu/c/demo/faktura-vydana.xml?detail=custom:id,typDokl,nazFirmy,sumCelkem,zbyvaUhradit – detail=custom, který vrací jen potřebná pole
