// roles by customer
UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getCustomersUri())
.pathSegment(customerId)
.path(properties.getCustomersItemListAccessRuleByRolesUri())
.queryParams(customerRefToParams(customerRef))
.queryParam("roles", roles)
.queryParam("listIds", itemListIds)
.toUriString();
// single access rule management
UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getItemListsUri())
.pathSegment(listId)
.path(properties.getItemListAccessRulesUri())
.pathSegment(ruleId)
.toUriString();
// bulk access rule management
UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getItemListsUri())
.pathSegment(listId)
.path(properties.getItemListAccessRulesBulkUri())
.toUriString();