Skip to navigation

Natural Immunity History

View as Markdown
Which diseases is this person already immune to?

That is the question this endpoint answers: each recorded natural immunity, with its notification, test and diagnosis dates.

Retrieve the individual’s recorded natural immunities — diseases they’re assessed as immune to, with notification, lab test, and diagnosis dates.

Requires an individualIdentifier from a prior Identify Individual call. If naturalImmunityIndicator on that response is false, this endpoint returns success with no list field.

For shared response patterns and the full status-code list, see AIR Integration.

Date format

Date fields use DDMMYYYY with no separators.

Status Codes

Top-level outcomes for this endpoint:

CodeMeaning
AIR-I-1100Request was successfully processed. naturalImmunityList returned (omitted entirely when no records exist).
AIR-E-1005Validation errors (e.g. AIR-E-1061 invalid or expired identifier).
AIR-E-1058Individual’s record cannot be viewed or updated.

Authentication

x-api-keystring
API Key authentication via header
x-minor-idstring

Your Minor ID is three uppercase letters followed by five digits, such as MDE00001. Send the Minor ID exactly as issued. A malformed value gets a 400 with “The Minor ID is not valid.” on every endpoint.

Request

This endpoint expects an object.
individualIdentifierstringRequired
Opaque token from a prior Identify Individual call.
individualDateOfBirthstringRequired

DDMMYYYY format. Must match the individual matched by individualIdentifier.

informationProviderobjectRequired

Response

OK
statusCodestringOptional
codeTypestringOptional
messagestringOptional
naturalImmunityListlist of objectsOptional
Recorded natural immunities. The whole field is omitted when no records exist.
errorslist of objects or nullOptional

Field-level validation problems. See Validation codes.

correlationIdstringOptional
Unique request identifier.