Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Este servicio será utilizado por las aplicaciones que necesiten consultar datos de usuarios con la BDCcrear un Environment para operaciones SIF.


Situación actual

 

Descripción
Consulta un usuario por su login, regresando la entidad correspondiente
Crea un Environment para realizar operaciones SIF.
Referencia SIFExtensión de SIF 3.0.1
Entidad BDC
Persona
N/A
Entidad SIF
UnoStudent, ParentGuardian, UnoStaff.
Environment
Tipo de Petición
GETParámetros o campos
Campos
Descripción
Reglas de negocio
userId
  • Login del usuario que se consulta 
  • Obligatorio
  • En caso de que no se indique el parámetro entrega el siguiente mesaje:
    • <code>400</code>
      <message>Debe especificar login para consultar.</message>

  • En caso de no ser válido el login del usuario entrega el siguiente mensaje:
    • <code>404</code>
      <message>No se encontraron datos con los parámetros especificados.</message>
POST

Datos adicionales:

applicationKey:                       SIS

palabra secreta:                       s4nt1ll4n4R4

fecha y hora de la petición:     2014-06-06T09:30:02

Request Headers

Authorization:

SIF_HMACSHA256 U0lTOlpqWXhOR0kwWkdVMk56azVZMll6TURVNU9HTmxaV0kwTVRrMU1ESmhObVl3TWpReFlUQmlNREF4TVdSa1ltWmhZVFkzTmpKa01qRTRZelV5WWpVME9RPT0=

timestamp:

2014-06-06T09:30:02

Ejemplo de llamada o de formulario

http://desenv.uno-internacional.com/sif/unoUser;contextId={"userId":"valeria.pineiro"}

XLM Payload<environment> <solutionId>bdcDES</solutionId> <authenticationMethod>SIF_HMACSHA256</authenticationMethod> <instanceId></instanceId> <userToken></userToken> <consumerName>SIF_BDC</consumerName> <applicationInfo> <applicationKey>SIS</applicationKey> <supportedInfrastructureVersion>3.0</supportedInfrastructureVersion> <supportedDataModel>SIF-US</supportedDataModel> <supportedDataModelVersion>3.0</supportedDataModelVersion> <transport>REST</transport> <applicationProduct> <vendorName>santillana</vendorName> <productName>UNOi_SIS</productName> <productVersion>1.0</productVersion> </applicationProduct> </applicationInfo> </environment>
Respuesta
<unoStudent refId

<environment id="00000000-0000-1000-0000-

000001661572" > 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>ADP4A.14</studentId> Para unoStudent Clave de alumno. Otro caso no se indica.
<name>
<firstName>VALERIA MICHELLE</firstName> Nombre
<middleName>PIÑEIRO</middleName>  Primer apellido
<lastName>ARENAS</lastName> Segundo apellido
</name>
<birthDate>2002-02-18</birthDate>  Fecha de nacimiento
<sex>Female</sex> (Male, Female, Not selected)
<userId>valeria.pineiro</userId> Username
<language>ES</language> Idioma
<personRefId>00000000-0000-1000-0000-000001003674</personRefId> persona.persona_id (Identificador único en la BDC)
<curp>PIAV020218MDFXRLB2</curp> CURP
<addressList>
<address addressType="Physical"> Tipo de dirección (Physical, Mailing, Shipping)
<street>
<line1>CALLE 8 DE MAYO </line1> Calle
</street>
<city>MEXICO</city> Ciudad
<neighborhood>PLANETARIO LINDAVISTA</neighborhood> Colonia
<postalCode>07300</postalCode> Código postal
<buildingSiteNumber>3</buildingSiteNumber> Número
<county>GUSTAVO A. MADERO</county> Municipio
<stateProvince>Ciudad de México</stateProvince> Estado
<countyRefId>00000000-0000-1000-0000-000000011292</countyRefId>  municipio.municipio_id (Identificador único en la BDC)
</address>
</addressList>
<phoneNumberList></phoneNumberList>  Listado de teléfonos
<schoolEmailList></schoolEmailList>
<country>MX</country>  País
<unoSchool>00000000-0000-1000-0000-000000001028</unoSchool>  Listado de correos electrónicos
<sessionCode>2013-2014</sessionCode>  Ciclo escolar
<roles>
<rol param="001">Alumno</rol> parámetro del rol y descripción del rol. Ver maestro de roles.
</roles>
</unoStudent>¿Quién lo utiliza y cómo? 

000856882536" type="DIRECT" > <sessionToken>U0lT</sessionToken> <solutionId>bdcDES</solutionId> <instanceId></instanceId> <defaultZone id="BDC"></defaultZone> <authenticationMethod>SIF_HMACSHA256</authenticationMethod> <userToken></userToken> <consumerName>SIF_BDC</consumerName> <applicationInfo> <applicationKey>SIS</applicationKey> <supportedInfrastructureVersion>3.0</supportedInfrastructureVersion> <supportedDataModel>SIF-US</supportedDataModel> <supportedDataModelVersion>3.0</supportedDataModelVersion> <transport>REST</transport> <applicationProduct> <vendorName></vendorName> <productName>UNOi_SIS</productName> <productVersion>1.0</productVersion> </applicationProduct> </applicationInfo> <provisionedZones> <provisionedZone id="BDC" > <services> <service name="unoStudent" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="country" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="empresa" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="schoolLevel" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="stateProvince" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="county" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="grade" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="term" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="shift" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="group" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="rol" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="session" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/schoolLevel" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/grade" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/group" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/session" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/shift" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/unoStudent" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/studentGroupAssociation" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/unoStaff" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/staffSectionAssociation" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/parentGuardian" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoSchool/contactRelationship" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoStudent/contactRelationship" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="parentGuardian" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="unoStaff" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="contactRelationship" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="studentGroupAssociation" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> <service name="staffSectionAssociation" contextId="default" > <rights> <right type="QUERY">APPROVED</right> <right type="CREATE">APPROVED</right> <right type="UPDATE">APPROVED</right> <right type="DELETE">REJECTED</right> <right type="PROVIDE">REJECTED</right> <right type="SUBSCRIBE">REJECTED</right> <right type="ADMIN">REJECTED</right> </rights> </service> </services> </provisionedZone> </provisionedZones> </environment>

¿Quién lo utiliza y cómo?

 

 

<environment>

  <solutionId>bdcDES</solutionId>

  <authenticationMethod>SIF_HMACSHA256</authenticationMethod>

  <instanceId></instanceId>

  <userToken></userToken>

  <consumerName>SIF_BDC</consumerName>

  <applicationInfo>

    <applicationKey>SIS</applicationKey>

    <supportedInfrastructureVersion>3.0</supportedInfrastructureVersion>

    <supportedDataModel>SIF-US</supportedDataModel>

    <supportedDataModelVersion>3.0</supportedDataModelVersion>

    <transport>REST</transport>

    <applicationProduct>

      <vendorName>santillana</vendorName>

      <productName>UNOi_SIS</productName>

      <productVersion>1.0</productVersion>

    </applicationProduct>

  </applicationInfo>

</environment>