Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Erweitern
titlePage Summary and Index

In this section you find information how to import sensible/personal documents userspecific into hotelkit with an example.

Inhalt
stylenone

...

Characteristics

Sending salary documents includes the following main characteristics:

...

Codeblock
PUT /setup/customer
{
    "enabledRequests":["salary"]
}

To check imports in your test-environment, please make sure you are set as a recipient to read the import. This only applies in the test-environment.

User Syncronization

Setup

As the identifer of a user from the partner (clientID) can also be inserted by the customer, the partner must be able to limit the format of valid identifier. This will be done with a regular expression:

...

Codeblock
Header x-hotelkit-customer-key: demo1
GET /users

> 200
[
   { //complete data set
+ vowels in name       "ID": "16",
      "clientID": null,
      "givenName": "Hans Peter",
      "surName": "Müller",
      "loginName": "u12345",
      "birthDate": "24.12.2019",
      "email": "user@example.com",
      "customerList": ["demo1","demo2"]
   },
   {  //only required information + vowels in name
      "givenName":"Hans Peter",
      "surName":"M\00DCller",
      "customerList":["demo1"]
   }
]

Now the partner should match the available user with their user. First priority should be on the given clientID.

...