POST api/PostReferencia

Request Information

URI Parameters

None.

Body Parameters

TB_PostReferencia
NameDescriptionTypeAdditional information
idPersona

globally unique identifier

None.

idAtencion

globally unique identifier

None.

idUser

globally unique identifier

None.

idMembresia

integer

None.

Fecha

date

None.

Correo

string

None.

Observaciones

string

None.

Lista

Collection of TB_PostReferenciaListaSuc

None.

Request Formats

application/json, text/json

Sample:
{
  "idPersona": "864d165b-76ab-4533-9e5c-b85c4c910e66",
  "idAtencion": "9c643152-67c7-4c20-99ad-4ecac438c3e6",
  "idUser": "98e63bb2-8601-4cd8-8a11-67becada2113",
  "idMembresia": 4,
  "Fecha": "2026-03-10T02:38:18.7666932+00:00",
  "Correo": "sample string 6",
  "Observaciones": "sample string 7",
  "Lista": [
    {
      "idSucursal": "3114a41a-3b81-483a-945d-b6ce916c2da2"
    },
    {
      "idSucursal": "3114a41a-3b81-483a-945d-b6ce916c2da2"
    }
  ]
}

application/xml, text/xml

Sample:
<TB_PostReferencia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiMembresias">
  <Correo>sample string 6</Correo>
  <Fecha>2026-03-10T02:38:18.7666932+00:00</Fecha>
  <Lista>
    <TB_PostReferenciaListaSuc>
      <idSucursal>3114a41a-3b81-483a-945d-b6ce916c2da2</idSucursal>
    </TB_PostReferenciaListaSuc>
    <TB_PostReferenciaListaSuc>
      <idSucursal>3114a41a-3b81-483a-945d-b6ce916c2da2</idSucursal>
    </TB_PostReferenciaListaSuc>
  </Lista>
  <Observaciones>sample string 7</Observaciones>
  <idAtencion>9c643152-67c7-4c20-99ad-4ecac438c3e6</idAtencion>
  <idMembresia>4</idMembresia>
  <idPersona>864d165b-76ab-4533-9e5c-b85c4c910e66</idPersona>
  <idUser>98e63bb2-8601-4cd8-8a11-67becada2113</idUser>
</TB_PostReferencia>

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>