Get all trusted people with pagination
Retrieve a paginated list of trusted people based on query parameters
query Parameters
pagenumberCurrent page
pageSizenumberPage size
statusstring · enumFilter by status
Enum values:PENDINGAPPROVEDREJECTEDREVOKEDREVOKEDfamilyIdnumberFilter by family ID
searchstringSearch by last names
withRevokedbooleanInclude revoked (deleted) trusted people
keystringSearch by family number or family name
Responses
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
namestring · requiredName or names of the trusted person
paternalLastNamestring · requiredPaternal last name of the trusted person
maternalLastNamestring · requiredMaternal last name of the trusted person
phonestring · requiredPhone number of the trusted person
genrestring · enum · requiredGender of the trusted person
Enum values:MALEFEMALEOTHERrelationshipstring · enum · requiredRelationship of the trusted person with the student
Enum values:GrandparentAunt/UncleFriendCollaboratorslugImagestring · requiredS3 image slug for the official identification
statusstring · enum · requiredStatus of the trusted person
Enum values:PENDINGAPPROVEDREJECTEDREVOKEDrequestedByobject · requiredParent who requested the trusted person
requestedAtstring · date-time · requiredDate and time when the trusted person was requested
reviewedAtstring · date-time · requiredDate and time when the trusted person was reviewed
revokedAtstring · date-time · requiredDate and time when the trusted person was revoked
reviewedByobjectUser who reviewed the trusted person
reviewedByRolestring · enumRole of the user who reviewed the trusted person
Enum values:PARENTDELEGATEDIRECTORTEACHERADMINISTRATIVE_COMMUNICATIONADMINISTRATIVE_LOST_AND_FOUNDADMINISTRATIVE_PERMISSIONS_MANAGERSCHOOL_ADMINISTRATORrevokedByobjectUser who revoked the trusted person
Create a new trusted person
Create a new trusted person. Only parents can create trusted people
Request Body
namestring · requiredName or names of the trusted person
paternalLastNamestring · requiredPaternal last name of the trusted person
maternalLastNamestring · requiredMaternal last name of the trusted person
phonestring · requiredPhone number of the trusted person
genrestring · enum · requiredGender of the trusted person
Enum values:MALEFEMALEOTHERrelationshipstring · enum · requiredRelationship of the trusted person with the student
Enum values:GrandparentAunt/UncleFriendCollaboratorslugImagestring · requiredS3 image slug for the official identification
familyIdnumber · requiredFamily ID
Responses
TrustedPeople created
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
namestring · requiredName or names of the trusted person
paternalLastNamestring · requiredPaternal last name of the trusted person
maternalLastNamestring · requiredMaternal last name of the trusted person
phonestring · requiredPhone number of the trusted person
genrestring · enum · requiredGender of the trusted person
Enum values:MALEFEMALEOTHERrelationshipstring · enum · requiredRelationship of the trusted person with the student
Enum values:GrandparentAunt/UncleFriendCollaboratorslugImagestring · requiredS3 image slug for the official identification
statusstring · enum · requiredStatus of the trusted person
Enum values:PENDINGAPPROVEDREJECTEDREVOKEDrequestedByobject · requiredParent who requested the trusted person
requestedAtstring · date-time · requiredDate and time when the trusted person was requested
reviewedAtstring · date-time · requiredDate and time when the trusted person was reviewed
revokedAtstring · date-time · requiredDate and time when the trusted person was revoked
reviewedByobjectUser who reviewed the trusted person
reviewedByRolestring · enumRole of the user who reviewed the trusted person
Enum values:PARENTDELEGATEDIRECTORTEACHERADMINISTRATIVE_COMMUNICATIONADMINISTRATIVE_LOST_AND_FOUNDADMINISTRATIVE_PERMISSIONS_MANAGERSCHOOL_ADMINISTRATORrevokedByobjectUser who revoked the trusted person
Get trusted person by ID
Retrieve detailed information about a specific trusted person by its ID
path Parameters
idnumber · min: 1 · requiredId
Responses
TrustedPeople detail
idnumber · requiredTrusted person basic information
studentsobject[] · requiredStudent information
requestedByobject · requiredCreator information (parent)
historyobject[] · requiredAction history
reviewedByobjectUser who reviewed the trusted person
reviewedByRolestring · enumRole of the user who reviewed
Enum values:PARENTDELEGATEDIRECTORTEACHERADMINISTRATIVE_COMMUNICATIONADMINISTRATIVE_LOST_AND_FOUNDADMINISTRATIVE_PERMISSIONS_MANAGERSCHOOL_ADMINISTRATOR
Update a trusted person
Update an existing trusted person by its ID
path Parameters
idnumber · min: 1 · requiredId
Request Body
namestringName or names of the trusted person
paternalLastNamestringPaternal last name of the trusted person
maternalLastNamestringMaternal last name of the trusted person
phonestringPhone number of the trusted person
genrestring · enumGender of the trusted person
Enum values:MALEFEMALEOTHERrelationshipstring · enumRelationship of the trusted person with the student
Enum values:GrandparentAunt/UncleFriendCollaboratorslugImagestringS3 image slug for the official identification
familyIdnumberFamily ID
Responses
TrustedPeople updated
Update trusted person status
Update the status of a trusted person (approve/reject)
path Parameters
idnumber · min: 1 · requiredId
Request Body
statusstring · enum · requiredStatus of the trusted person
Enum values:PENDINGAPPROVEDREJECTEDREVOKED
Responses
TrustedPeople updated
idnumber · requiredId
createdAtstring · date-time · requiredCreation Date
updatedAtstring · date-time · requiredUpdated Date
namestring · requiredName or names of the trusted person
paternalLastNamestring · requiredPaternal last name of the trusted person
maternalLastNamestring · requiredMaternal last name of the trusted person
phonestring · requiredPhone number of the trusted person
genrestring · enum · requiredGender of the trusted person
Enum values:MALEFEMALEOTHERrelationshipstring · enum · requiredRelationship of the trusted person with the student
Enum values:GrandparentAunt/UncleFriendCollaboratorslugImagestring · requiredS3 image slug for the official identification
statusstring · enum · requiredStatus of the trusted person
Enum values:PENDINGAPPROVEDREJECTEDREVOKEDrequestedByobject · requiredParent who requested the trusted person
requestedAtstring · date-time · requiredDate and time when the trusted person was requested
reviewedAtstring · date-time · requiredDate and time when the trusted person was reviewed
revokedAtstring · date-time · requiredDate and time when the trusted person was revoked
reviewedByobjectUser who reviewed the trusted person
reviewedByRolestring · enumRole of the user who reviewed the trusted person
Enum values:PARENTDELEGATEDIRECTORTEACHERADMINISTRATIVE_COMMUNICATIONADMINISTRATIVE_LOST_AND_FOUNDADMINISTRATIVE_PERMISSIONS_MANAGERSCHOOL_ADMINISTRATORrevokedByobjectUser who revoked the trusted person

