Liste der Badestellen

Liste der Badestellen

Description: Read-only REST-API for SimpleSearch. Parameters are attached to method calls like in normal URL query parameters. If output type for requests is omitted, API will return HTML by default.

BaseUrl: https://www.berlin.de/lageso/gesundheit/gesundheitsschutz/badegewaesser/liste-der-badestellen/index.php

Authentication: No authentication required

Contact: webmaster@lageso.berlin.de

Licence: cc-by-sa

Formats:
  • XML
  • JSON
  • RSS
  • CSV
  • HTML
  • JSON-RSS
  • GeoJSON
  • KML
HttpStatusCodes:
KeyValue
200Your request is valid, you will find the data in your payload
400Wrong syntax in request, do no repeat this request

Methods

ResultList

Description: Search for entries. Search parameters will be linked by AND.

Url: /index.php[/index/:PAGINATION_MODE:INDEX_OUTPUT_TYPE]

ExampleCall: https://www.berlin.de/lageso/gesundheit/gesundheitsschutz/badegewaesser/liste-der-badestellen/index.php/index/index.json?q=Test

Method: GET

AuthRequired: No

Parameters

order

Description: Change order of results

Type: ValueList ORDER_ATTRIBUTE [+ ' ' + ValueList ORDER_MODIFIER]

Required: No

Default: id

page

Description: Welche Ergebnisseite soll gezeigt werden

Type: int

Required: No

Default: 1

q

Description: Fulltext-search for fields: badname, profil

Type: string

Required: No

badname

Description: Badestelle

Type: string

Required: No

bezirk

Description: Bezirk

Type: string

Required: No

Detail

Description: Show single entry

Url: /index.php/detail/:ITEM_ID[:DETAIL_OUTPUT_TYPE]

Method: GET

AuthRequired: No

EntityKeys

ITEM_ID

Description: ID to find a single row by

Type: int

INDEX_OUTPUT_TYPE

Description: In welchem Format soll das Ergebnis sein

Type: ValueList INDEX_OUTPUT_TYPE

PAGINATION_MODE

Description: How to represent results

Type: ValueList PAGINATION_MODE

DETAIL_OUTPUT_TYPE

Description: In welchem Format soll das Ergebnis sein

Type: ValueList DETAIL_OUTPUT_TYPE

ValueLists

PAGINATION_MODE

Description: Welche Ergebnisseite soll gezeigt werden

Type: string

Values:
KeyValue
indexShow a single page with a restricted set of results
allShow all results at once

INDEX_OUTPUT_TYPE

Description: List of all available output types

Type: string

Values:
KeyValue
.htmlFull-blown HTML
.xmlGenric XML
.jsonJSON
.rssRSS with Geo:RSS
.jrssJSON-RSS (see https://berlinonline.github.io/open-data-handbuch/simplesearch-api/)
.csvExcel-type CSV
.kmlKeyhole markup lanuage (for Google Earth)
.geojsonGeoJson (see https://geojson.org/)

DETAIL_OUTPUT_TYPE

Description: List of all available output types

Type: string

Values:
KeyValue
.htmlFull-blown HTML
.xmlGeneric XML
.jsonJSON

ORDER_ATTRIBUTE

Description: List of all available columns to order by

Type: string

Values:
KeyValue
badnameOrder by badname
bezirkOrder by bezirk

ORDER_MODIFIER

Description: How to order results

Type: string

Values:
KeyValue
ASCAscending order
DESCDescending order