SOAP API method Account_stats

Back to API references

Description
By asking this method, you can see how much e-mails, faxes and sms-messages were send by this account.

Parameters
Parameter 'year' : int
Year number (2006, etc)
Parameter 'month' : int
Month number (1=january)
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'environmentstatistics' : Structure of type 'environmentstatistics'

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'environmentstatistics'
This structure environmentstatistics was mentioned above. This structure has the following properties:
Property 'year' : int
The year of the stats.
Property 'month' : int
The month of the stats.
Property 'sentemail' : int
The number of sent emails.
Property 'sentsms' : int
The number of sent sms messages.
Property 'sentfax' : int
The number of sent fax messages.
Property 'webpages' : int
The number of web pages displayed in this month
Property 'apicalls' : int
The number of soap API calls
Property 'litmustest' : int
The number of litmus tests