pub struct GroupsQrcodeCheckinResource<'a> { /* private fields */ }Expand description
client.groups().qrcode_checkin()
Implementations§
Source§impl<'a> GroupsQrcodeCheckinResource<'a>
impl<'a> GroupsQrcodeCheckinResource<'a>
Sourcepub fn get(
&self,
group_id: impl Display,
person_id: impl Display,
) -> Result<GroupQRCodeCheckin>
pub fn get( &self, group_id: impl Display, person_id: impl Display, ) -> Result<GroupQRCodeCheckin>
Get an existing check-in ticket for a person
GET /groups/{groupId}/qrcodecheckin/{personId}
Returns the stored ticket for this person and group, without generating one or recording attendance. The current user may retrieve their own ticket. Retrieving another person’s ticket requires group/group-type membership editing permission or internal edit basic group memberships. Returns 404 when no matching ticket exists. The lookup does not recheck current ticket eligibility, expiry, use or QR-check-in activation; inspect the lifecycle fields separately. No meta envelope is returned.
§Example
let qrcode_checkin = client.groups().qrcode_checkin().get(42, 42)?;
println!("{}", qrcode_checkin.domain_id);Sourcepub fn get_pdf(
&self,
group_id: impl Display,
person_id: impl Display,
) -> Result<GetGroupsIdQrcodecheckinPersonIdPdfData>
pub fn get_pdf( &self, group_id: impl Display, person_id: impl Display, ) -> Result<GetGroupsIdQrcodecheckinPersonIdPdfData>
Generate a PDF download link for an existing check-in ticket
GET /groups/{groupId}/qrcodecheckin/{personId}/pdf
Generates a PDF containing the stored ticket’s QR code and returns its absolute download URL as JSON; this endpoint does not stream PDF bytes. The current user may request their own ticket, while another person’s ticket requires group/group-type membership editing permission or internal edit basic group memberships. A matching ticket must already exist; otherwise 404 is returned. Generating the link updates downloadedDate immediately, before any download occurs. This GET therefore writes state and creates a file. The lookup does not recheck QR-check-in activation, current role/membership eligibility or ticket lifecycle validity.
§Example
let pdf = client.groups().qrcode_checkin().get_pdf(42, 42)?;
println!("{}", pdf.url);Sourcepub fn list(
&self,
group_id: impl Display,
) -> Result<Option<Vec<GroupQRCodeCheckin>>>
pub fn list( &self, group_id: impl Display, ) -> Result<Option<Vec<GroupQRCodeCheckin>>>
List accessible check-in tickets for a group
GET /groups/{groupId}/qrcodecheckin
Returns existing stored tickets; it does not generate missing tickets or record attendance. Users with one of the group/group-type membership editing permissions or internal edit basic group memberships can retrieve all group tickets. Other authenticated users receive only their own ticket, wrapped in an array, or data=null when they have none. The privileged empty result is [] instead. Results are unpaginated and have no defined order or meta envelope. This lookup does not filter ticket expiry/use or recheck current QR-check-in enablement, role eligibility or active membership.
§Example
let result = client.groups().qrcode_checkin().list(42)?;
println!("{:?}", result);Sourcepub fn send(
&self,
group_id: impl Display,
person_id: impl Display,
body: &BTreeMap<String, Value>,
) -> Result<GroupQRCodeCheckin>
pub fn send( &self, group_id: impl Display, person_id: impl Display, body: &BTreeMap<String, Value>, ) -> Result<GroupQRCodeCheckin>
Queue an existing check-in ticket for email
POST /groups/{groupId}/qrcodecheckin/{personId}/send
Queues a PDF ticket email and returns the current ticket, normally with isQueued=true while processing is pending. The current user may request their own ticket; sending another person’s ticket requires group/group-type membership editing permission or internal edit basic group memberships. A ticket must already exist. The subject person is preferred as recipient when they have an email and are not archived; otherwise the service attempts the membership’s registeredBy person. Already queued tickets are unchanged. With no eligible recipient this request still returns 200 without queuing. A previously sent ticket can be queued again. The worker generates the attachment and later updates sentDate/isQueued; this response does not confirm delivery. No request body selects recipients or content.
§Example
let body: std::collections::BTreeMap<String, serde_json::Value> = Default::default();
let qrcode_checkin = client.groups().qrcode_checkin().send(42, 42, &body)?;
println!("{}", qrcode_checkin.domain_id);