GET api/Personal_Tiendas/{id}?id_Tienda={id_Tienda}
Devuelve el personal Si [id] diferente de cero devuelve personal. Por el contrario si [id_Tiendas] es diferente de cero devuelve todo el personal de la tienda indicada.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id del personal |
integer |
Required |
| id_Tienda |
Id de la tienda |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Personal_Tiendas| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FK_TiposPersonal_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 100 |
|
| Poblacion | string |
String length: inclusive between 0 and 100 |
|
| CodigoPostal | string |
String length: inclusive between 0 and 20 |
|
| NewsLetter | boolean |
None. |
|
| FechaAlta | date |
None. |
|
| FechaBaja | date |
None. |
|
| FechaModificacion | date |
None. |
|
| Active12month | boolean |
None. |
|
| BajaEnviada | boolean |
None. |
|
| Password | string |
String length: inclusive between 0 and 50 |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"FK_TiposPersonal_Id": 2,
"Nombre": "sample string 3",
"Apellido": "sample string 4",
"Genero": "sample string 5",
"FechaNacimiento": "2025-10-24T07:40:07.9568046+02:00",
"Telefono": "sample string 7",
"Email": "sample string 8",
"Direccion": "sample string 9",
"Poblacion": "sample string 10",
"CodigoPostal": "sample string 11",
"NewsLetter": true,
"FechaAlta": "2025-10-24T07:40:07.9568046+02:00",
"FechaBaja": "2025-10-24T07:40:07.9568046+02:00",
"FechaModificacion": "2025-10-24T07:40:07.9568046+02:00",
"Active12month": true,
"BajaEnviada": true,
"Password": "sample string 14"
}
application/xml, text/xml
Sample:
<Personal_Tiendas 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 4</Apellido> <BajaEnviada>true</BajaEnviada> <CodigoPostal>sample string 11</CodigoPostal> <Direccion>sample string 9</Direccion> <Email>sample string 8</Email> <FK_TiposPersonal_Id>2</FK_TiposPersonal_Id> <FechaAlta>2025-10-24T07:40:07.9568046+02:00</FechaAlta> <FechaBaja>2025-10-24T07:40:07.9568046+02:00</FechaBaja> <FechaModificacion>2025-10-24T07:40:07.9568046+02:00</FechaModificacion> <FechaNacimiento>2025-10-24T07:40:07.9568046+02:00</FechaNacimiento> <Genero>sample string 5</Genero> <Id>1</Id> <NewsLetter>true</NewsLetter> <Nombre>sample string 3</Nombre> <Password>sample string 14</Password> <Poblacion>sample string 10</Poblacion> <Telefono>sample string 7</Telefono> </Personal_Tiendas>