POST api/GeneraQr

Request Information

URI Parameters

None.

Body Parameters

QrCrearVM
NameDescriptionTypeAdditional information
qrtexto

string

None.

qrnombre

string

None.

qrtextocrear

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "qrtexto": "sample string 1",
  "qrnombre": "sample string 2",
  "qrtextocrear": {}
}

text/html

Sample:
{"qrtexto":"sample string 1","qrnombre":"sample string 2","qrtextocrear":{}}

application/xml, text/xml

Sample:
<QrCrearVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models">
  <qrnombre>sample string 2</qrnombre>
  <qrtexto>sample string 1</qrtexto>
  <qrtextocrear />
</QrCrearVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reply
NameDescriptionTypeAdditional information
message

string

None.

result

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "result": 2,
  "data": {}
}

text/html

Sample:
{"message":"sample string 1","result":2,"data":{}}

application/xml, text/xml

Sample:
<Reply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS">
  <data />
  <message>sample string 1</message>
  <result>2</result>
</Reply>