User Tools

Site Tools


autosuggest:maxlines

Table of Contents

General information

Optional parameter “maxLines” - determines the number of lines given in answer.

Default value is 10.

Inquiry

<?xml version="1.0"?>
<mds>
  <auth>
    <login>LOGIN</login>
    <pass>PASSWORD</pass>
  </auth>
  <request>
    <type>citySearchByName</type>
    <conditions>
      <name>Wro</name>
      <maxLines>10</maxLines>
    </conditions>
  </request>
</mds> 

Answer

<response>
  <item>
    <cityName>Wrocław (Dolnośląskie), Polska</cityName>
    <cityId>3</cityId>
    <lat>51.110362</lat>
    <lng>17.031135</lng>
  </item>
</response>
autosuggest/maxlines.txt · Last modified: 2012/08/27 11:28 by krzysiekd