POST api/DatosSensores

Request Information

URI Parameters

None.

Body Parameters

DatosSensores
NameDescriptionTypeAdditional information
id

integer

None.

fecha

date

None.

temperatura

decimal number

None.

origen

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "fecha": "2026-03-23T09:26:05.1246024-05:00",
  "temperatura": 1.0,
  "origen": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DatosSensores
NameDescriptionTypeAdditional information
id

integer

None.

fecha

date

None.

temperatura

decimal number

None.

origen

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "fecha": "2026-03-23T09:26:05.3433583-05:00",
  "temperatura": 1.0,
  "origen": "sample string 2"
}