July 16, 2007

Classes
Tags blog

More methods, this time for the bean counters.
<p>(This post refers to SoftLayer API version 1. Check out <a href=http://sldn.softlayer.com/03/2008/and-now-for-someth

(This post refers to SoftLayer API version 1. Check out API version 3 for our latest updates.)

We've put four new methods into the API. They are:

getInvoiceList()
Return a listing for each account that includes the invoice id, date, starting balance, ending balance, invoice amount, payment amount, and account type.

getAccountBalance()
Return the current balance and next bill date for an account.

getInvoice(intInvoiceId)
Retrieve a copy of an invoice in PDF format.

And by request:

getServerCost(strServerIdentifier)
Return the "Total cost of a single server."

Keep’em comin’, epratt!

By the way, users running each of these methods must have the "View Account Summary" priviledge. You should not have any problem if you can access the accounting tools in the portal.


Feedback?

We would love to hear it
Open an issue