Add Timestamps
DevelopingPOST
/empeo/api/v1/timestampsRequest
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}
Body Params application/json
array of:
companyName
string
required
ชื่อบริษัท
timeStamps
array [object {3}]
required
date
string
required
วันที่
time
string
required
เวลา
employeeNo
string
required
รหัสพนักงาน
Example
[
{
"companyName": "โกไฟว์",
"timeStamps": [
{
"date": "2023-10-06",
"time": "10:00",
"employeeNo": "80100"
},
{
"date": "2023-10-02",
"time": "10:00",
"employeeNo": "80100"
},
{
"date": "2023-10-03",
"time": "10:00",
"employeeNo": "80100"
}
]
},
{
"companyName": "ที.เค.เอส.เทคโนโลยีจำกัดมหาชน",
"timeStamps": [
{
"date": "2023-10-01",
"time": "10:00",
"employeeNo": "71087"
},
{
"date": "2023-10-02",
"time": "10:00",
"employeeNo": "71087"
},
{
"date": "2023-10-03",
"time": "10:00",
"employeeNo": "71087"
}
]
}
]
Request samples
Responses
Success(200)
Bad Request(400)
Forbidden(403)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
statusCode
integer
required
message
string
required
Example
{
"status": {
"code": "1000",
"description": "Success"
},
"data": {
"result": true,
"message": "Save successfully!"
}
}
Last modified: a year ago