POST api/OxygenLogController/GetDataByUnit

Request Information

URI Parameters

None.

Body Parameters

IF_FILTERS_FORECAST
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

idUnit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2025-08-19T23:48:58.1265752+00:00",
  "EndDate": "2025-08-19T23:48:58.1265752+00:00",
  "idUnit": 3
}

application/xml, text/xml

Sample:
<IF_FILTERS_FORECAST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IC2.Models">
  <EndDate>2025-08-19T23:48:58.1265752+00:00</EndDate>
  <StartDate>2025-08-19T23:48:58.1265752+00:00</StartDate>
  <idUnit>3</idUnit>
</IF_FILTERS_FORECAST>

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 'IF_FILTERS_FORECAST'.

Response Information

Resource Description

Results
NameDescriptionTypeAdditional information
OBJETO

Object

None.

MENSAJE

string

None.

STATUS

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OBJETO": {},
  "MENSAJE": "sample string 2",
  "STATUS": "sample string 3"
}

application/xml, text/xml

Sample:
<Results xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IC2.Models">
  <MENSAJE>sample string 2</MENSAJE>
  <OBJETO />
  <STATUS>sample string 3</STATUS>
</Results>