Get Access Token
This API is used to retrieve a new access key along with a refresh key by submitting api user login details together with client credentials.
Request
This endpoint expects an object.
Password
This is the Web API user’s password. If not available, request it from the admin who created the user.
UserName
Get this from your system admin or from HRMS: Setup > Web API > User in your HRMS admin portal.
client_id
Request credential from admin. It is from EAM portal.
grant_type
Fixed as "password"
client_secret
Paired with client_id, also from the EAM portal.
serviceConnection
Service Connection is a parameter to distinguish or specify the connection or tenant, especially in multi-tenant or multi-service environments. This field is optional. Get the value from IT or check in web.config. If client don’t have multi-tenant setups, may leave it out.
Response headers
Pragma
Expires
Cache-Control
Referrer-Policy
X-Frame-Options
X-XSS-Protection
X-Content-Type-Options
Response
OK
expires_in
token_type
access_token
refresh_token
