integration_documentation:response_xml
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
integration_documentation:response_xml [2019/05/22 15:18] fe80:c3d7:1f3e:2181:6345:72ce:e0c6:d356 ↷ Links adapted because of a move operation |
integration_documentation:response_xml [2019/09/11 09:38] rihad [Basic structure of the XML tree] |
||
---|---|---|---|
Line 24: | Line 24: | ||
---- | ---- | ||
+ | |||
+ | See our [[https://github.com/findologic/xml-response-schema/blob/v2.1.0/schema.xsd|xsd scheme]] for further information. | ||
==== The XML elements in detail ==== | ==== The XML elements in detail ==== | ||
Line 60: | Line 62: | ||
<limit first="0" count="10"/> | <limit first="0" count="10"/> | ||
<queryString>Test</queryString> | <queryString>Test</queryString> | ||
- | <searchedWordCount>1</searchedWordCount> | ||
- | <foundWordCount>1</foundWordCount> | ||
</query> | </query> | ||
</code> | </code> | ||
Line 186: | Line 186: | ||
<count>2</count> | <count>2</count> | ||
</results> | </results> | ||
- | | + | |
---- | ---- | ||
Line 203: | Line 203: | ||
<product id="123" direct="2"/> | <product id="123" direct="2"/> | ||
</products> | </products> | ||
- | | + | |
---- | ---- | ||
Line 245: | Line 245: | ||
<filters> | <filters> | ||
- | <filter> | + | <main> |
+ | <filter> | ||
... | ... | ||
- | </filter> | + | </filter> |
+ | </main> | ||
+ | <other> | ||
+ | <filter> | ||
+ | ... | ||
+ | </filter> | ||
+ | </other> | ||
</filters> | </filters> | ||
| | ||
- | \\ | + | === <main/> === |
+ | |||
+ | Indicates that the respective filter is configurated as main filter in the [[https://secure.findologic.com/login.symfony/web/app.php/shop/filter|customer account]] | ||
+ | |||
+ | {{:integration_documentation:main-filter.png?|}} | ||
+ | |||
+ | === <other/> === | ||
+ | |||
+ | Indicates that the respective filter is configuratedas other filter in the [[https://secure.findologic.com/login.symfony/web/app.php/shop/filter|customer account]] | ||
+ | |||
+ | {{:integration_documentation:other-filter.png?|}} | ||
- | == <filter/> == | + | === <filter/> === |
Indicates a filter category and contains the various values for this filter category in the ''<items/>'' elements. | Indicates a filter category and contains the various values for this filter category in the ''<items/>'' elements. | ||
Line 266: | Line 283: | ||
</items> | </items> | ||
</filter> | </filter> | ||
- | | + | |
---- | ---- | ||
Line 295: | Line 312: | ||
* ''multiple'' | * ''multiple'' | ||
* Several values can be given for one filter. | * Several values can be given for one filter. | ||
- | * These are **und**-linked. | + | * These are **and**-linked. |
* Example: Color filter | * Example: Color filter | ||
Line 391: | Line 408: | ||
\\ | \\ | ||
- | == <item/> == | + | === <item/> === |
- | Contains further information on this concrete filter. | + | Contains further information on this specific filter. |
- | <item> | + | <item selected="1"> |
<name>Subgroup</name> | <name>Subgroup</name> | ||
<display>Subgroup</display> | <display>Subgroup</display> | ||
Line 412: | Line 429: | ||
</items> | </items> | ||
</item> | </item> | ||
+ | |||
+ | |||
+ | * ''selected'' | ||
+ | * indicates that this filter is selected. | ||
''<item/>''-elements can contain further ''<items/>'' in turn. | ''<item/>''-elements can contain further ''<items/>'' in turn. | ||
Line 529: | Line 550: | ||
</products> | </products> | ||
<filters> | <filters> | ||
+ | <main> | ||
<filter> | <filter> | ||
<name>cat</name> | <name>cat</name> | ||
Line 560: | Line 582: | ||
</item> | </item> | ||
</filter> | </filter> | ||
+ | </main> | ||
+ | <other> | ||
<filter> | <filter> | ||
<select>single</select> | <select>single</select> | ||
Line 585: | Line 609: | ||
</items> | </items> | ||
</filter> | </filter> | ||
+ | </other> | ||
</filters> | </filters> | ||
</searchResult> | </searchResult> |