System.getZips | Previo API

System.getZips

Global list of codes for regions, districts, municipalities and ZIP codes.

Output of this operation is very high, therefore, we do not show the up-to-date version of the list.

Parameters

Name Description
login Username
password Password
couId Country ID

Sample request

<request>
    <login>prihlasovaci_jmeno</login>
    <password>heslo</password>
    <couId>1</password>
</request>

Output

<zips> [1]  
 
<region> [1..*] Region
 
<regId> [1] ID region
<couId> [1] ID state
<name> [1] Region name
<county> [1..*] District
 
<cotId> [1] ID district
<name> [1] District name
<town> [1..*] Municipality
 
<towId> [1] ID municipality
<name> [1] Municipality name
<zip> [1..*] ZIP
 
<zipId> [1] ID ZIP
<code> [1] ZIP (number only)
<district> [1] Municipality quarter

Sample output

<zips>
    <region>
        <regId>1</regId>
        <couId>1</couId>
        <name>Hl.m.Praha</name>
        <county>
            <cotId>50</cotId>
            <name>Praha</name>
            <town>
                <towId>1</towId>
                <name>Praha</name>
                <zip>
                    <zipId>190</zipId>
                    <code>19011</code>
                    <district>Běchovice</district>
                </zip>
                <zip>
                    <zipId>271</zipId>
                    <code>10300</code>
                    <district>Benice</district>
                </zip>
                <zip>
                    <zipId>568</zipId>
                    <code>18100</code>
                    <district>Bohnice (část)</district>
                </zip>
            </town>
        </county>
    </region>
</zips>