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": "d2572001-1893-48da-8c2e-fc28356962b2",
"Lista": [
{
"idAlcohol": "3aca7152-4d50-4fbe-bac9-14556ca956c9",
"numVeces": 2,
"CopasEvento": 3
},
{
"idAlcohol": "3aca7152-4d50-4fbe-bac9-14556ca956c9",
"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>3aca7152-4d50-4fbe-bac9-14556ca956c9</idAlcohol>
<numVeces>2</numVeces>
</TB_PostAlcoholismoECE>
<TB_PostAlcoholismoECE>
<CopasEvento>3</CopasEvento>
<idAlcohol>3aca7152-4d50-4fbe-bac9-14556ca956c9</idAlcohol>
<numVeces>2</numVeces>
</TB_PostAlcoholismoECE>
</Lista>
<idPersona>d2572001-1893-48da-8c2e-fc28356962b2</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>