POST api/encuestar/generarTablaPivot

Request Information

URI Parameters

None.

Body Parameters

GenerarTablaReq
NameDescriptionTypeAdditional information
nombreBD

string

None.

variables

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nombreBD": "sample string 1",
  "variables": [
    1,
    2
  ]
}

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">
  <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

Collection of Dictionary of string [key] and Object [value]

Response Formats

application/json, text/json

Sample:
[
  {
    "sample string 1": {},
    "sample string 3": {}
  },
  {
    "sample string 1": {},
    "sample string 3": {}
  }
]

application/xml, text/xml

Sample:
<ArrayOfArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <ArrayOfKeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 1</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 3</Key>
      <Value />
    </KeyValueOfstringanyType>
  </ArrayOfKeyValueOfstringanyType>
  <ArrayOfKeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 1</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 3</Key>
      <Value />
    </KeyValueOfstringanyType>
  </ArrayOfKeyValueOfstringanyType>
</ArrayOfArrayOfKeyValueOfstringanyType>