Retrieves information about a specific missionary by their identifier.
Query Parameters
The unique identifier for the missionary to retrieve
Request Example
GET /Misionero/VerMisionero?identificador=123456
Response
Indicates whether the missionary was found
A message with additional information about the operation result
The name of the missionary
The email address of the missionary
The phone number of the missionary
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
Missionary was found and information returned successfully
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
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
Not Found
"No se encontraron datos"
{
"mensaje": "Misionero no encontrado"
}
General Error
"Error al buscar el Misionero: [exception message]"