Create single availability
Changed on/employees/availability/create
post/employees/availability/create
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Query parameters
access_tokenstring required
xxxxxxxxxxxxx
Headers
Content-Typestring required
application/x-www-form-urlencoded
Request body application/x-www-form-urlencoded
Response
200
Example response
{
"status": 1,
"data": {
"id": "0001f8cqb2txxxfkv641a7aqvk",
"employee_id": 2,
"company_id": 11,
"start_time": "2020-04-09T00:00:00+02:00",
"end_time": "2020-04-10T00:00:00+02:00",
"title": "Sample title",
"note": "Sample note",
"created_at": "2020-04-02T23:47:14+02:00",
"created_by": 2
},
"token": "xxxxxxxxxx"
}Changes
- info
endpoint added
- info