GET api/ClientesJomar/DameDatosSede?idClienteSede={idClienteSede}
Devuelve los datos de una sede de cliente de Jomar. Hay que pasar por Header el parámetro TokenAuth.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idClienteSede |
Es un GUID de la sede de cliente de la que queremos obtener los datos |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Si todo va bien, devuelve los datos de la cliente especificada. 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
SedeConDatosApiName | Description | Type | Additional information |
---|---|---|---|
idCliente |
GUID del Cliente |
globally unique identifier |
None. |
idClienteSede |
GUID de la sede del Cliente |
globally unique identifier |
None. |
nombre |
Nombre |
string |
String length: inclusive between 0 and 80 |
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 |
tlf |
Teléfono |
string |
String length: inclusive between 0 and 24 |
fax |
Fax |
string |
String length: inclusive between 0 and 24 |
Response Formats
application/json, text/json
{ "idCliente": "eb4bf914-254a-459f-adda-74df9f903faf", "idClienteSede": "e71a3551-432a-4c47-b68e-90d50f2703c8", "nombre": "sample string 3", "direccion": "sample string 4", "codPostal": "sample string 5", "poblacion": "sample string 6", "provincia": "sample string 7", "pais": "sample string 8", "tlf": "sample string 9", "fax": "sample string 10" }
text/html
{"idCliente":"eb4bf914-254a-459f-adda-74df9f903faf","idClienteSede":"e71a3551-432a-4c47-b68e-90d50f2703c8","nombre":"sample string 3","direccion":"sample string 4","codPostal":"sample string 5","poblacion":"sample string 6","provincia":"sample string 7","pais":"sample string 8","tlf":"sample string 9","fax":"sample string 10"}
application/xml, text/xml
<SedeConDatosApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Elecnia_WebApi.Controllers"> <codPostal>sample string 5</codPostal> <direccion>sample string 4</direccion> <fax>sample string 10</fax> <idCliente>eb4bf914-254a-459f-adda-74df9f903faf</idCliente> <idClienteSede>e71a3551-432a-4c47-b68e-90d50f2703c8</idClienteSede> <nombre>sample string 3</nombre> <pais>sample string 8</pais> <poblacion>sample string 6</poblacion> <provincia>sample string 7</provincia> <tlf>sample string 9</tlf> </SedeConDatosApi>