Skip to main content
In Noyax, some records (e.g. customers) can be marked with a sharing code so that only certain users can see them. The API follows the sharing codes of the user sent in X-UserID.

Visibility

A record is visible to the user when:
  • The record has no sharing code (SharingCodeId: null), so it is visible to everyone, or
  • The record’s sharing code is one of the sharing codes assigned to the user.
If your organization has no sharing codes defined, all records are visible.

Effect on the API

Sending a code the user does not have returns 400:
If you get a 404 for a record you expect to exist, check X-CompanyID first, then the sharing codes of the user sent in X-UserID.