Authentication

Authentication in Partner API is based on a HTTP RESTFul request. In order to authenticate against the service, it is needed to use a valid username and password.

Request

URL Method Need authentication
https://taps-partnerapi.timecut.se/api/auth?format=json POST No

Dto information

Type Message
Request
{
  "Password": "",
  "Username": "",
  "ExternalAgentIdentifier": null
}
Response
{
  "SessionId": "a5a23d83-51b3-4d99-afa1-0078b77f0b1f",
  "ExpiresAt": "2026-08-20T14:19:00.2004471+00:00",
  "Password": "",
  "Username": "",
  "ExternalAgentIdentifier": null
}

Expiration

The session can expired. If a session expired, it is needed to obtain another session id authenticating again. In the authentication response DTO it is possible to obtain the expiration date and time:

Using services that needs authentication

In order to use services that need authentication (check in other chapters that "Need authentication" is "YES") it is needed to attach a cookie with the session information obtained during the authentication.

Cookie information

Key Value
SessionId 00000000-0000-0000-0000-000000000000

 

Test-Login

Username

Password