Authentication
Sentinel EMS REST API uses the HTTP Basic Authentication standard, which helps to avoid session maintenance. You must specify the user name and password in each API call. This is done by using the Authorization header of the request, in the following manner:
1.The user name and password are combined into a string called username:password
. User names and passwords that contain a colon character (:) are not supported.
2.The resulting string literal is encoded using Base64.
3.The authentication method Basic
, along with a space, is put before the encoded string.
For example, if the user agent uses admin
as the user name and admin123
as the password, the Authorization header is formed, as follows:
Authorization: Basic YWRtaW46YWRtaW4xMjM=
Sentinel EMS supports Basic Authentication for all login types, in the following format:
Login Type |
Login Credentials (username:password) |
Example | |
---|---|---|---|
Vendor Login |
Use the user ID and its respective password. Format:
|
admin:admin123
|
|
Partner Login |
Use the actual partner user ID with the prefix - "partner-" as the user name. Format:
|
|
|
Customer Login |
Contact Login |
Use the user's e-mail address with the prefix - "endUser-" as the user name. NOTE The prefix - " Format:
|
|
PKID Login |
Use " NOTE The username " Format:
|
|
|
EID Login |
Use " NOTE The username " Format:
|
|
|
Service Account |
Use the user ID and its respective password. Format:
|
testuser:testpassword123
|