Get Employee Shifts
DevelopingGET
/empeo/api/v1/employees/shiftsRequest
Query Params
employeeNo
string
optional
Example:
99999
companyName
string
optional
Example:
empeo%20Dev%20Test
Header Params
Content-Type
string
optional
Accepted value: application/json
Example:
application/json; charset=utf-8
Ocp-Apim-Subscription-Key
string
optional
Api subscription key get from the OpenAPI integration setting page
Example:
WPe123a9RKbcfLQNSztr45
Authorization
string
optional
Authorization credential utilized in API requests
Example:
Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkIwN0I2RTQ3QTU1MzkxOTdDQ0Y2NzlDNTVEODFFNDQ1RTE2NUQ2QkVSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6InNIdHVSNlZUa1pmTTlubkZYWUhrUmVGbDFyNCJ9.eyJuYmYiOjE3MTE0MzAxOTQsImV4cCI6MTcxMjcyNjE5NCwiaXNzIjoiaHR0cHM6Ly9kZXYudGtzLmNvLnRoL2lkZW50aXR5c2VydmVyMiIsImF1ZCI6WyJJTUMuQVBJIiwiVmVuaW8yLkFQSSIsIkdPRklWRS5BUEkiLCJDbGllbnRQb3J0YWwuQVBJIl0sImNsaWVudF9pZCI6IklNQyIsInN1YiI6ImY3OWY2NWZlLTQ1YzctNDM2OC1hOTM1LWVhNzc3NjJmNTljZSIsImF1dGhfdGltZSI6MTcxMTQzMDE5NCwiaWRwIjoibG9jYWwiLCJlbWFpbCI6ImRldi5uZXd0ZXN0QGhvdG1haWwuY29tIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGV2Lm5ld3Rlc3RAaG90bWFpbC5jb20iLCJuYW1lIjoiZGV2Lm5ld3Rlc3RAaG90bWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiQ2xpZW50SWQiOiJJTUMiLCJyb2xlIjoiIiwidXNlcm5hbWUiOiJkZXYubmV3dGVzdEBob3RtYWlsLmNvbSIsIkNvbXBhbnlJZCI6Ijk4NzY1NDkyNyIsInNpZCI6IkQ1QUZCOUQ2RDRBRkYyQUE4OUJDMzZDRDgxQTU4QzI1IiwiaWF0IjoxNzExNDMwMTk0LCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwiSU1DLkFQSSIsIlZlbmlvMi5BUEkiLCJHT0ZJVkUuQVBJIiwiQ2xpZW50UG9ydGFsLkFQSSIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.5PMFEXBqhcdJ-hoyMH81rVtOG1S-tuYEM4LfEWG7Vc19f2fCL6PRMoFWrNJ-yARprSEOg8wHigpUdfbx_jhqj8k_t1F7oQGMbcBOCPWYZaQupHCM6iOpIXj65-AycBGU7yUrQ5KVFNPuQd1i43qBOJmgPKldAWYKX7Rwm1hsyJZFYWgncpVGOQzYu3LU-KmHW3dgAudvyLfOpb9WS3HW6RnZKe4yrmWetGiicM3ifD0K9ujvdiUmT5RFJ5Q5hL2O1JSUZpUOE0pSQ87mJEUhOmVbqr3B6muzNG2mXJQfEeH0iVIqPl4vkFslFHwIGS13CgnwilzHhPujOO0YLnIegQ
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"statusCode": 200,
"message": "OK",
"totals": 3,
"data": [
{
"shiftId": 30465,
"code": "OFF",
"shiftName": "วันหยุด",
"createdBy": "[email protected]",
"modifiedBy": "[email protected]",
"dateCreated": "2024-01-31T14:13:21.753",
"dateModified": "2024-01-31T14:13:39.263",
"asOfDate": "2024-01-02T00:00:00",
"description": "กำหนดให้เป็นวันหยุดพนักงาน"
},
{
"shiftId": 10257,
"code": "DEFAL",
"shiftName": "สำนักงาน 08.30-17.30 5",
"createdBy": "[email protected]",
"modifiedBy": "[email protected]",
"dateCreated": "2023-11-21T15:36:55.22",
"dateModified": "2023-11-21T15:36:55.22",
"asOfDate": "2023-11-21T00:00:00",
"description": "Flexible 30 min"
},
{
"shiftId": 10490,
"code": "OWNER",
"shiftName": "Owner Shift",
"createdBy": "[email protected]",
"modifiedBy": "[email protected]",
"dateCreated": "2023-09-25T20:50:22.513",
"dateModified": "2023-11-20T23:28:12.4",
"asOfDate": "2023-09-05T00:00:00",
"description": "กะการทำงานของเจ้าของบริษัท"
}
]
}
Last modified: 5 months ago