pass the serialnumber when you call the extension script.
Ok I did it but then i don’t know how to go about getting the json object I need.
I have this:
[
{
"CodiceCliente" :"154522",
"NomeCliente":"boh",
"SerialNumber":"4857544306F9E89E",
"pppoe_username": "tgwetw",
"pppoe_password": "twt5yw"
},
{
"CodiceCliente" :"54852",
"NomeCliente":"sainen",
"SerialNumber":"48575443677B5B9E",
"pppoe_username": "hthted",
"pppoe_password": "hteh"
}
]
Once I have passed the serialnumber to my extension script, what could I do for obtain for example:
{
“CodiceCliente” :“54852”,
“NomeCliente”:“sainen”,
“SerialNumber”:“48575443677B5B9E”,
“pppoe_username”: “hthted”,
“pppoe_password”: “hteh”
}
You are kind, thanks.