Get Country List

The below API is used to get country list.

Request: GET

Signature: /api/mobile/GetCountry List?Token={Login_Token}&ByCode={Boolean_Value}&Mode={}

Sample: /api/mobile/GetCountryList?Token=VomYEMiECFFyAQ3==&ByCode=True&Mode=10

Response:

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 0,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "GEOCODE": "CN",
            "GEONAME": "China"
        },
        {
            "GEOCODE": "ID",
            "GEONAME": "Indonesia"
        },
        {
            "GEOCODE": "IN",
            "GEONAME": "India"
        },
        {
            "GEOCODE": "KE",
            "GEONAME": "Kenya"
        },
        {
            "GEOCODE": "LA",
            "GEONAME": "Los Angeles"
        },
        {
            "GEOCODE": "NE",
            "GEONAME": "Nigeria"
        },
        {
            "GEOCODE": "US",
            "GEONAME": "United States of America"
        }
    ]
}

Things to know about this API:

    1. Token - You can use Login API to get token displayed under Info
    2. Below are the Mode and their description: