App stand-alone Web interface description



Download 0,49 Mb.
bet5/7
Sana12.06.2022
Hajmi0,49 Mb.
#659318
1   2   3   4   5   6   7
Bog'liq
APK-API Android(4)

Attendance export


POST: /api/attendance/export
Request parameters: application/json

Parameter names

Type

Remarks

userCode

String

Search and enter the user ID content

startTime

String

Starting time

endTime

String

End Time

exportType

String

0=raw data, 1=attendance report

Header

Parameter names

Type

Remarks

pageNum

int

Pagination page number, default is 1

pageSize

Int

How many entries per page, default 30










Back to:Will return a file directly.


File name:list1.xls = Original data, file name:list2.xls=Attendance report



7.5 Query about device information


GET:/api/aboutDevice/loadInfo
Request parameters:

Parameter names

Type

Remarks

/

/

/

Back to:
{


"msg": "操作成功",
"code": 0,
"data": {
"appVersionName": "release 1.0.7_20210318",
"devicesSn": "YGKJ20204202773",
"ethernetMac": "8C:E8:C6:0B:8D:22",
"faceSdkVersion": "V3.8.2",
"romVersionName": "Android 7.1.2",
"usbMode": "USB Device",
"wifiMac": "C0:84:7D:31:85:62"
},
"success": true
}


8. Developer configuration


Developer configuration is the function that the device actively pushes the access records to third-party developers. Developers are requested to implement the Http interface service according to the following interface format.


8.1 Turn on push and configure URL


Push URL currently only supports full URL paths beginning with http or https, please end with "/"
Example:http://app.yecon-tech/api/test/
Please make sure that the URL is accessible (you can click the test button to test whether the interface can be accessed), the device request interface TimeOut is 30S, and each push is up to 10 records.


8.2 Request parameter


HTTP POST application/x-www-form-urlencoded (code UTF-8)

Parameter names

Type

Remarks

data

String

Json message (array), please refer to 8.4

token

String

Parameter signature MD5, please ignore Uppercase lowercase, see 8.3 for details

timeMillis

Long

TimeMillis of the current device

action

String

Only when testing, will pass action=test&data=[]

JSON Message field description (note the Uppercase lowercase)


createTime Create time
devSn device ID
userName Username (Stranger: "Guest")
userCode User ID (empty for strangers)
devUserId User ID (empty for strangers)
faceImageBase64 Common image base64 encoding
id Local record increment Id
passType Access type (0=swipe face, 1=swipe card, 2=swipe QR code)
temp Body temperature during passby (Celsius, if the temperature measurement function is turned off, the field may be empty)



Download 0,49 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish