Click here for a complete list of routes.
/multidistricts
GET /multidistricts
This request returns a list of multi-districts.
The following is a sample HTTP GET request and response. The placeholders
shown need to be replaced with actual values.
Request example
GET /v2/multidistricts HTTP/1.1 Host: api.lions.at
Response example
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[
{
"id": 1,
"name": "Multi-District Name #1",
"...": "...",
"districts": [
{
"id": 1,
"name": "District Name #1",
"...": "..."
}
]
},
{
"id": 2,
"name": "Multi-District Name #2",
"...": "...",
"districts": [
{
"id": 1,
"name": "District Name #1",
"...": "..."
}
]
}
]
GET /multidistricts/id
This request returns the multi-district with a given identifier.
The following is a sample HTTP GET request and response. The placeholders
shown need to be replaced with actual values.
Request example
GET /v2/multidistricts/id
HTTP/1.1
Host: api.lions.at
Response example
HTTP/1.1 200 OK Content-Type: application/json Content-Length:length
{ "id":id
, "name": "Multi-District Name", "...": "...", "districts": [ { "id": 1, "name": "District Name #1", "...": "..." } ] }
GET /multidistricts/id
/committee
restricted
This request returns the committee of the multi-district (by function groups} with the given identifier.
The following is a sample HTTP GET request and response. The placeholders
shown need to be replaced with actual values.
Request example
GET /v2/multidistricts/id
/committee HTTP/1.1 Host: api.lions.at X-Authorization:access-token
Optional parameters
Name | Type | Description |
---|---|---|
locale | string | de , fr , ... to get localized function names. Defaults to English. |
year | int | Lions Year of the committee. Bound to range 1917 – 2024. Defaults to current Lions Year. |
Response example
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{
"success": true,
"groups": [
{
"name": "Name of the group",
"members": [
{
"function": "Multidistrict council chairman",
"id": 7,
"firstName": "John",
"middleName": "",
"lastName": "Doo",
"fullName": "John Doo",
"active": true,
"photo": "",
"club": 123
},
{
"...": "..."
}
]
}
]
}