GET api/Emotions/GetDepression
获得单个设备的多次抑郁数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AccessToken |
Token |
string |
Required |
Imei |
设备imei号 |
string |
Required |
BeginTime |
开始时间(UTC) |
date |
None. |
EndTime |
结束时间(UTC) |
date |
None. |
Response Information
Resource Description
返回指定时间段内设备的抑郁数据
EmotionsOutputOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Result | Collection of EmotionsOfInt32 |
None. |
|
Code |
状态码 |
integer |
None. |
Message |
错误信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": [ { "Val": 1, "UtcTime": "2025-05-06 19:10:50" }, { "Val": 1, "UtcTime": "2025-05-06 19:10:50" } ], "Code": 1, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<EmotionsOutputOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gps.OpenApi.Models.ResponseModels"> <Code>1</Code> <Message>sample string 2</Message> <Result> <EmotionsOfint> <UtcTime>2025-05-06T19:10:50.6376901+08:00</UtcTime> <Val>1</Val> </EmotionsOfint> <EmotionsOfint> <UtcTime>2025-05-06T19:10:50.6376901+08:00</UtcTime> <Val>1</Val> </EmotionsOfint> </Result> </EmotionsOutputOfint>