Page 1 of 2

Usage XML specification

Posted: Mon Apr 16, 2012 9:40 am
by kenobiajay
Hi Exetel,

I'm developing a usage meter app for WP7 and would like to know the XML structure for HSPA accounts from this: https://www.exetel.com.au/members/usage ... e,password

I have an ADSL account, and thus have downloaded the XML for adsl accounts. My question is:
  • Will that link above work for HSPA accounts?
  • What is the structure of the XML for HSPA accounts? Can you please send me an example?
Thanks

Re: Usage XML specification

Posted: Mon Apr 16, 2012 12:57 pm
by stevecJ
kenobiajay wrote:Hi Exetel,

I'm developing a usage meter app for WP7 and would like to know the XML structure for HSPA accounts from this: https://www.exetel.com.au/members/usage ... e,password

I have an ADSL account, and thus have downloaded the XML for adsl accounts. My question is:
  • Will that link above work for HSPA accounts?
  • What is the structure of the XML for HSPA accounts? Can you please send me an example?
Thanks
Hi,

I will check this with our developers and get back to you with an update soon.

Re: Usage XML specification

Posted: Mon Apr 16, 2012 2:49 pm
by stevecJ
Hi,

I have checked with developers and it appears that the XML structures are available only for ADSL and Mobile and it is not available for the HSAP services.

If you require I can email you an example structure for ADSL and mobile services.

Re: Usage XML specification

Posted: Mon Apr 16, 2012 3:26 pm
by kenobiajay
stevecJ wrote:Hi,
If you require I can email you an example structure for ADSL and mobile services.
Yes please, could you email me the structure for mobile services. How would I download the XML for mobile services? https://www.exetel.com.au/members/usage ... e,password returns data for ADSL only.

Re: Usage XML specification

Posted: Mon Apr 16, 2012 4:01 pm
by stevecJ
kenobiajay wrote: Yes please, could you email me the structure for mobile services. How would I download the XML for mobile services? https://www.exetel.com.au/members/usage ... e,password returns data for ADSL only.
Hi,

I have emailed you the details.

Re: Usage XML specification

Posted: Sat May 19, 2012 3:39 pm
by -kevin
Hi,
I'm interested in that info as well - is it possible to post a few clues here or email me the info as well?

regards,
Kevin
kevin at newcastleit com au

Re: Usage XML specification

Posted: Sat May 19, 2012 8:49 pm
by NIrmitha
I'm interested in that info as well - is it possible to post a few clues here or email me the info as well?
Hi Kevin,

I have emailed you the details :)

Re: Usage XML specification

Posted: Sat May 19, 2012 8:55 pm
by Dazzled
I haven't looked at wireless broadband for a while but the ADSL meter is similar. XPaths for that are:
Peak usage, value of //CurrentMonthUsage/PeakDownload
Peak allowance, value of //PlanDetails/PeakTimeDownloadInMB
Offpeak usage, value of //CurrentMonthUsage/OffpeakDownload
Offpeak allowance, value of //PlanDetails/OffpeakTimeDownloadInMB
Meter update time, value of //UpdateDatetime
Plan name, value of //PlanName
For daily usage, values of //Daily/UsageDate, //Daily/PeakDownload, //Daily/PeakUpload , //Daily/OffpeakDownload, //Daily/OffpeakUpload

If you have a library to handle XPath, scripting is straightforward. I use xmlstarlet.

Re: Usage XML specification

Posted: Sat Aug 25, 2012 3:39 pm
by sam.adl
I also would like details about how to get XML usage data for my mobile service please :)

Re: Usage XML specification

Posted: Sat Aug 25, 2012 5:05 pm
by KavindaS
sam.adl wrote:I also would like details about how to get XML usage data for my mobile service please :)
Hi Sam,

I emailed you the details to your nominated email address of your account. :)

Re: Usage XML specification

Posted: Sat Aug 25, 2012 6:04 pm
by sam.adl
KavindaS wrote:
sam.adl wrote:I also would like details about how to get XML usage data for my mobile service please :)
Hi Sam,

I emailed you the details to your nominated email address of your account. :)
Thanks for your prompt reply.
That's pretty amazing you can get every single call detail by XML but not quite what I was after.

See the attachment, a screenshot from the members area. It is mainly my cap usage that I am most interested in. Is there anyway to get that sort of information?

Re: Usage XML specification

Posted: Sat Aug 25, 2012 10:54 pm
by Kaushalya
Thanks for your prompt reply.
That's pretty amazing you can get every single call detail by XML but not quite what I was after.

See the attachment, a screenshot from the members area. It is mainly my cap usage that I am most interested in. Is there anyway to get that sort of information
Hi Sam,

I will check with our developers and let you know :)

Re: Usage XML specification

Posted: Wed Aug 29, 2012 1:16 pm
by Kaushalya
Thanks for your prompt reply.
That's pretty amazing you can get every single call detail by XML but not quite what I was after.

See the attachment, a screenshot from the members area. It is mainly my cap usage that I am most interested in. Is there anyway to get that sort of information



Hi Sam,

I will check with our developers and let you know :)
Hi Sam,

I have sent you an email with regard to the above request.

Re: Usage XML specification

Posted: Wed Aug 29, 2012 2:27 pm
by sam.adl
No worries, thanks for investigating.

I will just continue to log in to the members area every few days to check my mobile cap usage.

Re: Usage XML specification

Posted: Wed Aug 29, 2012 3:05 pm
by Dazzled
sam.adl, you haven't mentioned the platform, and I don't know if you can script, so if that's out of the question, read no further.

If you already have a working script to get the XML, you could just add a line to do the total and subtraction and show only the result. Otherwise you could GET the user facility page, search for the summary line, and display it only. The latter method has the usual disadvantage that it would need re-writing if Exetel changes the page.