Skip to main content

Endpoint

POST /Admin/VerAdministrador?identificador={identificador}

Query Parameters

identificador
string
required
The unique identifier of the administrator to retrieve

Request Example

POST /Admin/VerAdministrador?identificador=admin123

Response

Resultado
boolean
Indicates whether the administrator was found
Mensaje
string
A message describing the result of the operation
idadmin
string
The ID of the administrator
nombre
string
The name of the administrator
correo
string
The email address of the administrator
telefono
string
The phone number of the administrator

Response Examples

{
  "Resultado": true,
  "Mensaje": "Administrador encontrado",
  "idadmin": "admin123",
  "nombre": "Juan Pérez",
  "correo": "[email protected]",
  "telefono": "5551234567"
}

Status Codes

  • 200 OK - Administrator found and returned successfully
  • 400 Bad Request - Invalid request, missing identifier, or service error
  • 404 Not Found - Administrator not found or no data available

Source Reference

Controller: AdminController.cs:30-84

Build docs developers (and LLMs) love