pub struct SyncEntityMappingUpdate {
pub domain_id: Option<String>,
pub domain_type: String,
pub last_synced_date: Option<Option<DateTime<Utc>>>,
pub scope: Option<Option<String>>,
pub source_entity_id: Option<String>,
pub source_id: i64,
pub status: String,
pub extra: Map<String, Value>,
}Expand description
Replaces a record relationship.
Fields§
§domain_id: Option<String>ChurchTools entity ID as text.
domain_type: StringChurchTools domain types accepted by entity and field mapping validation. Adapter support can be a smaller subset.
Allowed values: account, account_class, account_group, account_type, accounting_period, agenda, agenda_item, appointment, appointment_image, appointment_occurrence, appointment_template_image, attachments, avatar, booking, bulkletter_template, client, cost_center, custom_module, donation_attachment_template, donation_cover_letter_template, eubp_attachment, eubp_submission, event, eventchat, familyavatar, file, finance_template, follow_up, further_link, group, ….
last_synced_date: Option<Option<DateTime<Utc>>>Last synchronization timestamp. Prefer an explicit timezone.
None leaves the field out, Some(None) sends null.
scope: Option<Option<String>>Adapter-specific context key.
None leaves the field out, Some(None) sends null.
source_entity_id: Option<String>ID in the external system.
source_id: i64External connection ID (the source system).
status: StringState of the relationship: synchronized, unresolved conflict, or deleted in ChurchTools.
Allowed values: conflict, deleted in CT, synced.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.