GET api/Contacto?ContactoId={ContactoId}
Obtiene todas los contactos del sistema.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactoId |
Id del contacto que quiere buscar. Puede ser 0 y se devuelven todos los contactos del sistema. |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of Contacto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Sector | string |
None. |
|
| Nombre | string |
None. |
|
| Caracteristica | string |
None. |
|
| Telefono | string |
None. |
|
| Interno | integer |
None. |
|
| Direccion | string |
None. |
|
| Ubicacion | Localizacion |
None. |
|
| Rubro | Rubro |
None. |
|
| Horario | string |
None. |
|
| string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 0,
"Sector": "OPTICA",
"Nombre": "OPTIMA",
"Caracteristica": "0342",
"Telefono": "4521779",
"Interno": 2,
"Direccion": "9 de julio 3044",
"Ubicacion": {
"Latitud": 0.0,
"Longitud": 0.0
},
"Rubro": {
"Id": 0,
"Nombre": "",
"Descripcion": "",
"Activo": true,
"RubroPadre": null,
"HijoId": 0,
"Color": "",
"Final": false
},
"Horario": "",
"Whatsapp": ""
}
]
application/xml, text/xml
Sample:
<ArrayOfContacto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClasesMutual">
<Contacto>
<Caracteristica>0342</Caracteristica>
<Direccion>9 de julio 3044</Direccion>
<Horario></Horario>
<Id>0</Id>
<Interno>2</Interno>
<Nombre>OPTIMA</Nombre>
<Rubro>
<Activo>true</Activo>
<Color></Color>
<Descripcion></Descripcion>
<Final>false</Final>
<HijoId>0</HijoId>
<Id>0</Id>
<Nombre></Nombre>
<RubroPadre i:nil="true" />
</Rubro>
<Sector>OPTICA</Sector>
<Telefono>4521779</Telefono>
<Ubicacion>
<Latitud>0</Latitud>
<Longitud>0</Longitud>
</Ubicacion>
<Whatsapp></Whatsapp>
</Contacto>
</ArrayOfContacto>