POST api/PostReferencia
Request Information
URI Parameters
None.
Body Parameters
TB_PostReferencia| Name | Description | Type | Additional 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": "d221bc62-f1b3-46f6-bfe0-cbd228790c56",
"idAtencion": "6a7a4a25-ee82-4aba-94db-ba1c017109c7",
"idUser": "09e0e25f-9c3a-4f21-8afd-dbdd2a810e65",
"idMembresia": 4,
"Fecha": "2026-10-06T13:00:28.2078532+00:00",
"Correo": "sample string 6",
"Observaciones": "sample string 7",
"Lista": [
{
"idSucursal": "6fc2e68a-7812-4048-a4a8-78b892174e9f"
},
{
"idSucursal": "6fc2e68a-7812-4048-a4a8-78b892174e9f"
}
]
}
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-10-06T13:00:28.2078532+00:00</Fecha>
<Lista>
<TB_PostReferenciaListaSuc>
<idSucursal>6fc2e68a-7812-4048-a4a8-78b892174e9f</idSucursal>
</TB_PostReferenciaListaSuc>
<TB_PostReferenciaListaSuc>
<idSucursal>6fc2e68a-7812-4048-a4a8-78b892174e9f</idSucursal>
</TB_PostReferenciaListaSuc>
</Lista>
<Observaciones>sample string 7</Observaciones>
<idAtencion>6a7a4a25-ee82-4aba-94db-ba1c017109c7</idAtencion>
<idMembresia>4</idMembresia>
<idPersona>d221bc62-f1b3-46f6-bfe0-cbd228790c56</idPersona>
<idUser>09e0e25f-9c3a-4f21-8afd-dbdd2a810e65</idUser>
</TB_PostReferencia>
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/apiMembresias"> <codigo>sample string 1</codigo> <contenido /> <mensaje>sample string 2</mensaje> </MsgRespuesta>