Consulta de cédulas profesionales en el Registro Nacional de Profesionistas
Con idCedula
api/v1/SEP/search-professional-license/{idcedula}
Este servicio regresa información respecto al idceludula
URL
bash
GET /api/v1/SEP/search-professional-license/{idcedula}
Headers
Authorization: Bearer {token}
Accept: application/json
URL Params
txt
None
Data Params
txt
None
Respuestas Posibles
Success
Code: 200 Response Aceptada
Content:
json
{
"status": true,
"data": {
"idCedula": "12812181",
"nombre": "MIGUEL ANGEL",
"apellidoMaterno": "POZOS",
"apellidoPaterno": "MUÑOZ",
"genero": "HOMBRE",
"anioRegistro": 2022,
"institucion": "INSTITUTO TECNOLÓGICO DE APIZACO",
"tipo": "C1",
"titulo": "MAESTRÍA EN SISTEMAS COMPUTACIONALES"
}
}
Unauthorized
Code: 401 Unauthorized
Content:
json
{
"message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request GET 'https://bridge.paladins.mx/api/v1/SEP/search-professional-license/12812181' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer zbSSVOcamRzUmgx6OD8FS3N3XvB3vhhViqk3iuK6'
Con nombre y apellidos
api/v1/SEP/search-professional-license
Este servicio regresa información respecto a los parametros (nombre, paterno y materno)
URL
bash
POST /api/v1/SEP/search-professional-license
Headers
Authorization: Bearer {token}
Accept: application/json
URL Params
txt
None
Data Params
Input | Type | Required | Values acceptable | Default |
---|---|---|---|---|
name | string | true | string | |
paterno | string | true | string | |
materno | string | true | string |
Respuestas Posibles
Success
Code: 200 Response Aceptada
Content:
json
{
"status": true,
"data": [
{
"idCedula": "12812181",
"nombre": "MIGUEL ANGEL",
"apellidoMaterno": "POZOS",
"apellidoPaterno": "MUÑOZ",
"genero": "HOMBRE",
"anioRegistro": 2022,
"institucion": "INSTITUTO TECNOLÓGICO DE APIZACO",
"tipo": "C1",
"titulo": "MAESTRÍA EN SISTEMAS COMPUTACIONALES"
},
{
"idCedula": "11714167",
"nombre": "MIGUEL ANGEL",
"apellidoMaterno": "POZOS",
"apellidoPaterno": "MUÑOZ",
"genero": "HOMBRE",
"anioRegistro": 2019,
"institucion": "INSTITUTO TECNOLÓGICO DE APIZACO",
"tipo": "C1",
"titulo": "LICENCIATURA EN INGENIERÍA EN TECNOLOGÍAS DE LA INFORMACIÓN Y COMUNICACIONES"
}
]
}
Unauthorized
Code: 401 Unauthorized
Content:
json
{
"message": "Unauthenticated."
}
Unprocessable Content
Code: 422 Unprocessable Content
json
{
"errors": {
"name": ["The name field is required."],
"paterno": ["The paterno field is required."],
"materno": ["The materno field is required."]
}
}
Ejemplo con curl
bash
curl --location --request POST 'https://bridge.paladins.mx/api/v1/SEP/search-professional-license' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer zbSSVOcamRzUmgx6OD8FS3N3XvB3vhhViqk3iuK6' \
--form 'name="MIGUEL ANGEL"' \
--form 'paterno="MUÑOZ"' \
--form 'materno="POZOS"'