Hi,
I noticed the used element in the bundles array returned by the sim_balance method is a string and not a number. The value & assigned elements are returned as numbers though. Is this intentional or a glitch?
Example snippet:
"bundles": [
{
"valid_until": "2014-04-02 00:00:00",
"valid_from": "2014-04-01 00:00:00",
"value": 300,
"assigned": 300,
"used": "0.000000",
"type": "sms_super_on_net"
},
{
"valid_until": "2014-04-02 00:00:00",
"valid_from": "2014-04-01 00:00:00",
"value": 3600,
"assigned": 3600,
"used": "0.000000",
"type": "voice_super_on_net"
},
{
"valid_until": "2014-04-16 17:34:19",
"valid_from": "2014-03-16 17:34:19",
"value": 498,
"assigned": 500,
"used": "2.000000",
"type": "sms"
},
{
"valid_until": "2014-04-16 17:34:19",
"valid_from": "2014-03-16 17:34:19",
"value": 279818009,
"assigned": 524288000,
"used": "244469991.000000",
"type": "data"
}
],
Yannick