ibm - Enable to get the nextInvoiceTotalAmount from SoftLayer_account object -
i cannot nextinvoicetotalamount softlayer_account object using softlayer rest api
https://api.softlayer.com/rest/v3.1/softlayer_account/getobject.json?objectmask=mask[id,nextinvoicetotalamount,openticketcount,openticketswaitingoncustomercount]
could let me know how can attribute of current balance, please?
this due attribute requires use of legacy object mask in request, current balance request should add "balance" property in mask, try improved request:
updated retrieve current balance , next invoice amount.
https://[username]:[apikey]@api.softlayer.com/rest/v3.1/softlayer_account/getobject?objectmask=id;nextinvoicetotalamount;openticketcount;openticketswaitingoncustomercount;balance
don't forget replace [username], , [apikey] valid credentials.
currently portal using softlayer_account::getnextinvoicetotalamount method retrieve specific attribute, try this:
https://[username]:[apikey]@api.softlayer.com/rest/v3.1/softlayer_account/getnextinvoicetotalamount
fore more information please see below:
https://sldn.softlayer.com/reference/services/softlayer_account/getnextinvoicetotalamount
wiki
Comments
Post a Comment