Login (cookie based)
Authenticates the user by login name and password and, on success, signs them in with a cookie based session. Rejects the login (401 Unauthorized) if the credentials are invalid, if the account is API-only but the request comes from the portal/mobile app, if the account is employee-only but the request does not come from the mobile app, or if the password has expired. Permissions: All users.
Query Parameters
- Type: stringapi
-version
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
Login credentials (user name and password).
Responses
- 200
OK
Request Example for post/Account/Login
curl /Account/Login \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{}'
No Body
