POST api/Tiendas/PostTienda?idiomaId={idiomaId}
Añade una tienda. Se tendrá que rellenar el permiso de visualización para los UsuariosEmpresas del tipo HBDM.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idiomaId |
Id del idioma de los mensajes. |
string |
Required |
Body Parameters
objeto tienda
Tiendas| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Codigo | string |
Required String length: inclusive between 0 and 50 |
|
| Nombre | string |
Required String length: inclusive between 0 and 100 |
|
| string |
Required String length: inclusive between 0 and 50 |
||
| Direccion | string |
Required String length: inclusive between 0 and 100 |
|
| CodigoPostal | string |
Required String length: inclusive between 0 and 20 |
|
| Poblacion | string |
Required String length: inclusive between 0 and 100 |
|
| Telefono | string |
Required String length: inclusive between 0 and 20 |
|
| Web | string |
String length: inclusive between 0 and 100 |
|
| Horario | string |
Required String length: inclusive between 0 and 255 |
|
| LatLong | string |
String length: inclusive between 0 and 50 |
|
| FechaAlta | date |
None. |
|
| FechaBaja | date |
None. |
|
| FechaModificacion | date |
None. |
|
| FechaSolicitudBaja | date |
None. |
|
| EmailBaja | boolean |
None. |
|
| Activa | boolean |
None. |
|
| PersonalModificacion | date |
None. |
Request Formats
application/json, text/json
{
"Id": 1,
"Codigo": "sample string 2",
"Nombre": "sample string 3",
"Email": "sample string 4",
"Direccion": "sample string 5",
"CodigoPostal": "sample string 6",
"Poblacion": "sample string 7",
"Telefono": "sample string 8",
"Web": "sample string 9",
"Horario": "sample string 10",
"LatLong": "sample string 11",
"FechaAlta": "2025-10-24T10:28:36.2299367+02:00",
"FechaBaja": "2025-10-24T10:28:36.2299367+02:00",
"FechaModificacion": "2025-10-24T10:28:36.2299367+02:00",
"FechaSolicitudBaja": "2025-10-24T10:28:36.2299367+02:00",
"EmailBaja": true,
"Activa": true,
"PersonalModificacion": "2025-10-24T10:28:36.2299367+02:00"
}
application/xml, text/xml
<Tiendas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora"> <Activa>true</Activa> <Codigo>sample string 2</Codigo> <CodigoPostal>sample string 6</CodigoPostal> <Direccion>sample string 5</Direccion> <Email>sample string 4</Email> <EmailBaja>true</EmailBaja> <FechaAlta>2025-10-24T10:28:36.2299367+02:00</FechaAlta> <FechaBaja>2025-10-24T10:28:36.2299367+02:00</FechaBaja> <FechaModificacion>2025-10-24T10:28:36.2299367+02:00</FechaModificacion> <FechaSolicitudBaja>2025-10-24T10:28:36.2299367+02:00</FechaSolicitudBaja> <Horario>sample string 10</Horario> <Id>1</Id> <LatLong>sample string 11</LatLong> <Nombre>sample string 3</Nombre> <PersonalModificacion>2025-10-24T10:28:36.2299367+02:00</PersonalModificacion> <Poblacion>sample string 7</Poblacion> <Telefono>sample string 8</Telefono> <Web>sample string 9</Web> </Tiendas>
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>