Log in to EPE REST Service APIs
Use these APIs to log in to the EPE REST Service:
- POST api/account/login (Digest)
- POST api/account/logoff (Digest)
- POST Token (Bearer)
POST api/account/login (Digest)
This API is used to login under a specified account.
This operation returns a session hash value in the body of the response. Use this value in api/Epe/CheckPassword requests by providing it in the header of the request.
Authentication required – No
Required Input Parameters
{
"username":"username",
"password":"password"
}
Example

POST api/account/logoff (Digest)
This API is used to log off from a specified session.
This operation ends the session for the specified account, and the hash value isn't valid anymore.
Authentication required – Digest
Required Header Input Parameters
"User”: <username>
"Authorization”:”Hash”
"Hash": <hashvalue>
Example

POST Token (Bearer)
This API is used to login under a specified account.
This operation returns an access_token value in the body of the response. Use this value in api/Epe/CheckPassword requests by providing it in the header of the request.
Authentication required – Bearer
Required Input Parameters (TEXT Format)
userName=<username>&password=<password>&grant_type=password&client_Id=self
Example
