calling billing_item python api, billing_item returned lot of (interesting) local properties not returned. local properties of interest have uptime , fees (e.g. laborfee, onetimefee, hoursused, recurringfee, ...), not returned.
what do:
import softlayer conn = softlayer.create_client_from_env(username='',api_key='') allparents = conn.call('account','getalltoplevelbillingitems') #allparents list billing_items allparents[0] # returns first billing_item dict without lot of relevant parameters
also, children billing items of each parent billing item lack lot of local properties.
this may issue account. suggest try simple rest call this:
https://$username:$apikey@api.softlayer.com/rest/v3.1/softlayer_account/getalltoplevelbillingitems repalce $username , $apikey
if same issue. report opening ticket in softlayer´s portal in order softlayer guys take @ this
Comments
Post a Comment