Alumnos (students) v.0

Métodos relacionados con ALUMNOS

perform: searchStudent

GET https://xxxx/app/apilead.php

Permite buscar alumnos matriculado en el centro y nos devuelve un array con los datos mínimos

Request Body

Name
Type
Description

student_name

string

{ Nombre del alumno }

student_lastname

string

{ Apellido del alumno }

student_email

string

{ Email del alumno }

student_phone

string

{ Télefono del alumno }

perform*

string

searchStudent

apikey*

string

{ APIKEY }

{
    "status": "success",
    "data": [
        {
            "student_id": "1",
            "student_name": "Student",
            "student_phone": null,
            "student_lastname": "Classlife",
            "student_email": "student@classlife.es"
        }, ...
    ]
}

perform: getStudent

GET https://xxxx/app/apilead.php

Request Body

Name
Type
Description

student_id*

string

Identificador de alumno ID

perform*

string

getStudent

apikey*

string

{ APIKEY }

{
    "status": "success",
    "data": [
        {
            "student_id": "1",
            "student_name": "Student",
            "student_phone": null,
            "student_lastname": "Classlife",
            "student_email": "student@classlife.es"
        }, ...
    ]
}

perform: updateStudent

POST https://xxxx/app/apilead.php

Esta operación actualiza los datos principales de un alumno

Request Body

Name
Type
Description

student_id*

string

Identificador de alumno ID

perform*

string

updateStudent

apikey*

string

{ APIKEY }

name

String

Nombre del alumno

lastname

String

Primer apellido del alumno

lastnameend

String

Segundo apellido del alumno

email

String

Email principal del alumno

phone

String

Teléfono principal el alumno

{
    "status": "success",
    "data": [
        {
            "student_id": "1",
            "student_name": "Student",
            "student_phone": null,
            "student_lastname": "Classlife",
            "student_email": "student@classlife.es"
        }, ...
    ]
}

perform: removeStudent

POST https://xxxx/app/apilead.php

Esta operación realiza un softdelete (borrado lógico) de un alumno. El alumno estará en la "papelera" y se puede recuperar con permisos administrativos.

Request Body

Name
Type
Description

student_id*

string

Identificador de alumno ID

perform*

string

updateStudent

apikey*

string

{ APIKEY }

name

String

Nombre del alumno

{
    "status": "success",
    "data": [
        {
            "student_id": "1",
            "student_name": "Student",
            "student_phone": null,
            "student_lastname": "Classlife",
            "student_email": "student@classlife.es"
        }, ...
    ]
}

Última actualización