GET api/Operacion/getPrecipitacionZonasIndex?idEmpresa={idEmpresa}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of precipitacionZonasName | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
None. |
|
idZona | integer |
None. |
|
zona | string |
None. |
|
activo | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "idEmpresa": "47b9492e-0a5d-41d2-9897-a83e52c71351", "idZona": 2, "zona": "sample string 3", "activo": true }, { "idEmpresa": "47b9492e-0a5d-41d2-9897-a83e52c71351", "idZona": 2, "zona": "sample string 3", "activo": true } ]
application/xml, text/xml
Sample:
<ArrayOfprecipitacionZonas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.Data"> <precipitacionZonas> <activo>true</activo> <idEmpresa>47b9492e-0a5d-41d2-9897-a83e52c71351</idEmpresa> <idZona>2</idZona> <zona>sample string 3</zona> </precipitacionZonas> <precipitacionZonas> <activo>true</activo> <idEmpresa>47b9492e-0a5d-41d2-9897-a83e52c71351</idEmpresa> <idZona>2</idZona> <zona>sample string 3</zona> </precipitacionZonas> </ArrayOfprecipitacionZonas>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].idEmpresa" 47b9492e-0a5d-41d2-9897-a83e52c71351 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].idZona" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].zona" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].activo" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].idEmpresa" 47b9492e-0a5d-41d2-9897-a83e52c71351 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].idZona" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].zona" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].activo" True --MultipartDataMediaFormatterBoundary1q2w3e--