Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -X POST \
  https://ws.di.no/ws/json/auth/v-3/login/1440 \
  -H 'Content-Type: application/json' \
  -dĀ "{\"username\": \"myname\", \"password\": \"secret\"}"

...

Environments / endpoints

Test

Status
titlePOST

https://staging-ws.di.no/ws/json/auth/v-3/login/ValidTime

Production

Status
titlePOST

https://ws.di.no/ws/json/auth/v-3/login/ValidTime

Request object

...

Field

Description

Example

Data type

Count

username

The username that was provided by the DI service desk

myName

String

1

password

The password that was provided by the DI service desk

secret!23

String

1

ValidTime

Values are between 1 and 1440 minutes which indicates the tome the Token is valid

1440

Sting

1

...