Get a list of attendance for persons registered for an event (occurrence)
GET PublicApi/{rewriteUrl}/{language}/Attendance/{id}/CreateAndGetPersonAttendance
The id in Attendance/{id} refers to an event (occurrence) and you can get it from /Events. Returns a list of people along with their attendance status and list of user-defined values. Attendance status has possible values None and Present.
Request Information
URI Parameters
PARAMETERS | ||
---|---|---|
rewriteUrl (string) |
Unique, url-friendly organization token. Part of base url |
Required |
language (string) |
Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en' |
Required |
id (integer) |
Occurrence id |
Required |
Body Parameters
None.
Response Information
Resource Description
PARAMETERS | ||
---|---|---|
Id (integer) |
Resource id |
|
AmiliaId (string) | ||
SegmentId (integer) | ||
FirstName (string) |
First name of the person |
|
LastName (string) |
Last name of the person |
|
PictureId (integer) | ||
PictureUrl (string) |
Url of the resource picture |
|
Gender (Gender) |
Object containing the gender values NotSpecified, Male, Female and PreferNotToSay |
|
DateOfBirth (date) |
Format is 9999-12-31 |
|
Age (integer) |
Object containing minimum and maximum ages, and the option to specify age in months |
|
MedicalInformation (MedicalInformations) |
Object containing the medical information (allergies, sicknesses, reactions, medication) for a person |
|
RegistrationInformation (ActivityPersonInfoApiModel) | ||
Contacts () |
Object containing the persons who are listed as contacts and their details |
|
UpdatedOn (date) |
Date the resource was updated. Format is 9999-12-31 |
|
Status (ActivitySegmentAttendanceStatus) |
Object containing the possible status values (case-insensitive). |
|
Values () | ||
AccountId (integer) |
Id of the account |
|
ExpectedBalance (decimal number) |