Encoding.com  Help
  • Home
  • Knowledge Base
  • FAQ
  • API
  • Contact
  • Log In
  • Home
  • Knowledge Base
  • FAQ
  • API
  • Contact
  • Log In

Knowledge Base

Find your answers here.

How do I use GetBandwidthStat for Sub Accounts?

Use GetBandwidthStat to return encoding traffic of selected user. You can specify a certain date to return information on a particular user. Please note “date_to” and “date_from” the optional fields. You should use it if you intend to recieve bandwidth statistic into specified date interval. Post the following XML to the API:

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid>
    <userkey>[UserKey]</userkey>
    <action>GetBandwidthStat</action>
    <action_user_id>[ActionUserID]</action_user_id>
    <date_from>[YYYY-MM-DD]</date_from>
    <date_to>[YYYY-MM-DD]</date_to>
</query>

and your return will be:

<?xml version="1.0"?>
<response>
    <action>getbandwidthstat</action>
    <status>Success</status>
    <result>
    <user_id>[UserID]</user_id>
    <date_from>[Date from]</date_from>
    <date_to>[Date to]</date_to>
    <in>
        <bytes>[amount in bytes]</bytes>
        <gb>[amount in gigabytes]</gb>
    </in>
    <out>
        <bytes>[amount in bytes]</bytes>
        <gb>[amount in gigabytes]</gb>
    </out>
    <turbo>
        <bytes>[amount in bytes]</bytes>
        <gb>[amount in gigabytes]</gb>
    </turbo>
    </result>
</response>
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 3.00 out of 5)
Loading...
Last Updated: 9 years ago

By edchelp

edchelp

Posts   Website

Categories

  • Ingest (49)
    • Aspera (1)
    • Amazon (14)
    • Dropbox (2)
    • Microsoft Azure (2)
    • Rackspace (6)
    • FTP (9)
    • HTTP (5)
  • Processing (365)
    • Presets (55)
    • Images (8)
    • Programmatic Editing (19)
    • Watch Folders (12)
    • Desktop Uploader (6)
    • Notifications (15)
    • Wrappers (10)
    • Audio (16)
    • DRM (2)
    • Closed Captions (7)
    • API (178)
    • User Interface (49)
    • Encoding Errors (126)
    • Open Source Players (2)
  • Delivery (50)
    • CDN (8)
    • CMS (3)
    • Britghtcove (1)
    • Microsoft Azure (2)
    • YouTube (3)
    • Rackspace (5)
    • FTP (6)
    • Amazon (15)
  • Video Glossary (54)
  • Format Support (149)
    • Dolby (1)
    • Adaptive Bitrate (20)
    • Android (6)
    • OTT (11)
    • Codecs (82)
    • iOS (17)
    • Audio (2)
    • Images (9)
    • HTML5 (2)
    • Blackberry (2)
  • Vid.ly (53)
    • Output Profiles (2)
    • Security (8)
    • Open Source Players (4)
  • Getting Started (80)
    • Account Management (26)

FEATURES

Pricing

Speed

Editing

Vid.ly


INTEGRATION

API

Watch Folder

High Speed Desktop

User Interface

FORMATS

Format Support

API XML Presets

Adaptive Bitrate

HLS  |  HDS  |  MSS

DRM

Widevine | Playready | Access

Android

Closed Captions

HTML5 Video

COMPANY

About Us

Contact Us

Blog

Happy Customers


LEGAL

Privacy

Terms Us

SLA

ACCOUNT

Sign Up

Log In


SUPPORT

Knowledge Base

FAQ

Live Chat

Free Consult

Email Us
  • Twitter
  • Facebook
  • Google+

Copyright 2016 Encoding.com | All Rights Reserved