GET
/
mrns
/
{mrn_id}
cURL
curl --request GET \
  --url http://localhost:8080/mrns/{mrn_id}
{
  "benefit_provider_id": "<string>",
  "created_at": "<string>",
  "dependant_id": "<string>",
  "external_mrn": "<unknown>",
  "id": "<string>",
  "last_modified_at": "<string>",
  "primary_user_id": "012345678901"
}

Path Parameters

mrn_id
string
required

Internal MRN record ID (UUID)

Response

MRN found

benefit_provider_id
string
required
created_at
string
required
dependant_id
string
required
external_mrn
any
required
id
string
required
last_modified_at
string
required
primary_user_id
string
required

A validated 12-digit numeric user identifier.

Every external entry point validates:

  • JSON Deserialize runs [UserId::parse] (outer whitespace trimmed, length and digit-only enforced) via #[serde(try_from = "String")].
  • DB FromSql runs [UserId::parse] on every row read.

Display / Deref<Target = str> / AsRef<str> / Into<String> are derived via derive_more — the inner String is pass-through for every read-only borrow, display, and move-out.

Example:

"012345678901"

status
enum<string>
required

MRN record lifecycle status.

Available options:
ACTIVE,
INACTIVE