GET api/encuestar/obtenerVariables?nombreBD={nombreBD}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| nombreBD | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VariableItem| Name | Description | Type | Additional information |
|---|---|---|---|
| value | integer |
None. |
|
| label | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"value": 1,
"label": "sample string 2"
},
{
"value": 1,
"label": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfVariableItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models.Pivot">
<VariableItem>
<label>sample string 2</label>
<value>1</value>
</VariableItem>
<VariableItem>
<label>sample string 2</label>
<value>1</value>
</VariableItem>
</ArrayOfVariableItem>