Skip to main content

Endpoint

GET /Estado/VerEstado?identificador={identificador}

Query Parameters

identificador
string
required
The unique identifier of the state to retrieve

Request Example

GET /Estado/VerEstado?identificador=estado1

Response

Resultado
boolean
Indicates whether the state was found
Mensaje
string
A message describing the result of the operation
idestado
integer
The ID of the state
descripcion
string
The description of the state

Response Examples

{
  "Resultado": true,
  "Mensaje": "Estado encontrado",
  "idestado": 1,
  "descripcion": "Pendiente"
}

Status Codes

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

Source Reference

Controller: EstadoController.cs:31-81

Build docs developers (and LLMs) love