Get Workin Sites
DevelopingGET
/empeo/api/v1/workin-sitesRequest
Query Params
companyName
string
optional
ชื่อบริษัท ถ้าไม่ใส่ช้อมูลจะได้ข้อมูลบริษัททั้งเครือ
Example:
โกไฟว์ จำกัด
take
number
optional
จำนวนข้อมูลที่ต้องการดึง ถ้าใส่ 0 จะได้ข้อมูลทั้งหมด
Example:
10
skip
number
optional
จำนวนข้อมูลที่ต้องการข้าม
Example:
0
workinType
number
optional
ประเภทการ workin GPS = 1, Beacon = 2, BiometricScanner = 3, EmStation = 4
Example:
0
keyword
string
optional
สำหรับค้นหาชื่อสถานที่
Example:
tester
Header Params
Ocp-Apim-Subscription-Key
string
required
Api subscription key get from the OpenAPI integration setting page
Example:
WPe123a9RKbcfLQNSztr45
Authorization
string
required
Authorization credential utilized in API requests
Example:
bearer {token}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"siteId": null,
"deviceId": 889,
"name": "tester",
"name_EN": "tester",
"latitude": null,
"longitude": null,
"locationName": null,
"uuid": null,
"majorId": null,
"minorId": null,
"isGPS": false,
"isiBeacon": false,
"isBiometricScanner": true,
"isAllSite": true,
"isIOMO": true,
"radius": null,
"radiusiBeacon": null,
"ipAddress": "",
"port": 1245,
"dateLastTransfered": "2022-04-08T10:25:27.933",
"serialNo": "123",
"isOnline": false,
"isFaceScan": false,
"isTimeLock": false,
"isStation": false,
"stationKey": null,
"isActive": true,
"createdByName": "[email protected]",
"dateCreated": "2021-03-09T10:55:04.247",
"modifiedByName": "[email protected]",
"dateModified": "2022-03-17T09:49:19.913",
"companyName": "ใช้กับทุกบริษัท",
"companyName_EN": "All companies",
"workinType": 3
}
]
}
Last modified: a year ago