Skip to main content

Endpoint

POST /Talones/VerTalones?identificador={identificador}

Query Parameters

identificador
string
required
The unique identifier of the voucher to retrieve

Request Example

POST /Talones/VerTalones?identificador=talon123

Response

Resultado
boolean
Indicates whether the voucher was found
Mensaje
string
A message describing the result of the operation
idclave
integer
The ID of the donation key associated with the voucher
idestado
integer
The state ID (always returns 1)
idmisionero
integer
The ID of the missionary associated with the voucher
idedicion
integer
The ID of the edition associated with the voucher

Response Examples

{
  "Resultado": true,
  "Mensaje": "Talón encontrado",
  "idclave": 1,
  "idestado": 1,
  "idmisionero": 10,
  "idedicion": 2
}

Status Codes

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

Source Reference

Controller: TalonesController.cs:45-98

Build docs developers (and LLMs) love