User Tools

Site Tools


data:fields:names: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>
data/fields/names/count.txt · Last modified: 2012/04/17 10:14 (external edit)