fetchSH

POST /fetchSH

Fields

Field Type Description Required
onlyUpdatedSince timestamp

if set, return only entities, that were updated since given timestamp

NO

Request

Headers

Header Value
Accept
application/vnd.gesund-de.v1+json
application/json
application/*+json
Content-Type
application/vnd.gesund-de.v1+json
application/json
Authorization HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details)

Body

{
   "onlyUpdatedSince": "if set, return only entities, that were updated since given timestamp (e.g. (string) "1970-01-01 13:37" )"
}

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 201: Created
  • 404: Not Found
  • 400: Client Error
  • 422: Unprocessable Entity
  • 401: Unauthorized
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.gesund-de.v1+json
application/json
application/*+json
Allow Comma-separated list of all HTTP methods allowed

Body

{
    "data": [
        {
            "egroh_id": "424",
            "name": "Sanitätshaus Beispiel GbR",
            "last_updated": "2022-09-15 09:51:22",
            "phone": "123456789",
            "fax": "123456789",
            "url": "Keine",
            "email": "anon@ymous.com",
            "street": "Musterstrasse 1",
            "zip": "66620",
            "city": "Nonnweiler",
            "ikList": [
                "100000645"
            ],
            "kategorien": [
                "Homecare",
                "Sanitätsfachhandel",
                "Orthopädietechnik",
                "Medizintechnik"
            ]
        },
        {
            "egroh_id": "654",
            ...
        },
        {
            "egroh_id": "658",
            ...
        }
    ]
}