Skip to main content
GET
/
Misionero
/
VerMisionero
View Missionary
curl --request GET \
  --url https://api.example.com/Misionero/VerMisionero
{
  "Resultado": true,
  "Mensaje": "Misionero encontrado exitosamente",
  "nombre": "Juan Perez",
  "correo": "[email protected]",
  "telefono": "+1234567890",
  "idadmin": 1
}
Retrieves information about a specific missionary by their identifier.

Query Parameters

identificador
string
required
The unique identifier for the missionary to retrieve

Request Example

GET /Misionero/VerMisionero?identificador=123456

Response

Resultado
boolean
Indicates whether the missionary was found
Mensaje
string
A message with additional information about the operation result
nombre
string
The name of the missionary
correo
string
The email address of the missionary
telefono
string
The phone number of the missionary
idadmin
integer
The ID of the administrator associated with this missionary

Success Response

{
  "Resultado": true,
  "Mensaje": "Misionero encontrado exitosamente",
  "nombre": "Juan Perez",
  "correo": "[email protected]",
  "telefono": "+1234567890",
  "idadmin": 1
}

Status Codes

200
Success
Missionary was found and information returned successfully
400
Error
Bad request - returned in the following cases:
  • The identificador parameter is missing or empty
  • No response received from the service
  • An error occurred during the search operation
404
Not Found
Missionary not found - returned when:
  • No data was found for the given identifier
  • The missionary exists but the Resultado flag is false

Error Responses

Missing Identifier

"Proporcione datos al identificador"

Service Error

"Error: [error message]"

Not Found

"No se encontraron datos"
{
  "mensaje": "Misionero no encontrado"
}

General Error

"Error al buscar el Misionero: [exception message]"

Build docs developers (and LLMs) love