-
Notifications
You must be signed in to change notification settings - Fork 14
compensation create
Rohin Awale edited this page Jul 16, 2019
·
1 revision
METHOD | ROUTES | DESCRIPTION | ALLOWED USERS |
---|---|---|---|
POST | /v1/api/compensation/create | allows users apply for leave | All Authorized Users |
{
"days":2,
"leave_reason":"Worked on saturday and sunday during holidays"
}
{
"status": true,
"payload": {
"user": 4,
"reason": "Worked on saturday and sunday during holidays",
"days": 2
}
}
- user in response refers to the user id