pub struct PersonServiceRequestUpdate {
pub agreed: Option<bool>,
pub comment: Option<Option<String>>,
pub inform_person: Option<bool>,
pub is_accepted: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Update the assignment using personId from the path. The path already provides the assignee; do not supply an external name. The legacy agreed field is accepted as an alias for isAccepted.
Fields§
§agreed: Option<bool>deprecated in the ChurchTools API
Legacy alias for isAccepted. Prefer isAccepted in new integrations.
comment: Option<Option<String>>Accepted for compatibility but ignored by this update operation; the replacement record starts without a comment. Use the accept or decline action for a response comment.
None leaves the field out, Some(None) sends null.
inform_person: Option<bool>Accepted for compatibility; this flag does not control notifications in the current implementation. Notifications follow the assignment workflow.
is_accepted: Option<bool>true creates a confirmed assignment; false creates an assignment awaiting confirmation. false does not decline it.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.