GET api/oficinavirtual/CartolaHistorico?EmpresaID={EmpresaID}&ServicioID={ServicioID}
Permite obtener el listado histórico de consumos de un cliente.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpresaID | integer |
Required |
|
| ServicioID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ConsultaHistoricoPagosResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status |
None. |
|
| Pagos | Collection of AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Pago |
None. |
Response Formats
application/json, text/json
Sample:
{
"statusField": {
"isOKField": true,
"mensajeField": "sample string 2",
"tokenSoporteField": "sample string 3",
"PropertyChanged": null
},
"pagosField": [
{
"fechaPagoField": "sample string 1",
"descripcionField": "sample string 2",
"montoField": 3,
"PropertyChanged": null
},
{
"fechaPagoField": "sample string 1",
"descripcionField": "sample string 2",
"montoField": 3,
"PropertyChanged": null
}
],
"PropertyChanged": null
}
application/xml, text/xml
Sample:
<ConsultaHistoricoPagosResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSComercial">
<PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<pagosField>
<Pago>
<PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<descripcionField>sample string 2</descripcionField>
<fechaPagoField>sample string 1</fechaPagoField>
<montoField>3</montoField>
</Pago>
<Pago>
<PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<descripcionField>sample string 2</descripcionField>
<fechaPagoField>sample string 1</fechaPagoField>
<montoField>3</montoField>
</Pago>
</pagosField>
<statusField>
<PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<isOKField>true</isOKField>
<mensajeField>sample string 2</mensajeField>
<tokenSoporteField>sample string 3</tokenSoporteField>
</statusField>
</ConsultaHistoricoPagosResult>