This API will soon be deprecated. Please use another API.

    Set Timezone/Language

    Changes the logged-in user's own timezone and language settings.
    The changed settings will be applied the next time the user logs in.

    API Type

    Service API

    Request URL

    • Live environment: https://apis.worksmobile.com/{API ID}/admin/setGlobalization

    • Testing environment: https://sandbox-apis.worksmobile.com/{API ID}/admin/setGlobalization

    HTTP Method

    GET/POST(Content-Type: application/x-www-form-urlencoded; charset=UTF-8)

    Request

    Parameter Type Required Description
    localeCode String Y Language code. URL-encoded with UTF-8.
    ● L01 = ko_KR
    ● L02 = ja_JP
    ● L03 = zh_CN
    ● L04 = en_US
    ● L05 = zh_TW
    timezoneCode String Y Timezone code (=GMT) (Refer to Timezone Code in Appendix.)
    URL-encoded with UTF-8.

    Request Example

    https://sandbox-apis.worksmobile.com/company/admin/setGlobalization?localeCode=L01&timezoneCode=T28
    

    Response

    It returns the value of "data" described in "On Success," which contains the result when the API call succeeds.

    Property Type Required Description
    Result String Y 'success'

    It returns an error code and message when the API call fails(refer to Response common of "Works Mobile Admin API Overview").

    Error Code Error Message Description
    100 Invalid parameter No parameter or invalid parameter
    101 Not exist target Target does not exist.
    500 Api error Internal error