AccountProfile

Represents authenticated user's account profile.

Fields

Username
The authenticated user's username.
Name
The authenticated user's name.
EMailAddress
The e-mail address of the authenticated user.
GlobalisationPreferences
A comma separated string containing the authenticated user's globalisation preferences in the format culture_name,time_zone_id,unit_system,fuel_consumption_type e.g. "en-ZA,CE31CEF8,0,0". A list of valid culture names and time zone identifiers can be obtained by calling the appropriate Globalisation API. For unit systems: 0 = metric, 1 = imperial, 2 = imperial (US). For fuel consumption types: 0 = distance units per volume unit (e.g. km/l), 1 = volume units per 100 distance units (e.g. l/100km). NOTE: These preferences are also returned in the custom "X-Globalisation" HTTP header with every response to an authenticated API call.

Note: Fields which are not available will be omitted.

Examples

JSON body:

{
  "Username": "fredn",
  "Name": "Fred Nurc",
  "EMailAddress": "fred@xyz.com",
  "GlobalisationPreferences": "en-ZA,CE31CEF8,0,0"
}

XML body:

<?xml version="1.0"?>
<AccountProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Username="fredn">
  <Name>Fred Nurc</Name>
  <EMailAddress>fred@xyz.com</EMailAddress>
  <GlobalisationPreferences>en-ZA,CE31CEF8,0,0</GlobalisationPreferences>
</AccountProfile>

CSV body:

Username,Name,EMailAddress,GlobalisationPreferences
fredn,Fred Nurc,fred@xyz.com,"en-ZA,CE31CEF8,0,0"