ServpubWS

<back to all web services

DatosHNConsulta

Requires Authentication
The following routes are available for this service:
All Verbs/Recaudo/Consulta
DatosHNConsulta Parameters:
NameParameterData TypeRequiredDescription
DatosBancoqueryDatosBancoNo
ClavequerystringNo
DatosBanco Parameters:
NameParameterData TypeRequiredDescription
BancoformstringNo
AgenciaformstringNo
SucursalformstringNo
UsuarioformstringNo
TerminalformstringNo
DatosHNConsultaResponse Parameters:
NameParameterData TypeRequiredDescription
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/Consulta 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"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"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"}