Versions Compared

Key

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

// TODOFor the user to be able to login, he or she needs to have a user in our system. You need to implement a synchronisation between our systems. A user will have a organisation and a department:

  • Organization

    • Departments

      • Users

      • ….

If you do not have a synchronisation already, you can use our api here:

Department

Code Block
{
  "name": "Some Department",
  "email": department@email.com,
  "organizationId": "some-unique-organization-id",
  "postalAddress": "Osloveien 10",
  "postalCode": "1234",
  "phone": "12345678"
}

User

Code Block
{
  "name": "Ola Nordmann",
  "username": "USERNAME",
  "departmentId": "some-unique-department-id",
  "email": "ola@nordmann.no",
  "phone": "12345678"
  "address": {
    "address": "Osloveien 10",
    "postalOffice": "OSLO",
    "postalCode" "0410"
  }
}