getCountriesAndStates


SoftLayer_Locale_Country::getCountriesAndStates

Description

This method will return a collection of SoftLayer_Container_Collection_Locale_CountryCode objects. If the country has states, a SoftLayer_Container_Collection_Locale_StateCode collection will be provided with the country.

Parameters

Name Type Description
usFirstFlag boolean

Required Headers

Optional Headers

  • None

Return Values

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