System.getCountries | Previo API

System.getCountries

Global list of codes for countries. 

Returns county ID (cou_id) and country name. 

Parameters

Name Description
login Username
password Password
lanId Language ID (optional)

Sample request

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

Output

<countries> [1]  
 
<country> [1..*]  
 
<couId> [1] Country ID
<name> [1] Country name

Sample output

<countries>
    <country>
        <couId>1</couId>
        <name>Česká republika</name>
    </country>
    <country>
        <couId>468</couId>
        <name>Afghanistán</name>
    </country>
    <country>
        <couId>469</couId>
        <name>Albánie</name>
    </country>
    <country>
        <couId>470</couId>
        <name>Alžírsko</name>
    </country>
    <country>
        <couId>471</couId>
        <name>Americká Samoa</name>
    </country>
    <country>
        <couId>472</couId>
        <name>Americké Panenské ostrovy</name>
    </country>
</countries>