Empty 200 to indicate API is healthy
Health Check
Returns 200
Response
200
Response
Calculate age
Calculates age based on date of birth and as-of date using specified calculation method
Body
application/json
Body
Age calculation request containing date of birth, as-of date, and calculation method
Age-Calculation-Request
Date of birth in ISO-8601 format
Example:1990-08-25
As-of date in ISO-8601 format
Example:2025-08-25
Age calculation method - AGE_LAST for age at last birthday, AGE_NEAREST for age at nearest birthday
Allowed values:AGE_LASTAGE_NEAREST
Example:AGE_LAST
Response
application/json
Response
Age calculation completed successfully
Age-Calculation-Response
Calculated age
Example:35
Number of months since last birthday
Example:0
Authentication
Body
Age-Calculation-Request
objectDate of birth in ISO-8601 format
Example:1990-08-25
As-of date in ISO-8601 format
Example:2025-08-25
Age calculation method - AGE_LAST for age at last birthday, AGE_NEAREST for age at nearest birthday
Allowed values:AGE_LASTAGE_NEAREST
Example:AGE_LAST
Age-Calculation-Response
objectCalculated age
Example:35
Number of months since last birthday
Age-Calculation-Method
stringAge calculation method - AGE_LAST for age at last birthday, AGE_NEAREST for age at nearest birthday
Allowed values:AGE_LASTAGE_NEAREST