{{langData.layout_email_2}}{Email Account Here} {{langData.layout_email_3}}{{langData.layout_email_4}}

Away Mode

Retrieve the going out and return home timings of a user.


End Point


    GET https://www.lifecare.sg/lifecare/analytics/getAwayAnalytics
            

Parameters

Key Type Description Example Defined Required
DeviceId String Gateway MAC Address z0a78298473 --
Day Date Stamp Day of the analysis 2015-01-01 --

Response

Value Type Description
eyecare_id String Unique identifier of the sensor record
away_start Date Timestamp Going out timing. If this record is null, the user did not return home last night.
away_end Date Timestamp Return home timing. If this record is null, the user did no return home at the end of the day. (11:59pm is the cut off time)

Returned Object Example


        {
            "RowsReturned": 1,
            "Data": [
                {
                "eyecare_id": "1542105",
                "away_start": "2015-01-01T01:56:21.000Z"
                "away_end": 2015-01-01T08:56:21.000Z,
                }
                ],
            "Error": false,
            "ErrorDesc": null,
            "ErrorCode": null
        }
            

Set up a discussion here!