POST api/school/attend
保存手表相关对象(人员)信息 [手表]
Request Information
Body Parameters
AttendModelName | Description | Type | Additional information |
---|---|---|---|
GateId |
指令编码 |
string |
None. |
Imei |
IMEI |
string |
None. |
StudentNo |
IMEI |
string |
None. |
StudentName |
IMEI |
string |
None. |
CreateTime |
IMEI |
string |
None. |
TypeId |
IMEI |
string |
None. |
Temperature |
IMEI |
string |
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. 表示失败
NormalResultName | Description | Type | Additional information |
---|---|---|---|
State | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "State": 1, "Message": "sample string 2" }
application/xml, text/xml
Sample:
<NormalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gps.OpenApi.Models.ResponseModels"> <Message>sample string 2</Message> <State>1</State> </NormalResult>