Skip to end of metadata
Go to start of metadata
Este servicio será utilizado por las aplicaciones que necesiten consultar datos de usuarios con la BDC.
Situación actual
Descripción | Consulta un usuario por su login, regresando la entidad correspondiente |
Referencia SIF | Extensión de SIF 3.0.1 |
Entidad BDC | Persona |
Entidad SIF | UnoStudent, ParentGuardian, UnoStaff. |
Tipo de Petición | GET |
Parámetros o campos | | | |
---|
userId | - Login del usuario que se consulta
- Obligatorio
| - En caso de que no se indique el parámetro entrega el siguiente mesaje:
- En caso de no ser válido el login del usuario o que tenga borrado lógico, entrega el siguiente mensaje:
- <code>404</code>
<message>No se encontraron datos con los parámetros especificados.</message>
| schoolYear | (Opcional) Año escolar que se consulta ( ó Id del Ciclo Escolar ) | |
|
Ejemplo de llamada Student | https://homol.uno-internacional.com/sif/unoUser;contextId={"userId":"sarasophia.alavez.5"}
SchoolYear (Opcional) https://homol.uno-internacional.com/sif/unoUser;contextId={"userId":"sarasophia.alavez.5", "schoolYear":2020} |
Respuesta | <unoStudent refId="00000000-0000-1000-0000-000005413820"> En caso de unoStudent alumno.alumno_id (Identificador único en la BDC, asignado para el ciclo escolar) y cuando ParentGuardian o UnoStaff persona.persona_id (Identificador único en la BDC). <studentId></studentId> Para unoStudent Clave de alumno. Otro caso no se indica. <name> <firstName>SARA SOPHIA</firstName> <middleName>ALAVEZ</middleName> <lastName>BARBOSA</lastName> </name> <birthDate>2011-04-27</birthDate> <sex>Female</sex> <userId>sarasophia.alavez.5</userId> <language>ES</language> <zona_horaria_id>16</zona_horaria_id> <curp>AABS110427MTLLRRA2</curp> <creationInMillis>0</creationInMillis> <updateChildrenInMillis>0</updateChildrenInMillis> <createPersonLoginId>0</createPersonLoginId> <updatePersonLoginId>0</updatePersonLoginId> <personDetailsId></personDetailsId> <countryId>165</countryId> <passwordChanged>0</passwordChanged> <datePasswordUpdated></datePasswordUpdated> <personRefId>00000000-0000-1000-0000-000004802917</personRefId> <empresaRefId>00000000-0000-1000-0000-000000000001</empresaRefId> <lmsBlocked>false</lmsBlocked> <tenantId>8985</tenantId> <programCode>176057</programCode> <gradeRefId>00000000-0000-1000-0000-000000000035</gradeRefId> <gradeDescription>Kinder 3</gradeDescription> <groupRefId>00000000-0000-1000-0000-000000000016</groupRefId> <groupDescription>Grupo A</groupDescription> <numberList>0</numberList> <noPayment>0</noPayment> <noDeliver>0</noDeliver> <showBallot>1</showBallot> <unoSchool>00000000-0000-1000-0000-000000005584</unoSchool> <schoolLevelRefId>00000000-0000-1000-0000-000000000016</schoolLevelRefId> <studentGroupAssociationRefId>00000016-0000-1000-0000-000005413820</studentGroupAssociationRefId> <sessionCode>2016-2017</sessionCode> <addressList> <address addressType="Physical"> <street> <line1></line1> </street> <city></city> <neighborhood></neighborhood> <postalCode></postalCode> <buildingSiteNumber></buildingSiteNumber> <buildingSiteInside></buildingSiteInside> <county>APIZACO</county> <stateProvince>Tlaxcala</stateProvince> <countyRefId>00000000-0000-1000-0000-000000011543</countyRefId> <dateUpdated>2016-06-15 15:04:38</dateUpdated> </address> </addressList> <phoneNumberList></phoneNumberList> <schoolEmailList></schoolEmailList> <country>MX</country> <unoSchool>00000000-0000-1000-0000-000000005584</unoSchool> <sessionCode>2016-2017</sessionCode> <empresaRefId>00000000-0000-1000-0000-000000000001</empresaRefId> <schoolLevelId>00000000-0000-1000-0000-000000000016</schoolLevelId> <studentGroupAssociationId>00000016-0000-1000-0000-000005413820</studentGroupAssociationId> <roles> <rol param="001">Alumno</rol> </roles> </unoStudent> |
Ejemplo llamada unoStaff | https://homol.uno-internacional.com/sif/unoUser;contextId={"userId":"barbara.sanchez.sm"} |
Respuesta | <unoStaff refId="00000000-0000-1000-0000-000001400596"> <name> <firstName>BARBARA</firstName> <middleName>SANCHEZ</middleName> <lastName>HERNANDEZ</lastName> </name> <birthDate>1970-12-18</birthDate> <sex>Female</sex> <userId>barbara.sanchez.sm</userId> <language>ES</language> <zona_horaria_id>16</zona_horaria_id> <curp>SAHB701218MMC</curp> <creationInMillis>1348688959292</creationInMillis> <updateChildrenInMillis>1348688959292</updateChildrenInMillis> <createPersonLoginId>170933</createPersonLoginId> <updatePersonLoginId>170933</updatePersonLoginId> <personDetailsId>1392721</personDetailsId> <countryId>165</countryId> <passwordChanged>1</passwordChanged> <datePasswordUpdated></datePasswordUpdated> <personCode></personCode> <addressList> <address addressType="Physical"> <street> <line1>BERTHA </line1> </street> <city>TOLUCA</city> <neighborhood>UNIDAD VICTORIA</neighborhood> <postalCode>50190</postalCode> <buildingSiteNumber>103</buildingSiteNumber> <buildingSiteInside>103</buildingSiteInside> <county>TOLUCA</county> <stateProvince>Estado de México</stateProvince> <countyRefId>00000000-0000-1000-0000-000000011235</countyRefId> <dateUpdated>2015-06-23 04:43:39</dateUpdated> </address> </addressList> <phoneNumberList> <phoneNumber phoneNumberType="Home"> <number>7223723845</number> </phoneNumber> <phoneNumber phoneNumberType="Mobile"> <number>7222120500</number> </phoneNumber> </phoneNumberList> <schoolEmailList> <schoolEmail> <email>coord.sec.met@casitaiedis.com</email> </schoolEmail> </schoolEmailList> <country>MX</country> <unoSchool>00000000-0000-1000-0000-000000001135</unoSchool> <schoolLevelRefId>00000000-0000-1000-0000-000000000018</schoolLevelRefId> <staffSectionAssociationId>00000018-2020-1000-0000-000001400596</staffSectionAssociationId> <empresaRefId>00000000-0000-1000-0000-000000000001</empresaRefId> <tenantId>966</tenantId> <roles> <rol param="111">Administrador</rol> <rol param="006">Coordinador</rol> <rol param="INV">Invitado</rol> <rol param="005">Subdirector</rol> <rol param="004">Director</rol> <rol param="008">Asistente</rol> </roles> <unoSchoolList> <unoSchool refId="00000000-0000-1000-0000-000000001135"> <schoolLevel refId="00000000-0000-1000-0000-000000000018"> <roles> <rol param="111">Administrador</rol> <rol param="004">Director</rol> <rol param="005">Subdirector</rol> <rol param="006">Coordinador</rol> <rol param="008">Asistente</rol> <tenantId>966</tenantId> </roles> </schoolLevel> </unoSchool> </unoSchoolList> </unoStaff> |
Ejemplo llamada ParentGuardian | https://homol.uno-internacional.com/sif/unoUser;contextId={"userId":"pkeyindnp@live.com"} |
Respuesta | <parentGuardian refId="00000000-0000-1000-0000-000004874640"> <name> <firstName>PAMELA</firstName> <middleName>DIAZ</middleName> <lastName>NAVARRO</lastName> </name> <birthDate>1999-11-30</birthDate> <sex>Not selected</sex> <userId>pkeyindnp@live.com</userId> <language></language> <zona_horaria_id>16</zona_horaria_id> <curp></curp> <creationInMillis>0</creationInMillis> <updateChildrenInMillis>0</updateChildrenInMillis> <createPersonLoginId>0</createPersonLoginId> <updatePersonLoginId>0</updatePersonLoginId> <personDetailsId></personDetailsId> <countryId>165</countryId> <passwordChanged>0</passwordChanged> <datePasswordUpdated></datePasswordUpdated> <personCode></personCode> <addressList></addressList> <phoneNumberList> <phoneNumber phoneNumberType="Home"> <number>5531454026</number> </phoneNumber> </phoneNumberList> <schoolEmailList> <schoolEmail> <email>pkeyindnp@live.com</email> </schoolEmail> </schoolEmailList> <country>MX</country> <contactRelationshipList> <contactRelationshipId refId="04874640-0000-1000-0000-000005222013"> <relationshipToLearnerType>Mother</relationshipToLearnerType> <unoStudentRefId>00000000-0000-1000-0000-000005222013</unoStudentRefId> </contactRelationshipId> </contactRelationshipList> <unoSchool>00000000-0000-1000-0000-000000001135</unoSchool> <empresaRefId>00000000-0000-1000-0000-000000000001</empresaRefId> <tenantId>966</tenantId> <roles> <rol param="002">Familiar</rol> </roles> <unoSchoolList></unoSchoolList> </parentGuardian> |
¿Quién lo utiliza y cómo? |
|