POST api/PostSomatometria
Request Information
URI Parameters
None.
Body Parameters
TB_PostValoresSomatometria| Name | Description | Type | Additional information |
|---|---|---|---|
| idPersona | globally unique identifier |
None. |
|
| idConsulta | globally unique identifier |
None. |
|
| Lista | Collection of TB_ItemValoresSomatometria |
None. |
Request Formats
application/json, text/json
Sample:
{
"idPersona": "30b9bdf8-3d0a-446f-9c01-52d1a865ddbc",
"idConsulta": "887eceac-71c4-4e41-bb89-5d69d1dfe3c9",
"Lista": [
{
"idMedida": "41f443ac-fe28-4dd9-a280-0826e33f99d2",
"Valor": 2.1
},
{
"idMedida": "41f443ac-fe28-4dd9-a280-0826e33f99d2",
"Valor": 2.1
}
]
}
application/xml, text/xml
Sample:
<TB_PostValoresSomatometria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VC_Med_Ecuador_pr">
<Lista>
<TB_ItemValoresSomatometria>
<Valor>2.1</Valor>
<idMedida>41f443ac-fe28-4dd9-a280-0826e33f99d2</idMedida>
</TB_ItemValoresSomatometria>
<TB_ItemValoresSomatometria>
<Valor>2.1</Valor>
<idMedida>41f443ac-fe28-4dd9-a280-0826e33f99d2</idMedida>
</TB_ItemValoresSomatometria>
</Lista>
<idConsulta>887eceac-71c4-4e41-bb89-5d69d1dfe3c9</idConsulta>
<idPersona>30b9bdf8-3d0a-446f-9c01-52d1a865ddbc</idPersona>
</TB_PostValoresSomatometria>
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>