Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetStoresForUser

Retrieves a list of stores the current user has the ViewReports rights for, nested in a BI-specific tree for use in the BI app. The response contains one root node, from which you can traverse its Children (and its Children.Children, and its... you get it).

From outside in, these are the types you will always find: Root (5), Country (4), Region (3), City (2) and Shop (1).

Note that when a user does not have rights on a specific level (e.g. you may see a Region, but not the Country above), this node will have ID -1 and Name Unknown. Needless to point out, but note you cannot use the ID -1 as a value for the GetData service OrganizationUnitID parameter.

Hierarchy

  • GetStoresForUser