Información general del usuario (get)
2 min
https://api.flashtelecom.es/user/numerousuario?apikey=xxxxxxxxxxxxxxxxxxxSustituye "numerousuario" por tu número de usuario (si no lo sabes nos puedes consultar)
RESPUESTA CON USUARIO NO EXISTENTE O NO ASOCIADO A LA APIKEY
{
"status": "fail",
"code": 404,
"message": "User not found."
}RESPUESTA CON USUARIO CORRECTO
{
"status": "success",
"data": {
"user_data": {
"name": "CLIENTE DE EJEMPLO SL",
"username": "cliente_demo",
"email": "[email protected]",
"phone": "910000000",
"ccc_pagos": "ES00XXXXXXXXXXXXXXXXXXXX",
"cnif": "BXXXXXXXX",
"fax": "",
"address": "Calle Ejemplo 123",
"google_address": "",
"city": "Madrid",
"legal_rep_name": "NOMBRE APELLIDOS",
"legal_rep_nif": "XXXXXXXXX",
"is_company": true,
"province": "Madrid",
"post_code": "28000",
"join_date": {
"date": "2024-01-15 00:00:00.000000",
"timezone_type": 3,
"timezone": "Europe/Madrid"
},
"balance": "125.4300",
"new_client": false,
"taxes": true,
"whatsapp": "",
"whatsapp_custom": false,
"id_distribuidor": "99",
"distribuidor": "Distribuidor de ejemplo",
"dni": "Validado",
"master": {
"master": "no"
},
"has_filled_out_profile": true,
"contrato_grabacion": "1",
"id_country": "206",
"iva": "21",
"flatrate_not": "1",
"flatrate_fifty_not": "0",
"flatrate_twentyfive_not": "0",
"flatrate_empty_not": "1",
"balance_not": "10",
"invoice_not": "1",
"role": "master",
"pendiente": "Facturable",
"id_master": null,
"bloquear_alta": "0",
"shared_balance": null,
"token_select": "0",
"token_login": null,
"alerts_enabled": null
}
}
}La respuesta real es mucho más larga y contiene mucha más información