POST api/Contador/cambia/lectura?intIdContador={intIdContador}&intDato={intDato}&strFechaDesde={strFechaDesde}&strFechaHasta={strFechaHasta}&booInsertaLecturasDiarias={booInsertaLecturasDiarias}&intTrimestre={intTrimestre}&intEjercicio={intEjercicio}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| intIdContador | integer |
Required |
|
| intDato | integer |
Required |
|
| strFechaDesde | string |
Required |
|
| strFechaHasta | string |
Required |
|
| booInsertaLecturasDiarias | boolean |
Required |
|
| intTrimestre | integer |
Required |
|
| intEjercicio | integer |
Required |
Body Parameters
LecturaLinea| Name | Description | Type | Additional information |
|---|---|---|---|
| intId | integer |
None. |
|
| intIdLectura | integer |
None. |
|
| intIdRutaLinea | integer |
None. |
|
| intIdContribuyente | integer |
None. |
|
| decValor | decimal number |
None. |
|
| decValorAnt1 | decimal number |
None. |
|
| decValorAnt2 | decimal number |
None. |
|
| datFechaHora | date |
None. |
|
| strContribuyenteNombre | string |
None. |
|
| strContribuyenteApellidos | string |
None. |
|
| strContribuyenteDni | string |
None. |
|
| strContribuyenteDireccionCompleta | string |
None. |
|
| strContribuyenteCp | string |
None. |
|
| strContribuyentePoblacion | string |
None. |
|
| strContribuyenteProvincia | string |
None. |
|
| strContribuyenteCalle | string |
None. |
|
| strContribuyenteNumero | string |
None. |
|
| strContribuyenteBloque | string |
None. |
|
| strContribuyenteEscalera | string |
None. |
|
| strContribuyentePiso | string |
None. |
|
| strContribuyentePuerta | string |
None. |
|
| strContribuyenteReferencia | string |
None. |
|
| strContribuyenteObservaciones | string |
None. |
|
| strContribuyenteTelefono | string |
None. |
|
| strContribuyenteUso | string |
None. |
|
| booLeido | boolean |
None. |
|
| strObservaciones | string |
None. |
|
| intIdIncidencia | integer |
None. |
|
| strNombreIncidencia | string |
None. |
|
| strNContador | string |
None. |
|
| intCodigoExt | integer |
None. |
|
| decConsumo | decimal number |
None. |
|
| decConsumoEstimado | decimal number |
None. |
|
| strClima | string |
None. |
|
| strGpsLatitud | string |
None. |
|
| strGpsLongitud | string |
None. |
|
| strGpsDireccion | string |
None. |
|
| intContadorId | integer |
None. |
|
| intContadorIdPadre | integer |
None. |
|
| strTipoContador | string |
None. |
|
| strNombreContador | string |
None. |
|
| strFechaHora | string |
None. |
|
| datFechaLecturaAnterior | date |
None. |
|
| strDiasLecturaAnterior | string |
None. |
|
| intTrimestre | integer |
None. |
|
| intEjercicio | integer |
None. |
|
| intCodExtContadores | integer |
None. |
|
| intCodExtContribuyentes | integer |
None. |
|
| strImagenBase64 | string |
None. |
|
| intBooImagen | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"intId": 1,
"intIdLectura": 2,
"intIdRutaLinea": 3,
"intIdContribuyente": 4,
"decValor": 5.0,
"decValorAnt1": 6.0,
"decValorAnt2": 7.0,
"datFechaHora": "2026-08-10T00:21:36.7368626+02:00",
"strContribuyenteNombre": "sample string 9",
"strContribuyenteApellidos": "sample string 10",
"strContribuyenteDni": "sample string 11",
"strContribuyenteDireccionCompleta": "sample string 12",
"strContribuyenteCp": "sample string 13",
"strContribuyentePoblacion": "sample string 14",
"strContribuyenteProvincia": "sample string 15",
"strContribuyenteCalle": "sample string 16",
"strContribuyenteNumero": "sample string 17",
"strContribuyenteBloque": "sample string 18",
"strContribuyenteEscalera": "sample string 19",
"strContribuyentePiso": "sample string 20",
"strContribuyentePuerta": "sample string 21",
"strContribuyenteReferencia": "sample string 22",
"strContribuyenteObservaciones": "sample string 23",
"strContribuyenteTelefono": "sample string 24",
"strContribuyenteUso": "sample string 25",
"booLeido": true,
"strObservaciones": "sample string 27",
"intIdIncidencia": 28,
"strNombreIncidencia": "sample string 29",
"strNContador": "sample string 30",
"intCodigoExt": 31,
"decConsumo": 32.0,
"decConsumoEstimado": 33.0,
"strClima": "sample string 34",
"strGpsLatitud": "sample string 35",
"strGpsLongitud": "sample string 36",
"strGpsDireccion": "sample string 37",
"intContadorId": 38,
"intContadorIdPadre": 39,
"strTipoContador": "sample string 40",
"strNombreContador": "sample string 41",
"strFechaHora": "sample string 42",
"datFechaLecturaAnterior": "2026-08-10T00:21:36.7368626+02:00",
"strDiasLecturaAnterior": "sample string 44",
"intTrimestre": 45,
"intEjercicio": 46,
"intCodExtContadores": 47,
"intCodExtContribuyentes": 48,
"strImagenBase64": "sample string 49",
"intBooImagen": 50
}
application/xml, text/xml
Sample:
<LecturaLinea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestNotariaSql.Models"> <booLeido>true</booLeido> <datFechaHora>2026-08-10T00:21:36.7368626+02:00</datFechaHora> <datFechaLecturaAnterior>2026-08-10T00:21:36.7368626+02:00</datFechaLecturaAnterior> <decConsumo>32</decConsumo> <decConsumoEstimado>33</decConsumoEstimado> <decValor>5</decValor> <decValorAnt1>6</decValorAnt1> <decValorAnt2>7</decValorAnt2> <intBooImagen>50</intBooImagen> <intCodExtContadores>47</intCodExtContadores> <intCodExtContribuyentes>48</intCodExtContribuyentes> <intCodigoExt>31</intCodigoExt> <intContadorId>38</intContadorId> <intContadorIdPadre>39</intContadorIdPadre> <intEjercicio>46</intEjercicio> <intId>1</intId> <intIdContribuyente>4</intIdContribuyente> <intIdIncidencia>28</intIdIncidencia> <intIdLectura>2</intIdLectura> <intIdRutaLinea>3</intIdRutaLinea> <intTrimestre>45</intTrimestre> <strClima>sample string 34</strClima> <strContribuyenteApellidos>sample string 10</strContribuyenteApellidos> <strContribuyenteBloque>sample string 18</strContribuyenteBloque> <strContribuyenteCalle>sample string 16</strContribuyenteCalle> <strContribuyenteCp>sample string 13</strContribuyenteCp> <strContribuyenteDireccionCompleta>sample string 12</strContribuyenteDireccionCompleta> <strContribuyenteDni>sample string 11</strContribuyenteDni> <strContribuyenteEscalera>sample string 19</strContribuyenteEscalera> <strContribuyenteNombre>sample string 9</strContribuyenteNombre> <strContribuyenteNumero>sample string 17</strContribuyenteNumero> <strContribuyenteObservaciones>sample string 23</strContribuyenteObservaciones> <strContribuyentePiso>sample string 20</strContribuyentePiso> <strContribuyentePoblacion>sample string 14</strContribuyentePoblacion> <strContribuyenteProvincia>sample string 15</strContribuyenteProvincia> <strContribuyentePuerta>sample string 21</strContribuyentePuerta> <strContribuyenteReferencia>sample string 22</strContribuyenteReferencia> <strContribuyenteTelefono>sample string 24</strContribuyenteTelefono> <strContribuyenteUso>sample string 25</strContribuyenteUso> <strDiasLecturaAnterior>sample string 44</strDiasLecturaAnterior> <strFechaHora>sample string 42</strFechaHora> <strGpsDireccion>sample string 37</strGpsDireccion> <strGpsLatitud>sample string 35</strGpsLatitud> <strGpsLongitud>sample string 36</strGpsLongitud> <strImagenBase64>sample string 49</strImagenBase64> <strNContador>sample string 30</strNContador> <strNombreContador>sample string 41</strNombreContador> <strNombreIncidencia>sample string 29</strNombreIncidencia> <strObservaciones>sample string 27</strObservaciones> <strTipoContador>sample string 40</strTipoContador> </LecturaLinea>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |