Browse Source

update sample presence

pull/3/head
ibnu 2 years ago
parent
commit
4ca0f1105e
  1. 21
      rest-client.http

21
rest-client.http

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

Loading…
Cancel
Save