GET api/ClientesJomar/DameDatosCliente?idCliente={idCliente}
Devuelve los datos de un cliente de Jomar. Hay que pasar por Header el parámetro TokenAuth.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idCliente |
Es un GUID del cliente del que queremos obtener los datos |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Si todo va bien, devuelve los datos del cliente especificado. Si hay un fallo con la autorización (TokenAuth) devuelve una respuesta de Error 401. Si no lo encuentra devuelve una respuesta de Error 404
ClienteConDatosApiName | Description | Type | Additional information |
---|---|---|---|
idCliente |
GUID del Cliente |
globally unique identifier |
None. |
nombreCliente |
Nombre |
string |
String length: inclusive between 0 and 250 |
cif |
CIF |
string |
String length: inclusive between 0 and 16 |
direccion |
Dirección |
string |
String length: inclusive between 0 and 250 |
codPostal |
Código Postal |
string |
String length: inclusive between 0 and 7 |
poblacion |
Población |
string |
String length: inclusive between 0 and 50 |
provincia |
Provincia |
string |
String length: inclusive between 0 and 50 |
pais |
País |
string |
String length: inclusive between 0 and 24 |
|
string |
String length: inclusive between 0 and 4000 |
|
tlf1 |
Teléfono 1 |
string |
String length: inclusive between 0 and 24 |
tlf2 |
Teléfono 2 |
string |
String length: inclusive between 0 and 24 |
fax |
Fax |
string |
String length: inclusive between 0 and 24 |
movil |
Teléfono Móvil |
string |
String length: inclusive between 0 and 24 |
Response Formats
application/json, text/json
{ "idCliente": "a00fc4e4-2308-4469-952b-3d1159919447", "nombreCliente": "sample string 2", "cif": "sample string 3", "direccion": "sample string 4", "codPostal": "sample string 5", "poblacion": "sample string 6", "provincia": "sample string 7", "pais": "sample string 8", "email": "sample string 9", "tlf1": "sample string 10", "tlf2": "sample string 11", "fax": "sample string 12", "movil": "sample string 13" }
text/html
{"idCliente":"a00fc4e4-2308-4469-952b-3d1159919447","nombreCliente":"sample string 2","cif":"sample string 3","direccion":"sample string 4","codPostal":"sample string 5","poblacion":"sample string 6","provincia":"sample string 7","pais":"sample string 8","email":"sample string 9","tlf1":"sample string 10","tlf2":"sample string 11","fax":"sample string 12","movil":"sample string 13"}
application/xml, text/xml
<ClienteConDatosApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Elecnia_WebApi.Controllers"> <cif>sample string 3</cif> <codPostal>sample string 5</codPostal> <direccion>sample string 4</direccion> <email>sample string 9</email> <fax>sample string 12</fax> <idCliente>a00fc4e4-2308-4469-952b-3d1159919447</idCliente> <movil>sample string 13</movil> <nombreCliente>sample string 2</nombreCliente> <pais>sample string 8</pais> <poblacion>sample string 6</poblacion> <provincia>sample string 7</provincia> <tlf1>sample string 10</tlf1> <tlf2>sample string 11</tlf2> </ClienteConDatosApi>