POST api/Atencion/GuardarAntecedentes

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
dto
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "idPaciente": 1,
  "antecedentes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "idAntecedentePaciente": 1,
        "idTipoAntecedente": 1,
        "grupo": "sample string 2",
        "nombre": "sample string 3",
        "detalle": "sample string 4",
        "presente": true,
        "edad": 64
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<GuardarAntecedentesBulkDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mantenimiento.Negocio.Poco">
  <antecedentes>
    <AntecedentesItemDto>
      <detalle>sample string 4</detalle>
      <edad>64</edad>
      <grupo>sample string 2</grupo>
      <idAntecedentePaciente>1</idAntecedentePaciente>
      <idTipoAntecedente>1</idTipoAntecedente>
      <nombre>sample string 3</nombre>
      <presente>true</presente>
    </AntecedentesItemDto>
    <AntecedentesItemDto>
      <detalle>sample string 4</detalle>
      <edad>64</edad>
      <grupo>sample string 2</grupo>
      <idAntecedentePaciente>1</idAntecedentePaciente>
      <idTipoAntecedente>1</idTipoAntecedente>
      <nombre>sample string 3</nombre>
      <presente>true</presente>
    </AntecedentesItemDto>
    <AntecedentesItemDto>
      <detalle>sample string 4</detalle>
      <edad>64</edad>
      <grupo>sample string 2</grupo>
      <idAntecedentePaciente>1</idAntecedentePaciente>
      <idTipoAntecedente>1</idTipoAntecedente>
      <nombre>sample string 3</nombre>
      <presente>true</presente>
    </AntecedentesItemDto>
  </antecedentes>
  <idPaciente>1</idPaciente>
</GuardarAntecedentesBulkDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "codigo": 1,
  "resultado": true,
  "mensaje": "sample string 3",
  "data": "QEBA"
}

application/xml, text/xml

Sample:
<ResultadoTransaccion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mantenimiento.Negocio.Poco">
  <codigo>1</codigo>
  <data>QEBA</data>
  <mensaje>sample string 3</mensaje>
  <resultado>true</resultado>
</ResultadoTransaccion>