|
|
@ -796,22 +796,31 @@ GET {{hostname}}/presence/clockinout/262 |
|
|
|
Authorization: Bearer {{token}} |
|
|
|
Authorization: Bearer {{token}} |
|
|
|
content-type: application/json |
|
|
|
content-type: application/json |
|
|
|
|
|
|
|
|
|
|
|
####### |
|
|
|
|
|
|
|
"clock_out_lat": -1.4264273154149407, |
|
|
|
|
|
|
|
"clock_out_lng": 113.98530036945851, |
|
|
|
|
|
|
|
###### |
|
|
|
###### |
|
|
|
POST {{hostname}}/presence/add |
|
|
|
POST {{hostname}}/presence/add |
|
|
|
Authorization: Bearer {{token}} |
|
|
|
Authorization: Bearer {{token}} |
|
|
|
content-type: application/json |
|
|
|
content-type: application/json |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
"clock_out_lat": -6.2622811, |
|
|
|
"clock_in_lat": -6.2622811, |
|
|
|
"clock_out_lng": 106.7881746, |
|
|
|
"clock_in_lng": 106.7881746, |
|
|
|
"clock_time": "2023-02-06T16:40:17+07:00", |
|
|
|
"clock_time": "2023-02-06T16:40:17+07:00", |
|
|
|
"type": "out", |
|
|
|
"type": "in", |
|
|
|
"user_id": 1 |
|
|
|
"user_id": 1 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###### |
|
|
|
|
|
|
|
POST {{hostname}}/presence/add |
|
|
|
|
|
|
|
Authorization: Bearer {{token}} |
|
|
|
|
|
|
|
content-type: application/json |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"clock_out_lat": -1.4264273154149407, |
|
|
|
|
|
|
|
"clock_out_lng": 113.98530036945851, |
|
|
|
|
|
|
|
"clock_time": "2023-02-06T16:40:17+07:00", |
|
|
|
|
|
|
|
"type": "in", |
|
|
|
|
|
|
|
"user_id": 1 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
###### |
|
|
|
###### |
|
|
|
# POST {{hostname}}/ |
|
|
|
# POST {{hostname}}/ |
|
|
|