pub struct CheckinPersonDataCreate {Show 45 fields
pub address_addition: Option<String>,
pub baptised_by: Option<String>,
pub birth_name: Option<String>,
pub birthday: Option<Option<NaiveDate>>,
pub birthplace: Option<String>,
pub campus_id: i64,
pub city: Option<String>,
pub cms_user_id: Option<String>,
pub country: Option<String>,
pub date_of_baptism: Option<Option<NaiveDate>>,
pub date_of_belonging: Option<Option<NaiveDate>>,
pub date_of_death: Option<Option<NaiveDate>>,
pub date_of_entry: Option<Option<DateTime<Utc>>>,
pub date_of_resign: Option<Option<DateTime<Utc>>>,
pub department_ids: Vec<i64>,
pub email: Option<String>,
pub emails: Option<Vec<PersonEmail>>,
pub family_status_id: Option<Option<i64>>,
pub fax: Option<String>,
pub first_contact: Option<Option<DateTime<Utc>>>,
pub first_name: Option<String>,
pub grow_path_id: Option<i64>,
pub guid: Option<String>,
pub job: Option<String>,
pub last_name: String,
pub mobile: Option<String>,
pub nationality_id: Option<Option<i64>>,
pub nickname: Option<String>,
pub optigem_id: Option<String>,
pub phone_private: Option<String>,
pub phone_work: Option<String>,
pub place_of_baptism: Option<String>,
pub privacy_policy_agreement: Option<CheckinPersonDataCreatePrivacyPolicyAgreement>,
pub privacy_policy_agreement_date: Option<NaiveDate>,
pub privacy_policy_agreement_type_id: Option<i64>,
pub privacy_policy_agreement_who_id: Option<i64>,
pub referred_by: Option<String>,
pub referred_to: Option<String>,
pub sex_id: Option<Option<i64>>,
pub status_id: i64,
pub street: Option<String>,
pub title: Option<String>,
pub wedding_date: Option<Option<NaiveDate>>,
pub zip: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Person fields for creation during check-in admission. Uses the normal new-person field validation, including installation-specific masterdata and custom fields. Unlike ordinary creation, this flow forces duplicate creation and ignores visibility. Optional fields depend on configured field security and new-person settings.
Fields§
§address_addition: Option<String>§baptised_by: Option<String>§birth_name: Option<String>§birthday: Option<Option<NaiveDate>>None leaves the field out, Some(None) sends null.
birthplace: Option<String>§campus_id: i64ID of a campus returned by GET /person/masterdata.
city: Option<String>§cms_user_id: Option<String>§country: Option<String>§date_of_baptism: Option<Option<NaiveDate>>None leaves the field out, Some(None) sends null.
date_of_belonging: Option<Option<NaiveDate>>None leaves the field out, Some(None) sends null.
date_of_death: Option<Option<NaiveDate>>None leaves the field out, Some(None) sends null.
date_of_entry: Option<Option<DateTime<Utc>>>None leaves the field out, Some(None) sends null.
date_of_resign: Option<Option<DateTime<Utc>>>None leaves the field out, Some(None) sends null.
department_ids: Vec<i64>Department IDs returned by GET /person/masterdata. At least one department must be set.
email: Option<String>§emails: Option<Vec<PersonEmail>>Save many eMail addresses for person. If emails is present in request email is ignored.
family_status_id: Option<Option<i64>>None leaves the field out, Some(None) sends null.
fax: Option<String>§first_contact: Option<Option<DateTime<Utc>>>None leaves the field out, Some(None) sends null.
first_name: Option<String>Required field; surrounding whitespace is removed, blank text becomes null.
grow_path_id: Option<i64>§guid: Option<String>Optional unique person GUID. Generated when omitted.
job: Option<String>§last_name: StringRequired nonblank surname, trimmed before use.
mobile: Option<String>§nationality_id: Option<Option<i64>>None leaves the field out, Some(None) sends null.
nickname: Option<String>§optigem_id: Option<String>§phone_private: Option<String>§phone_work: Option<String>§place_of_baptism: Option<String>§privacy_policy_agreement: Option<CheckinPersonDataCreatePrivacyPolicyAgreement>Use the three flat privacyPolicyAgreement* fields instead.
Legacy representation of the privacy agreement. Use the three flat privacyPolicyAgreement* fields instead. When this object is used, all three values must be provided if privacy agreement fields are mandatory.
privacy_policy_agreement_date: Option<NaiveDate>Date of the privacy policy agreement. Required together with agreement type and person when privacy_policy_fields_mandatory is enabled.
privacy_policy_agreement_type_id: Option<i64>ID of the configured agreement type describing how the agreement was obtained. This is independent from who gave the agreement. Required together with agreement date and person when privacy_policy_fields_mandatory is enabled.
privacy_policy_agreement_who_id: Option<i64>ID of the configured agreement source describing who gave the agreement. This is independent from how the agreement was obtained. Required together with agreement date and type when privacy_policy_fields_mandatory is enabled.
referred_by: Option<String>§referred_to: Option<String>§sex_id: Option<Option<i64>>None leaves the field out, Some(None) sends null.
status_id: i64ID of a person status returned by GET /person/masterdata.
street: Option<String>§title: Option<String>§wedding_date: Option<Option<NaiveDate>>None leaves the field out, Some(None) sends null.
zip: Option<String>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.