Get capacity - absenceio/PublicAPI GitHub Wiki
DEPRECATED: Please do not use anymore.
##Get user capacity
POST publicApi/allowances/remaining?apiKey=<apiKey here>
##Body
parameter | type | comment |
---|---|---|
string | ||
start | date | mm-dd-yyyy |
end | date | mm-dd-yyyy |
Returns user capacity report.
{
"data": {
"email": "[email protected]",
"reasons": [
{
"name": "Fortbildung",
"daysCount": 3
},
...
]
}
}
####You can expect to get the following response:
parameter | type | default |
---|---|---|
data | object |
##data object
parameter | type | default |
---|---|---|
string | ||
reasons | array |
##reasons array
parameter | type | comment |
---|---|---|
name | string | |
dayCount | int |