...
Este servicio será utilizado por las aplicaciones que necesiten actualizar insertar datos de alumnos con la BDC.
Situación actual
Descripción | Inserta |
un Alumno. | |
Referencia SIF | Extensión de SIF 3.0.1 |
Entidad BDC | Alumno |
Entidad SIF | Extensión de la entidad k12student (CEDS_K12.xsd). |
Tipo de Petición | POST |
- UUID del Alumno que se consulta
- Obligatorio
<error refId="00000000-0000-1000-0000-000179262049">
<code>404</code>
<message>No se encontraron datos con los parámetros especificados.</message>
Ejemplo de llamada o de formulario | http://desenv.uno-internacional.com/sif/unoStudent/00000000-0000-1000-0000-000004036006 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parámetros en XML payload |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ejemplo XML Payload | <unoStudent refId=" |
"> |
<studentId>JMAV</studentId> Clave del alumno
|
<firstName>Alumno</firstName> |
<middleName>Prueba</middleName> |
<lastName>Sif</lastName> |
|
<birthDate>2014- |
06- |
06</birthDate> |
|
<userId>joelmaximiliano.aguilar.9</userId> Username
<password>dmFsZXJpYS5w</password> Contraseña
<language>ES</language> Lenguaje
<personRefId>00000000-0000-1000-0000-000003149709</personRefId> persona.persona_id (Identificador único en la BDC)
<curp></curp> Curp
<addressList> Lista de domicilios
|
|
<line1>CALLE 8 DE MAYO</line1> |
|
<city>MEXICO</city> |
<neighborhood>SM 223 MZA 6 LTE 15..<
|
<postalCode>07300</postalCode> |
<buildingSiteNumber>2</buildingSiteNumber> |
<county>GUSTAVO A MADERO</county> |
<stateProvince>Distrito Federal</stateProvince> |
|
000000011302</countyRefId> |
|
|
|
|
|
|
<schoolEmailList> |
<email>new.student.1@correo.com</email> |
|
Respuesta |
Puede actualizar varios:
<unoStudentList>
<unoStudent refId="00000000-0000-1000-0000-000001696160">
<studentId />
<name>
<firstName>TANIA</firstName>
<middleName>AGUILAR</middleName>
<lastName>RUBIO</lastName>
</name>
<birthDate>2000-03-15</birthDate>
<sex>Female</sex>
<userId>tania.aguilar.sm</userId>
<password>dLgseXdpfS8b</password>
<personRefId>00000000-0000-1000-0000-000001003674</personRefId>
<addressList>
<address addressType="Physical">
<street>
<line1>Calle tres</line1>
</street>
<city />
<neighborhood />
<postalCode />
<buildingSiteNumber>0</buildingSiteNumber>
<county>METEPEC</county>
<stateProvince>Estado de México</stateProvince>
<countyRefId>00000000-0000-1000-0000-000000011121</countyRefId>
</address>
</addressList>
<phoneNumberList />
<schoolEmailList />
</unoStudent>
<unoStudent refId="00000000-0000-1000-0000-000001696161">
<studentId>EICJ000526HMCSSSA6</studentId>
<name>
<firstName>JESÚS</firstName>
<middleName>ESPINOSA DE LOS MONTEROS</middleName>
<lastName>CASTAÑEDA</lastName>
</name>
<birthDate>2000-05-26</birthDate>
<sex>Male</sex>
<userId>jesus.espinosa.sm</userId>
<password>dldjGXdkf8HJhfb</password>
<personRefId>00000000-0000-1000-0000-000001004648</personRefId>
<addressList>
<address addressType="Physical">
<street>
<line1 />
</street>
<city />
<neighborhood />
<postalCode />
<buildingSiteNumber>0</buildingSiteNumber>
<county>METEPEC</county>
<stateProvince>Estado de México</stateProvince>
<countyRefId>00000000-0000-1000-0000-000000011121</countyRefId>
</address>
</addressList>
<phoneNumberList />
<schoolEmailList />
</unoStudent>
<unoStudent refId="00000000-0000-1000-0000-000001696162">
<studentId>EAGB001219MMCSRRA9</studentId>
<name>
<firstName>BRENDA MONSERRAT</firstName>
<middleName>ESTRADA</middleName>
<lastName>GRAJALES</lastName>
</name>
<birthDate>2000-12-19</birthDate>
<sex>Female</sex>
<userId>brenda.estrada.sm</userId>
<password>d9Hnsjf7pdfK</password>
<personRefId>00000000-0000-1000-0000-000001002836</personRefId>
<exitDate>2013-08-23</exitDate>
<addressList>
<address addressType="Physical">
<street>
<line1 />
</street>
<city />
<neighborhood />
<postalCode />
<buildingSiteNumber>0</buildingSiteNumber>
<county>METEPEC</county>
<stateProvince>Estado de México</stateProvince>
<countyRefId>00000000-0000-1000-0000-000000011121</countyRefId>
</address>
</addressList>
<phoneNumberList />
<schoolEmailList />
</unoStudent>
</unoStudentList>
<updates>
<update
<createResponse> |
statusCode="200" />
<update id="00000000-0000-1000-0000-000001696161
000002314849" |
statusCode="200" />
</ |
creates> |
createResponse> |