Created
December 9, 2013 23:24
-
-
Save underscorephil/7882974 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include('softlayer-api-php-client/SoftLayer/SoapClient.class.php'); | |
$apiUsername = ''; | |
$apiKey = ''; | |
$accountClient = SoftLayer_SoapClient::getClient('SoftLayer_Account', null, $apiUsername, $apiKey); | |
$mask = "mask[billingItem[recurringFee, id, orderItem[description, order[userRecord[id, username], id]]]]"; | |
$accountClient->setObjectMask($mask); | |
$servers = $accountClient->getHardware(); | |
print_r($servers); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Phil, after conversion to python can you please provide the code. I tried in python and could not get any results