ServpubWS

<back to all web services

DatosHNValidaPago

Requires Authentication
The following routes are available for this service:
All Verbs/Recaudo/ValidaPago
DatosHNValidaPago Parameters:
NameParameterData TypeRequiredDescription
DatosBancoqueryDatosBancoNo
ClavequerystringNo
MontoquerydoubleNo
FechaquerystringNo
DatosBanco Parameters:
NameParameterData TypeRequiredDescription
BancoformstringNo
AgenciaformstringNo
SucursalformstringNo
UsuarioformstringNo
TerminalformstringNo
DatosHNValidaPagoResponse Parameters:
NameParameterData TypeRequiredDescription
ReferenciaPagoformstringNo
CheckSumformstringNo
DatosFacturaformDatosHNFacturaNo
DatosHNResponse Parameters:
NameParameterData TypeRequiredDescription
ResultadoformboolNo
CodigoErrorformintNo
MensajeformstringNo
DatosHNFactura Parameters:
NameParameterData TypeRequiredDescription
reactivoformstringNo
ClaveprimariaformstringNo
contadorformstringNo
ClavesecundariaformstringNo
nombreformstringNo
direccionformstringNo
multiploformdoubleNo
tarifaformstringNo
FechaactualformstringNo
FechaanteriorformstringNo
LectactualformstringNo
LectanteriorformstringNo
consumoformstringNo
DiasfacturadosformstringNo
CobroenergiaformdoubleNo
CobrointeresformdoubleNo
CobroalumbradoformdoubleNo
OtrosDebcredformdoubleNo
subsidioformdoubleNo
SaldoMesantformdoubleNo
VlrrectificacionformdoubleNo
pagosformdoubleNo
FechaemisionformstringNo
lecturaAvisoformstringNo
NumavisoformstringNo
UltMesfacturadoformstringNo
FactorpotenciaformstringNo
CargodemandaformdoubleNo
CargoreactivoformdoubleNo
CargovoltajeformdoubleNo
CargoISVformdoubleNo
TotalcalculadoformdoubleNo
SubtotalsinISVformdoubleNo
CargosPeriodoformdoubleNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Recaudo/ValidaPago HTTP/1.1 
Host: recaudoenee.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"DatosBanco":{"Banco":"String","Agencia":"String","Sucursal":"String","Usuario":"String","Terminal":"String"},"Clave":"String","Monto":0,"Fecha":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ReferenciaPago":"String","CheckSum":"String","DatosFactura":{"reactivo":"String","Claveprimaria":"String","contador":"String","Clavesecundaria":"String","nombre":"String","direccion":"String","multiplo":0,"tarifa":"String","Fechaactual":"String","Fechaanterior":"String","Lectactual":"String","Lectanterior":"String","consumo":"String","Diasfacturados":"String","Cobroenergia":0,"Cobrointeres":0,"Cobroalumbrado":0,"OtrosDebcred":0,"subsidio":0,"SaldoMesant":0,"Vlrrectificacion":0,"pagos":0,"Fechaemision":"String","lecturaAviso":"String","Numaviso":"String","UltMesfacturado":"String","Factorpotencia":"String","Cargodemanda":0,"Cargoreactivo":0,"Cargovoltaje":0,"CargoISV":0,"Totalcalculado":0,"SubtotalsinISV":0,"CargosPeriodo":0},"Resultado":false,"CodigoError":0,"Mensaje":"String"}