getPreference


SoftLayer_User_Customer::getPreference

Get a preference value for the current user

Description

Select a type of preference you would like to get using SoftLayer_User_Customer::getPreferenceTypes and invoke this method using that preference type key name.

Parameters

Name Type Description
preferenceTypeKeyName string The preference type key name from SoftLayer_User_Preference_Type.

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer/{SoftLayer_User_CustomerID}/getPreference'