POST api/Clientes/PostCliente?idIdioma={idIdioma}&idEmpresa={idEmpresa}&PZN={PZN}
Inserta un cliente.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idIdioma | string |
Required |
|
| idEmpresa |
Id de la empresa. |
integer |
Required |
| PZN |
PZN asociado al cliente. |
string |
Required |
Body Parameters
objeto cliente
Clientes| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Nombre | string |
Required String length: inclusive between 0 and 100 |
|
| Apellido | string |
Required String length: inclusive between 0 and 100 |
|
| Genero | string |
Required String length: inclusive between 0 and 1 |
|
| FechaNacimiento | date |
None. |
|
| Telefono | string |
String length: inclusive between 0 and 20 |
|
| string |
Required String length: inclusive between 0 and 50 |
||
| Direccion | string |
String length: inclusive between 0 and 50 |
|
| Poblacion | string |
String length: inclusive between 0 and 50 |
|
| CodigoPostal | string |
String length: inclusive between 0 and 50 |
|
| NewsLetter | string |
Required String length: inclusive between 0 and 50 |
|
| FechaAlta | date |
None. |
|
| FechaBaja | date |
None. |
|
| FechaModificacion | date |
None. |
|
| VerificacionEmail | boolean |
None. |
|
| FK_Tiendas_Id | integer |
None. |
|
| FK_Personal_Id | integer |
None. |
|
| Active12month | boolean |
None. |
|
| BajaEnviada | boolean |
None. |
|
| DCCLight | boolean |
None. |
|
| Password |
Password |
string |
String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
{
"Id": 1,
"Nombre": "sample string 2",
"Apellido": "sample string 3",
"Genero": "sample string 4",
"FechaNacimiento": "2025-11-29T06:39:25.2052954+01:00",
"Telefono": "sample string 5",
"Email": "sample string 6",
"Direccion": "sample string 7",
"Poblacion": "sample string 8",
"CodigoPostal": "sample string 9",
"NewsLetter": "sample string 10",
"FechaAlta": "2025-11-29T06:39:25.2052954+01:00",
"FechaBaja": "2025-11-29T06:39:25.2052954+01:00",
"FechaModificacion": "2025-11-29T06:39:25.2052954+01:00",
"VerificacionEmail": true,
"FK_Tiendas_Id": 13,
"FK_Personal_Id": 14,
"Active12month": true,
"BajaEnviada": true,
"DCCLight": true,
"Password": "sample string 15"
}
application/xml, text/xml
<Clientes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <Active12month>true</Active12month> <Apellido>sample string 3</Apellido> <BajaEnviada>true</BajaEnviada> <CodigoPostal>sample string 9</CodigoPostal> <DCCLight>true</DCCLight> <Direccion>sample string 7</Direccion> <Email>sample string 6</Email> <FK_Personal_Id>14</FK_Personal_Id> <FK_Tiendas_Id>13</FK_Tiendas_Id> <FechaAlta>2025-11-29T06:39:25.2052954+01:00</FechaAlta> <FechaBaja>2025-11-29T06:39:25.2052954+01:00</FechaBaja> <FechaModificacion>2025-11-29T06:39:25.2052954+01:00</FechaModificacion> <FechaNacimiento>2025-11-29T06:39:25.2052954+01:00</FechaNacimiento> <Genero>sample string 4</Genero> <Id>1</Id> <NewsLetter>sample string 10</NewsLetter> <Nombre>sample string 2</Nombre> <Password>sample string 15</Password> <Poblacion>sample string 8</Poblacion> <Telefono>sample string 5</Telefono> <VerificacionEmail>true</VerificacionEmail> </Clientes>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Respuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| Finalizado |
Indica si la operacion a finalizado con exito. |
boolean |
None. |
| ID |
Id del nuevo registro de la operacion. |
integer |
None. |
| FK_MensajesControlados_Id |
Id del mensaje |
integer |
None. |
| Descripcion |
Mensaje de respuesta |
string |
None. |
Response Formats
application/json, text/json
{
"Finalizado": true,
"ID": 2,
"FK_MensajesControlados_Id": 3,
"Descripcion": "sample string 4"
}
application/xml, text/xml
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <Descripcion>sample string 4</Descripcion> <FK_MensajesControlados_Id>3</FK_MensajesControlados_Id> <Finalizado>true</Finalizado> <ID>2</ID> </Respuesta>