Skip to main content

Endpoint

GET /Claves/VerClaveDonativo?identificador={identificador}

Query Parameters

identificador
string
required
The unique identifier of the donation key to retrieve

Request Example

GET /Claves/VerClaveDonativo?identificador=X

Response

Resultado
boolean
Indicates whether the donation key was found
Mensaje
string
A message describing the result of the operation
idclave
integer
The ID of the donation key
codigo
string
The code of the donation key
cantidad
decimal
The amount associated with the donation key

Response Examples

{
  "Resultado": true,
  "Mensaje": "Clave de donativo encontrada",
  "idclave": 1,
  "codigo": "X",
  "cantidad": 10.00
}

Status Codes

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

Source Reference

Controller: ClavesController.cs:46-98

Build docs developers (and LLMs) love