POST api/afiliados

Registrar Afiliado

Request Information

URI Parameters

None.

Body Parameters

UsuariosWebSite
NameDescriptionTypeAdditional information
Id

integer

None.

Cedula

string

None.

IdAfiliado

integer

None.

Correo

string

None.

Contrasena

string

None.

Validado

boolean

None.

OrigenCreacion

string

None.

FechaCreacion

date

None.

NombreAfiliado

string

None.

Nss

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Cedula": "sample string 2",
  "IdAfiliado": 3,
  "Correo": "sample string 4",
  "Contrasena": "sample string 5",
  "Validado": true,
  "OrigenCreacion": "sample string 7",
  "FechaCreacion": "2024-12-23T06:24:37.6082217-04:00",
  "NombreAfiliado": "sample string 9",
  "Nss": "sample string 10"
}

application/xml, text/xml

Sample:
<UsuariosWebSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Core">
  <Cedula>sample string 2</Cedula>
  <Contrasena>sample string 5</Contrasena>
  <Correo>sample string 4</Correo>
  <FechaCreacion>2024-12-23T06:24:37.6082217-04:00</FechaCreacion>
  <Id>1</Id>
  <IdAfiliado>3</IdAfiliado>
  <NombreAfiliado>sample string 9</NombreAfiliado>
  <Nss>sample string 10</Nss>
  <OrigenCreacion>sample string 7</OrigenCreacion>
  <Validado>true</Validado>
</UsuariosWebSite>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.