POST api/NIVEL

Request Information

URI Parameters

None.

Body Parameters

NIVEL
NameDescriptionTypeAdditional information
NivelId

integer

None.

EstId

integer

None.

NivelFecha

string

String length: inclusive between 0 and 10

NivelFechaPasado

string

String length: inclusive between 0 and 10

NivelFechaActual

string

String length: inclusive between 0 and 10

NivelNormal

decimal number

None.

NivelAHPasado

decimal number

None.

NivelAHActual

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "NivelId": 1,
  "EstId": 1,
  "NivelFecha": "sample string 2",
  "NivelFechaPasado": "sample string 3",
  "NivelFechaActual": "sample string 4",
  "NivelNormal": 1.0,
  "NivelAHPasado": 1.0,
  "NivelAHActual": 1.0
}

application/xml, text/xml

Sample:
<NIVEL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiHidroMet.Models">
  <EstId>1</EstId>
  <NivelAHActual>1</NivelAHActual>
  <NivelAHPasado>1</NivelAHPasado>
  <NivelFecha>sample string 2</NivelFecha>
  <NivelFechaActual>sample string 4</NivelFechaActual>
  <NivelFechaPasado>sample string 3</NivelFechaPasado>
  <NivelId>1</NivelId>
  <NivelNormal>1</NivelNormal>
</NIVEL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NIVEL
NameDescriptionTypeAdditional information
NivelId

integer

None.

EstId

integer

None.

NivelFecha

string

String length: inclusive between 0 and 10

NivelFechaPasado

string

String length: inclusive between 0 and 10

NivelFechaActual

string

String length: inclusive between 0 and 10

NivelNormal

decimal number

None.

NivelAHPasado

decimal number

None.

NivelAHActual

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "NivelId": 1,
  "EstId": 1,
  "NivelFecha": "sample string 2",
  "NivelFechaPasado": "sample string 3",
  "NivelFechaActual": "sample string 4",
  "NivelNormal": 1.0,
  "NivelAHPasado": 1.0,
  "NivelAHActual": 1.0
}

application/xml, text/xml

Sample:
<NIVEL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiHidroMet.Models">
  <EstId>1</EstId>
  <NivelAHActual>1</NivelAHActual>
  <NivelAHPasado>1</NivelAHPasado>
  <NivelFecha>sample string 2</NivelFecha>
  <NivelFechaActual>sample string 4</NivelFechaActual>
  <NivelFechaPasado>sample string 3</NivelFechaPasado>
  <NivelId>1</NivelId>
  <NivelNormal>1</NivelNormal>
</NIVEL>