POST api/QuickResponse/SolicitarQR
Request Information
URI Parameters
None.
Body Parameters
ObtenerHash| Name | Description | Type | Additional information |
|---|---|---|---|
| datos | qrTx |
None. |
Request Formats
application/json, text/json
Sample:
{
"datos": {
"tipo": 1,
"cbqr": 2,
"cerp": 3,
"csal": 4,
"ncja": 5,
"cmon": 6,
"impt": 7.0,
"glos": "sample string 8",
"fech": "sample string 9",
"user": "sample string 10",
"nnit": "sample string 11",
"nomb": "sample string 12",
"serv": "sample string 13",
"basd": "sample string 14",
"uses": "sample string 15",
"pass": "sample string 16",
"aux1": "sample string 17",
"aux2": "sample string 18",
"tiqr": 19,
"next": 20,
"cmot": 21,
"impo": 22.0,
"tcam": 23.0
}
}
application/xml, text/xml
Sample:
<ObtenerHash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestApiQR">
<datos>
<aux1>sample string 17</aux1>
<aux2>sample string 18</aux2>
<basd>sample string 14</basd>
<cbqr>2</cbqr>
<cerp>3</cerp>
<cmon>6</cmon>
<cmot>21</cmot>
<csal>4</csal>
<fech>sample string 9</fech>
<glos>sample string 8</glos>
<impo>22</impo>
<impt>7</impt>
<ncja>5</ncja>
<next>20</next>
<nnit>sample string 11</nnit>
<nomb>sample string 12</nomb>
<pass>sample string 16</pass>
<serv>sample string 13</serv>
<tcam>23</tcam>
<tipo>1</tipo>
<tiqr>19</tiqr>
<user>sample string 10</user>
<uses>sample string 15</uses>
</datos>
</ObtenerHash>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
QrResult| Name | Description | Type | Additional information |
|---|---|---|---|
| qr_codi | integer |
None. |
|
| qr_mens | string |
None. |
|
| qr_soqr | integer |
None. |
|
| qr_hash | string |
None. |
|
| qr_Id | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"qr_codi": 1,
"qr_mens": "sample string 2",
"qr_soqr": 3,
"qr_hash": "sample string 4",
"qr_Id": "sample string 5"
}
application/xml, text/xml
Sample:
<QrResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestApiQR"> <qr_Id>sample string 5</qr_Id> <qr_codi>1</qr_codi> <qr_hash>sample string 4</qr_hash> <qr_mens>sample string 2</qr_mens> <qr_soqr>3</qr_soqr> </QrResult>