POST api/PostSomatometría

Request Information

URI Parameters

None.

Body Parameters

Collection of TB_ValoresSomatometriaPost
NameDescriptionTypeAdditional information
idPaciente

globally unique identifier

None.

idMedida

globally unique identifier

None.

Fecha

date

None.

Valor

decimal number

None.

Valor2

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "idPaciente": "16e62413-47a6-4281-9f7f-a182a915a749",
    "idMedida": "c60e0e94-d34f-4322-8e90-f13179dfa31b",
    "Fecha": "2026-03-10T02:40:43.9865107+00:00",
    "Valor": 4.1,
    "Valor2": 5.1
  },
  {
    "idPaciente": "16e62413-47a6-4281-9f7f-a182a915a749",
    "idMedida": "c60e0e94-d34f-4322-8e90-f13179dfa31b",
    "Fecha": "2026-03-10T02:40:43.9865107+00:00",
    "Valor": 4.1,
    "Valor2": 5.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTB_ValoresSomatometriaPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiMembresias">
  <TB_ValoresSomatometriaPost>
    <Fecha>2026-03-10T02:40:43.9865107+00:00</Fecha>
    <Valor>4.1</Valor>
    <Valor2>5.1</Valor2>
    <idMedida>c60e0e94-d34f-4322-8e90-f13179dfa31b</idMedida>
    <idPaciente>16e62413-47a6-4281-9f7f-a182a915a749</idPaciente>
  </TB_ValoresSomatometriaPost>
  <TB_ValoresSomatometriaPost>
    <Fecha>2026-03-10T02:40:43.9865107+00:00</Fecha>
    <Valor>4.1</Valor>
    <Valor2>5.1</Valor2>
    <idMedida>c60e0e94-d34f-4322-8e90-f13179dfa31b</idMedida>
    <idPaciente>16e62413-47a6-4281-9f7f-a182a915a749</idPaciente>
  </TB_ValoresSomatometriaPost>
</ArrayOfTB_ValoresSomatometriaPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MsgRespuesta
NameDescriptionTypeAdditional 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/apiMembresias">
  <codigo>sample string 1</codigo>
  <contenido />
  <mensaje>sample string 2</mensaje>
</MsgRespuesta>