API Directory

This Api provides the current leave balance of an employee.

Request

GET https://domain.peoplestrong.com/api/leave/v1/detail/user/{username}

Path parameters

Parameter name Value Description Additional
username string Required

Authorisation

This request requires the use of one of following authorisation methods: API key OAuth2.

For OAuth 2 authorisation, the following scopes are required:

Scope Description
read question

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

LeaveBalanceResponse
400 Bad Request

Bad Request

404 Not Found

Not Found

429

API rate limit exceeded

500 Internal Server Error

Service Unavailable

default

successful operation


Explore this API

username
Response Content-Type

Choose an authorisation method:

API key API key to be used for request
Access Token Access token to be used for request
Try it out!