POST api/PostBebidas_x_idPersona
Request Information
URI Parameters
None.
Body Parameters
TB_PostListaBebidasSA| Name | Description | Type | Additional information |
|---|---|---|---|
| idPersona | globally unique identifier |
None. |
|
| Lista | Collection of TB_PostBebidasSA |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPersona": "77e80515-5655-4d1f-ab89-bc6e1ddbc194",
"Lista": [
{
"idBebida": "9fbcf956-bd49-489b-aba0-18d3ff3d6b3b",
"numVeces": 2
},
{
"idBebida": "9fbcf956-bd49-489b-aba0-18d3ff3d6b3b",
"numVeces": 2
}
]
}
application/xml, text/xml
Sample:
<TB_PostListaBebidasSA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSuperAPP">
<Lista>
<TB_PostBebidasSA>
<idBebida>9fbcf956-bd49-489b-aba0-18d3ff3d6b3b</idBebida>
<numVeces>2</numVeces>
</TB_PostBebidasSA>
<TB_PostBebidasSA>
<idBebida>9fbcf956-bd49-489b-aba0-18d3ff3d6b3b</idBebida>
<numVeces>2</numVeces>
</TB_PostBebidasSA>
</Lista>
<idPersona>77e80515-5655-4d1f-ab89-bc6e1ddbc194</idPersona>
</TB_PostListaBebidasSA>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MsgRespuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| codigo | string |
None. |
|
| mensaje | string |
None. |
|
| contenido | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"codigo": "sample string 1",
"mensaje": "sample string 2",
"contenido": {}
}
application/xml, text/xml
Sample:
<MsgRespuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSuperAPP"> <codigo>sample string 1</codigo> <contenido /> <mensaje>sample string 2</mensaje> </MsgRespuesta>