Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/privileges/FACHSTELLE_ARCHIV


^ Back to top

...

US15 | Search for users

GET

/user/search

Admin permission required

Response payload

Code Block
themeMidnight
titleGlobal Privilege object
linenumberstrue
collapsetrue
{
    "privilege": "FACHSTELLE_ARCHIV",
    "id": [
        "fachstelle_archiv",
        "76cbd46def6ee122af1218e080ce1264",
        "5924c8bc43d72a99cc599c739a5b2300",
        "ffd0228f2f57c93df01d39c4da1799c2",
        "96185c01ec10b9cf28656d8137748e71",
        "a1935d91ef4ebcf1f57ef120e6e76aad",
        "4026c88b653a112935812de111b4af22"
    ],
    "sector": "Archiv",
    "global": true,
    "heritable": true
}

Status codes

  • 200 = Successful
  • 400 = Bad Request
  • 401 = User not authorized to login
  • 403 = Authentication temporarily blocked
  • 404 = User not found
  • 423 = User is blacklisted
  • 428 = User has "unconfirmed" status
  • 500 = Internal server error

Example call(s)

  • GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/search?status=CONFIRMED&salutation=Herr&sort=surName/sort.ascending&start=1&count=2