Headers sent from the app

This lists out all the headers which the app sends to the Simple server in all the requests

Key

Description

Example Value

X-APP-VERSION

The build version string of the Android client. This is generally auto-generated for every build by the continuous deployment service.

2019-08-26-5229

Accept-Language

The current language selected by the user. Currently, this is the device language. In the future, when we build out the in-app language switcher, will be the language selected by the user. See the official docs for more information.

Note: this is only a hint to the server so that they can select strings and set the response language correctly. The response is not verified by the app to be in the selected language.

en-US, hi-IN

X-TIMEZONE-ID

The timezone set by the user on the device. Will be a standard timezone ID.

Asia/Kolkata,Etc/GMT-14

X-TIMEZONE-OFFSET

This will be the raw offset (in seconds) that the current user is from UTC. This value will be inclusive of adjustments like DST.

This is what the server should use if the server needs to find the calendar date a request is being sent from from UTC timestamps.

3600,-3600

X-USER-ID

This is the ID of the logged in user. This field will be absent if the user has not logged in yet.

30b9c537-4a53-4d92-bf0f-cefed3f5e63e

X-FACILITY-ID

This is the facility ID which is selected by the current logged in user. This field will be absent if the user has not logged in yet.

7fc136a1-5ea7-40c7-8154-452a35481340

Last updated