POST api/PostAlcoholismo_x_idPersona
Request Information
URI Parameters
None.
Body Parameters
TB_PostListaAlcoholismoECE| Name | Description | Type | Additional information |
|---|---|---|---|
| idPersona | globally unique identifier |
None. |
|
| Lista | Collection of TB_PostAlcoholismoECE |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPersona": "d6df7970-c69b-47eb-8207-0ebe42a2cadc",
"Lista": [
{
"idAlcohol": "083ba377-7678-47c2-8d65-304deb15fe91",
"numVeces": 2,
"CopasEvento": 3
},
{
"idAlcohol": "083ba377-7678-47c2-8d65-304deb15fe91",
"numVeces": 2,
"CopasEvento": 3
}
]
}
application/xml, text/xml
Sample:
<TB_PostListaAlcoholismoECE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VC_Med_Ecuador_pr">
<Lista>
<TB_PostAlcoholismoECE>
<CopasEvento>3</CopasEvento>
<idAlcohol>083ba377-7678-47c2-8d65-304deb15fe91</idAlcohol>
<numVeces>2</numVeces>
</TB_PostAlcoholismoECE>
<TB_PostAlcoholismoECE>
<CopasEvento>3</CopasEvento>
<idAlcohol>083ba377-7678-47c2-8d65-304deb15fe91</idAlcohol>
<numVeces>2</numVeces>
</TB_PostAlcoholismoECE>
</Lista>
<idPersona>d6df7970-c69b-47eb-8207-0ebe42a2cadc</idPersona>
</TB_PostListaAlcoholismoECE>
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/VC_Med_Ecuador_pr"> <codigo>sample string 1</codigo> <contenido /> <mensaje>sample string 2</mensaje> </MsgRespuesta>