Whether a user may read or write the documents of a category.

Label in Fledge: Koppeling gebruikers met doc.categorie

URLhttps://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks
Keydocument_category_iduser_id
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISURENPC
Write licensesBEHEER
ScopesFLEDGE_PORTALFLEDGE_TERMINAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks" \
  --data-urlencode '$select=document_category_id,user_id,read,write' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks');
url.searchParams.set('$select', 'document_category_id,user_id,read,write');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks" + "?" + string.Join("&",
    "$select=" + Uri.EscapeDataString("document_category_id,user_id,read,write"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/UserDocumentCategoryLinks(document_category_id='{document_category_id}',user_id={user_id})

Fields

FieldTypeDescription
document_category_idkeyStringDocumentcategorie code
user_idkeyInt32Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel
readBooleanLezen: Leesbevoegdheid ja/nee
writeBooleanSchrijven: Schrijfbevoegdheid ja/nee

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
DocumentCategoryDocumentCategoriesone
UserUsersone
Wingman