/lci

GET /lci/countries restricted

This request returns the list of countries.

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Request example

GET /v2/lci/countries HTTP/1.1
Host: api.lionsclubs.ch
X-Authorization: access-token

Response example

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{
    "success": true,
    "count": 3,
    "countries": [
        {
            "code": "P2",
            "name": "ALAND IS FINLAND"
        },
        {
            "code": "I1",
            "name": "ALBANIA"
        },
        {
            "...": "..."
        }
    ]
}

GET /lci/countries/code/clubs restricted

This request returns the list of clubs for a given country.

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

Request example

GET /v2/lci/countries/code/clubs HTTP/1.1
Host: api.lionsclubs.ch
X-Authorization: access-token

Response example

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{
    "success": true,
    "count": 2,
    "clubs": [
        {
            "id": "117302",
            "name": "3 SEEN/LACS",
            "type": "LIONS_CLUB",
            "...": "..."
        },
        {
            "...": "..."
        }
    ]
}