GET api/Comman/Gett_leaves?staff_id={staff_id}&vendorid={vendorid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
staff_id | integer |
Required |
|
vendorid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LeavesName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
staff_name | string |
None. |
|
staff_id | integer |
None. |
|
fromdate | date |
None. |
|
todate | date |
None. |
|
type | string |
None. |
|
status | string |
None. |
|
reason | string |
None. |
|
halfday1 | boolean |
None. |
|
addressduringleave | string |
None. |
|
phoneduringleave | string |
None. |
|
managernotes | string |
None. |
|
createdate | date |
None. |
|
createby | string |
None. |
|
upadatedate | date |
None. |
|
updateby | string |
None. |
|
backupduringleave | string |
None. |
|
vendorid | integer |
None. |
|
approvedby | string |
None. |
|
halfday2 | boolean |
None. |
|
approvedbymanager | boolean |
None. |
|
approvedbyhr | boolean |
None. |
|
hrnotes | string |
None. |
|
manager | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "id": 1, "staff_name": "sample string 2", "staff_id": 1, "fromdate": "2025-04-04T00:41:48.0623258+00:00", "todate": "2025-04-04T00:41:48.0623258+00:00", "type": "sample string 3", "status": "sample string 4", "reason": "sample string 5", "halfday1": true, "addressduringleave": "sample string 6", "phoneduringleave": "sample string 7", "managernotes": "sample string 8", "createdate": "2025-04-04T00:41:48.0623258+00:00", "createby": "sample string 9", "upadatedate": "2025-04-04T00:41:48.0623258+00:00", "updateby": "sample string 10", "backupduringleave": "sample string 11", "vendorid": 1, "approvedby": "sample string 12", "halfday2": true, "approvedbymanager": true, "approvedbyhr": true, "hrnotes": "sample string 13", "manager": "sample string 14" }, { "$ref": "1" } ]