GET api/device/savedeviceinfo
保存手表相关对象(人员)信息 [手表]
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Item |
人员信息 |
PersonInfo |
None. |
| Language |
语言选项 国内一般用zh-cn |
string |
Required |
| TimeOffset |
手机当前时区,值为数字,如东八区为 8 ,西八区为 -8 |
decimal number |
Required |
| AppId |
APP应用标识 平台申请后返回的APPID |
string |
Required |
Response Information
Resource Description
State状态码 0. 表示成功 1100. 表示设备不存在 4000. 表示失败
SaveDeviceInfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| AvatarUrl |
头像url |
string |
None. |
| State | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AvatarUrl": "sample string 1",
"State": 2,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<SaveDeviceInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gps.OpenApi.Models.ResponseModels"> <Message>sample string 3</Message> <State>2</State> <AvatarUrl>sample string 1</AvatarUrl> </SaveDeviceInfoResult>