GET api/ClimaPrecipitacionesAPI/GetLluviaGraficoZonaCampanaFecha?idzona={idzona}&idcampana={idcampana}&desde={desde}&hasta={hasta}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idzona | globally unique identifier |
Required |
|
| idcampana | globally unique identifier |
Required |
|
| desde | string |
Required |
|
| hasta | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Chart| Name | Description | Type | Additional information |
|---|---|---|---|
| labels | Collection of string |
None. |
|
| datasets | Collection of datasets |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"labels": [
"sample string 1",
"sample string 2"
],
"datasets": [
{
"data": [
{
"x": "sample string 1",
"y": 2.0
},
{
"x": "sample string 1",
"y": 2.0
}
],
"fill": true,
"label": "sample string 2",
"borderColor": "sample string 3",
"backgroundColor": "sample string 4",
"borderDash": [
1,
2
]
},
{
"data": [
{
"x": "sample string 1",
"y": 2.0
},
{
"x": "sample string 1",
"y": 2.0
}
],
"fill": true,
"label": "sample string 2",
"borderColor": "sample string 3",
"backgroundColor": "sample string 4",
"borderDash": [
1,
2
]
}
]
},
{
"labels": [
"sample string 1",
"sample string 2"
],
"datasets": [
{
"data": [
{
"x": "sample string 1",
"y": 2.0
},
{
"x": "sample string 1",
"y": 2.0
}
],
"fill": true,
"label": "sample string 2",
"borderColor": "sample string 3",
"backgroundColor": "sample string 4",
"borderDash": [
1,
2
]
},
{
"data": [
{
"x": "sample string 1",
"y": 2.0
},
{
"x": "sample string 1",
"y": 2.0
}
],
"fill": true,
"label": "sample string 2",
"borderColor": "sample string 3",
"backgroundColor": "sample string 4",
"borderDash": [
1,
2
]
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
<Chart>
<datasets>
<datasets>
<backgroundColor>sample string 4</backgroundColor>
<borderColor>sample string 3</borderColor>
<borderDash xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</borderDash>
<data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
</data>
<fill>true</fill>
<label>sample string 2</label>
</datasets>
<datasets>
<backgroundColor>sample string 4</backgroundColor>
<borderColor>sample string 3</borderColor>
<borderDash xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</borderDash>
<data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
</data>
<fill>true</fill>
<label>sample string 2</label>
</datasets>
</datasets>
<labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</labels>
</Chart>
<Chart>
<datasets>
<datasets>
<backgroundColor>sample string 4</backgroundColor>
<borderColor>sample string 3</borderColor>
<borderDash xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</borderDash>
<data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
</data>
<fill>true</fill>
<label>sample string 2</label>
</datasets>
<datasets>
<backgroundColor>sample string 4</backgroundColor>
<borderColor>sample string 3</borderColor>
<borderDash xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</borderDash>
<data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
<data>
<x>sample string 1</x>
<y>2</y>
</data>
</data>
<fill>true</fill>
<label>sample string 2</label>
</datasets>
</datasets>
<labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</labels>
</Chart>
</ArrayOfChart>