POST captura/lecturas

Request Information

URI Parameters

None.

Body Parameters

LecturaAltaDto
NameDescriptionTypeAdditional information
activo_medidor

integer

None.

valor

decimal number

None.

fecha_lectura_utc

date

None.

es_reinicio

boolean

None.

orden_trabajo

integer

None.

observacion

string

None.

entrada_modo

integer

None.

uuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "activo_medidor": 1,
  "valor": 2.0,
  "fecha_lectura_utc": "2026-10-13T00:05:07.8161169-03:00",
  "es_reinicio": true,
  "orden_trabajo": 1,
  "observacion": "sample string 4",
  "entrada_modo": 1,
  "uuid": "6534a500-3848-46c0-be05-ad6910f93172"
}

application/xml, text/xml

Sample:
<LecturaAltaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.MVC.Model">
  <activo_medidor>1</activo_medidor>
  <entrada_modo>1</entrada_modo>
  <es_reinicio>true</es_reinicio>
  <fecha_lectura_utc>2026-10-13T00:05:07.8161169-03:00</fecha_lectura_utc>
  <observacion>sample string 4</observacion>
  <orden_trabajo>1</orden_trabajo>
  <uuid>6534a500-3848-46c0-be05-ad6910f93172</uuid>
  <valor>2</valor>
</LecturaAltaDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LecturaAltaDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.