GET AgendaApi/Empleado/{id}
Obtenemos el empleado según el identificador
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identificador |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Empleado
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": 1,
"Nombre": "sample string 2",
"Foto": "QEA=",
"EMail": "sample string 3",
"Telefono": "sample string 4",
"IdVehiculo": 5,
"IdLocalVehiculo": 6,
"NombreVehiculo": "sample string 7"
}
application/xml, text/xml
Sample:
<EmpleadoAgendaDto 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"> <EMail z:Id="2">sample string 3</EMail> <Foto z:Id="3">QEA=</Foto> <Id>1</Id> <IdLocalVehiculo>6</IdLocalVehiculo> <IdVehiculo>5</IdVehiculo> <Nombre z:Id="4">sample string 2</Nombre> <NombreVehiculo z:Id="5">sample string 7</NombreVehiculo> <Telefono z:Id="6">sample string 4</Telefono> </EmpleadoAgendaDto>