Dossiers
Get a single dossier
Section titled “Get a single dossier”Sample request
GET /api/v1/dossiers/$ID HTTP/1.1Host: api.example.comAuthorization: Bearer YOUR_API_TOKENcurl "https://api.example.com/api/v1/dossiers/$ID" \ -u "username:password"$username = "username"$password = "password"$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username, $password)))
$headers = @{ "Authorization" = "Basic $base64AuthInfo"}
Invoke-RestMethod -Uri "https://api.example.com/api/v1/dossiers/$ID" ` -Method GET ` -Headers $headers{ "id": 1, "epd_id": "123", "gender": "2", "birthdate": "1920-02-04", "sync_status_message": "Ophalen meest recente gegevens mislukt! Deze gegevens kunnen daarom verouderd zijn", "editable": false}