GET AgendaApi/Empleados
Obtenemos todos los empleados activos que pueden salir en la Agenda
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Lista de todos los empleados
Collection of EmpleadoAgendaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Nombre | string |
None. |
|
| Foto | Collection of byte |
None. |
|
| string |
None. |
||
| Telefono | string |
None. |
|
| IdVehiculo | integer |
None. |
|
| IdLocalVehiculo | integer |
None. |
|
| NombreVehiculo | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"Id": 1,
"Nombre": "sample string 2",
"Foto": "QEA=",
"EMail": "sample string 3",
"Telefono": "sample string 4",
"IdVehiculo": 5,
"IdLocalVehiculo": 6,
"NombreVehiculo": "sample string 7"
},
{
"$ref": "2"
}
]
application/xml, text/xml
Sample:
<ArrayOfEmpleadoAgendaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Sofycom.Sofygest.Service.Application.Models.Dtos.Agenda">
<EmpleadoAgendaDto z:Id="2">
<EMail z:Id="3">sample string 3</EMail>
<Foto z:Id="4">QEA=</Foto>
<Id>1</Id>
<IdLocalVehiculo>6</IdLocalVehiculo>
<IdVehiculo>5</IdVehiculo>
<Nombre z:Id="5">sample string 2</Nombre>
<NombreVehiculo z:Id="6">sample string 7</NombreVehiculo>
<Telefono z:Id="7">sample string 4</Telefono>
</EmpleadoAgendaDto>
<EmpleadoAgendaDto z:Ref="2" i:nil="true" />
</ArrayOfEmpleadoAgendaDto>