POST api/Operacion/guardaPrecipitacion?idEmpresa={idEmpresa}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idEmpresa

globally unique identifier

Required

Body Parameters

precipitacion
NameDescriptionTypeAdditional information
idEmpresa

globally unique identifier

None.

id

integer

None.

idZona

integer

None.

fecha

date

None.

precipitacion1

decimal number

None.

idUsuario

integer

None.

cancelado

boolean

None.

fechaRegistro

date

None.

Request Formats

application/json, text/json

Sample:
{
  "idEmpresa": "d31c939c-d110-4d6d-9bca-daf809a01f1b",
  "id": 2,
  "idZona": 3,
  "fecha": "2025-01-22T11:16:04.3518646-08:00",
  "precipitacion1": 5.0,
  "idUsuario": 6,
  "cancelado": true,
  "fechaRegistro": "2025-01-22T11:16:04.3518646-08:00"
}

application/xml, text/xml

Sample:
<precipitacion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.Data">
  <cancelado>true</cancelado>
  <fecha>2025-01-22T11:16:04.3518646-08:00</fecha>
  <fechaRegistro>2025-01-22T11:16:04.3518646-08:00</fechaRegistro>
  <id>2</id>
  <idEmpresa>d31c939c-d110-4d6d-9bca-daf809a01f1b</idEmpresa>
  <idUsuario>6</idUsuario>
  <idZona>3</idZona>
  <precipitacion1>5</precipitacion1>
</precipitacion>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idEmpresa"

d31c939c-d110-4d6d-9bca-daf809a01f1b
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="id"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idZona"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fecha"

2025-01-22T11:16:04.3518646-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="precipitacion1"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuario"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="cancelado"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaRegistro"

2025-01-22T11:16:04.3518646-08:00
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

precipitacion
NameDescriptionTypeAdditional information
idEmpresa

globally unique identifier

None.

id

integer

None.

idZona

integer

None.

fecha

date

None.

precipitacion1

decimal number

None.

idUsuario

integer

None.

cancelado

boolean

None.

fechaRegistro

date

None.

Response Formats

application/json, text/json

Sample:
{
  "idEmpresa": "410327eb-a3a5-4f3c-980a-062adfb5cdf3",
  "id": 2,
  "idZona": 3,
  "fecha": "2025-01-22T11:16:04.3518646-08:00",
  "precipitacion1": 5.0,
  "idUsuario": 6,
  "cancelado": true,
  "fechaRegistro": "2025-01-22T11:16:04.3518646-08:00"
}

application/xml, text/xml

Sample:
<precipitacion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.Data">
  <cancelado>true</cancelado>
  <fecha>2025-01-22T11:16:04.3518646-08:00</fecha>
  <fechaRegistro>2025-01-22T11:16:04.3518646-08:00</fechaRegistro>
  <id>2</id>
  <idEmpresa>410327eb-a3a5-4f3c-980a-062adfb5cdf3</idEmpresa>
  <idUsuario>6</idUsuario>
  <idZona>3</idZona>
  <precipitacion1>5</precipitacion1>
</precipitacion>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idEmpresa"

410327eb-a3a5-4f3c-980a-062adfb5cdf3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="id"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idZona"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fecha"

2025-01-22T11:16:04.3518646-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="precipitacion1"

5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuario"

6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="cancelado"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaRegistro"

2025-01-22T11:16:04.3518646-08:00
--MultipartDataMediaFormatterBoundary1q2w3e--