POST api/encuestar/obtenerOpcionesPregunta
Request Information
URI Parameters
None.
Body Parameters
GenerarTablaReq| Name | Description | Type | Additional information |
|---|---|---|---|
| nombreBD | string |
None. |
|
| variables | Collection of integer |
None. |
|
| idReporte | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"nombreBD": "sample string 1",
"variables": [
1,
2
],
"idReporte": 1
}
application/xml, text/xml
Sample:
<GenerarTablaReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models.Pivot">
<idReporte>1</idReporte>
<nombreBD>sample string 1</nombreBD>
<variables xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</variables>
</GenerarTablaReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseAPI| Name | Description | Type | Additional information |
|---|---|---|---|
| Exito | boolean |
None. |
|
| Mensaje | string |
None. |
|
| Excepcion | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Exito": true,
"Mensaje": "sample string 2",
"Excepcion": "sample string 3",
"Data": {}
}
application/xml, text/xml
Sample:
<ResponseAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models"> <Data /> <Excepcion>sample string 3</Excepcion> <Exito>true</Exito> <Mensaje>sample string 2</Mensaje> </ResponseAPI>