Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This method lets you update specific user interface preferences of yourself or a specific person.

The properties you can update are, among others, user interface language, user interface “culture” or date/time format and the time zone.

URL

(PUT) /api/persons/{uid}/settings
(PUT) /api/persons/me/settings

PARAMETERS

The URL parameters are:

uid

Either pass a user ID or the shortcut “me” for the logged user.

To find users, see persons/list

int or “me”, Mandatory

The body must contain a JSON object with these properties:

language

Optional.

If null or missing then no change will be done.

To change the user interface language. For example:

"language": "fr"

To get all available options check out the “includeOptions” property in method persons/{uid}/settings

string?, Optional

culture

Optional.

If null or missing then no change will be done.

To change the date time format (culture) to a specific region. For example:

"culture": "fr-FR"

To get all available options check out the “includeOptions” property in method persons/{uid}/settings

string?, Optional

timezone

Optional.

If null or missing then no change will be done.

To change the time zone. For example:

"language": "Romance Daylight Time"

To get all available options check out the “includeOptions” property in method persons/{uid}/settings

string?, Optional

RESULTS

The method simply returns the updated properties, see results of Person settings

  • No labels