Properties
address
address: { city: string; country: string; county: string; id: number; line1: string; line2: string; line3: string; postcode: string }
Type declaration
city: string
country: string
county: string
id: number
line1: string
line2: string
line3: string
postcode: string
consent
consent: { external: null | boolean; internal: null | boolean }
Type declaration
external: null | boolean
internal: null | boolean
contact_id
contact_id: number
custom_fields
custom_fields: []
date_of_birth
date_of_birth: string
doctor_details
doctor_details: null | string
email
email: `${string}@${string}.${string}`
first_name
first_name: string
formal_name
formal_name: null | string
has_email_opt_out
has_email_opt_out: boolean
has_rota_email_opt_out
has_rota_email_opt_out: boolean
has_rota_sms_opt_out
has_rota_sms_opt_out: boolean
has_sms_opt_out
has_sms_opt_out: boolean
last_name
last_name: string
location
location: { address: string; latitude: null | number; longitude: null | number }
Type declaration
address: string
latitude: null | number
longitude: null | number
medical_short
medical_short: string
middle_name
middle_name: null | string
ongoing_consent
ongoing_
consent
: { granted_ctime
: null | string; granted_name
: null | string; request_ctime
: null | string; required
: BooleanAsNumber }Type declaration
granted_ctime: null | string
granted_name: null | string
request_ctime: null | string
parent
parent
: { additional_emails
: `${string}@${string}.${string}`[]; additional_mobiles
: string[]; primary
: { communication
: { general_email
: BooleanAsNumber; general_sms
: BooleanAsNumber }; contact_id
: number; email
: `${string}@${string}.${string}`; first_name
: string; last_name
: string; mobile
: string; relationship
: string; sex
: null | "u" | "m" | "f"; telephone
: string } }Type declaration
additional_emails: `${string}@${string}.${string}`[]
additional_mobiles: string[]
primary: { communication: { general_email: BooleanAsNumber; general_sms: BooleanAsNumber }; contact_id: number; email: `${string}@${string}.${string}`; first_name: string; last_name: string; mobile: string; relationship: string; sex: null | "u" | "m" | "f"; telephone: string }
contact_id: number
email: `${string}@${string}.${string}`
first_name: string
last_name: string
mobile: string
relationship: string
sex: null | "u" | "m" | "f"
telephone: string
person_uuid
person_uuid: string
school
school: null | string
sex
sex: null | "u" | "m" | "f"
site_ids
site_ids: string[]
special_needs
special_needs: null | string
status
status: "active" | "archived"
telephone
telephone: string
Return data for a specific child
See
ChurchSuite Children: Get a child