[[count]]
 
Table of Contents


Fields list

count

field name:
count
containing:
number of matching results for the given query
field type:
int
returned in:
offers,
groups

Description:

This value may vary depending on the number of matches found and the valuecalc_found.

Inquiries example

count value in response will be in the range of values ​​from ilosci_znalezionych_ofert to calc_found

<?xml version='1.0'?>
  <mds>
   <auth>
     <login>login</login>
     <pass>pass</pass>
   </auth>
   <request><type>offers</type>
   <conditions>
     <limit_count>100</limit_count>
     <limit_from>1</limit_from>
     <calc_found>201</calc_found>     
   </conditions></request>
 </mds>

Answer

in the case when the number of results is >=201

<response>
............
............
  <count>201</count>
</response>

If the number of results =X or is below 201

<response>
............
............
  <count>X</count>
</response>
 
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki