POST api/promotores
Registrar Promotor
Request Information
URI Parameters
None.
Body Parameters
UsuariosPromotorWebSiteName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Identificacion | string |
None. |
|
TipoIdentificacion | string |
None. |
|
IdPromotor | integer |
None. |
|
Correo | string |
None. |
|
Contrasena | string |
None. |
|
OrigenCreacion | string |
None. |
|
Validado | boolean |
None. |
|
FechaCreacion | date |
None. |
|
FechaCreacionStr | string |
None. |
|
NombrePromotor | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Identificacion": "sample string 2", "TipoIdentificacion": "sample string 3", "IdPromotor": 4, "Correo": "sample string 5", "Contrasena": "sample string 6", "OrigenCreacion": "sample string 7", "Validado": true, "FechaCreacion": "2024-12-23T07:03:32.0782062-04:00", "FechaCreacionStr": "23-12-2024", "NombrePromotor": "sample string 10" }
application/xml, text/xml
Sample:
<UsuariosPromotorWebSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Contrasena>sample string 6</Contrasena> <Correo>sample string 5</Correo> <FechaCreacion>2024-12-23T07:03:32.0782062-04:00</FechaCreacion> <Id>1</Id> <IdPromotor>4</IdPromotor> <Identificacion>sample string 2</Identificacion> <NombrePromotor>sample string 10</NombrePromotor> <OrigenCreacion>sample string 7</OrigenCreacion> <TipoIdentificacion>sample string 3</TipoIdentificacion> <Validado>true</Validado> </UsuariosPromotorWebSite>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.