GET api/CalidadControlGraficoAPI/GetActivosGraficoPorCampanaLote?idcampana={idcampana}&idlote={idlote}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idcampana | globally unique identifier |
Required |
|
| idlote | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
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
]
}
]
}
application/xml, text/xml
Sample:
<Chart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
<datasets>
<datasets>
<backgroundColor>sample string 4</backgroundColor>
<borderColor>sample string 3</borderColor>
<borderDash xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1: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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1: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:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</labels>
</Chart>