GET api/Tiendas/GetTienda?id_empresa={id_empresa}&Usuario={Usuario}
Devuelve todas las tiendas de un usuario
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id_empresa |
Siempre valor 1 () |
integer |
Required |
Usuario |
Id del usuario |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TiendasName | 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. |
Response Formats
application/json, text/json
Sample:
{ "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-01-22T20:23:06.5545137+01:00", "FechaBaja": "2025-01-22T20:23:06.5545137+01:00", "FechaModificacion": "2025-01-22T20:23:06.5545137+01:00", "FechaSolicitudBaja": "2025-01-22T20:23:06.5545137+01:00", "EmailBaja": true, "Activa": true, "PersonalModificacion": "2025-01-22T20:23:06.5545137+01:00" }
application/xml, text/xml
Sample:
<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-01-22T20:23:06.5545137+01:00</FechaAlta> <FechaBaja>2025-01-22T20:23:06.5545137+01:00</FechaBaja> <FechaModificacion>2025-01-22T20:23:06.5545137+01:00</FechaModificacion> <FechaSolicitudBaja>2025-01-22T20:23:06.5545137+01:00</FechaSolicitudBaja> <Horario>sample string 10</Horario> <Id>1</Id> <LatLong>sample string 11</LatLong> <Nombre>sample string 3</Nombre> <PersonalModificacion>2025-01-22T20:23:06.5545137+01:00</PersonalModificacion> <Poblacion>sample string 7</Poblacion> <Telefono>sample string 8</Telefono> <Web>sample string 9</Web> </Tiendas>