POST api/UMBRAL

Request Information

URI Parameters

None.

Body Parameters

UMBRAL
NameDescriptionTypeAdditional information
UmbId

integer

None.

EstId

integer

None.

UmbValor

decimal number

None.

UmbValor2

decimal number

None.

UmbralPeriodo

string

String length: inclusive between 0 and 20

UmbColor

string

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "UmbId": 1,
  "EstId": 1,
  "UmbValor": 1.0,
  "UmbValor2": 1.0,
  "UmbralPeriodo": "sample string 2",
  "UmbColor": "sample string 3"
}

application/xml, text/xml

Sample:
<UMBRAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiHidroMet.Models">
  <EstId>1</EstId>
  <UmbColor>sample string 3</UmbColor>
  <UmbId>1</UmbId>
  <UmbValor>1</UmbValor>
  <UmbValor2>1</UmbValor2>
  <UmbralPeriodo>sample string 2</UmbralPeriodo>
</UMBRAL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UMBRAL
NameDescriptionTypeAdditional information
UmbId

integer

None.

EstId

integer

None.

UmbValor

decimal number

None.

UmbValor2

decimal number

None.

UmbralPeriodo

string

String length: inclusive between 0 and 20

UmbColor

string

String length: inclusive between 0 and 20

Response Formats

application/json, text/json

Sample:
{
  "UmbId": 1,
  "EstId": 1,
  "UmbValor": 1.0,
  "UmbValor2": 1.0,
  "UmbralPeriodo": "sample string 2",
  "UmbColor": "sample string 3"
}

application/xml, text/xml

Sample:
<UMBRAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiHidroMet.Models">
  <EstId>1</EstId>
  <UmbColor>sample string 3</UmbColor>
  <UmbId>1</UmbId>
  <UmbValor>1</UmbValor>
  <UmbValor2>1</UmbValor2>
  <UmbralPeriodo>sample string 2</UmbralPeriodo>
</UMBRAL>