Find customers considering the hierarchy the customers are in.
Syntax
Map< Customer, Integer >
findHierarchicalCustomer
(
long
callingAgentId
,
Address
address
,
Identification
identification
,
boolean
anyIdOrgUnit
,
Long
blacklistReason
,
String
displayName
,
Integer
customerType
,
Integer
minHierarchyLevel
,
Integer
maxHierarchyLevel
,
int
maxRecords
,
String
orgUnit
)
Parameters
-
callingAgentId –
The Id of the Customer which is calling the service, considered as starting point of the hierarchy
-
address –
The address of the Customer to be found, pass null if address is to be ignored
-
identification –
The identificction of the Customer to be found, pass null if identification is to be ignored
-
blacklistReason –
The blacklistReason of the customers which are to be found. Pass null if this is to be ignored
-
displayName –
The displayName of the customers which are to be found
-
customerType –
The customer type the customer to be found has tohave
-
minHierarchyLevel –
The min hierarchylevel to search for. Pass null to ignore
-
maxHierarchyLevel –
The max hierarchylevel to search for. Pass null to ignore
-
maxRecords –
The maximum number of records which is to be returned by the service
Returns
A map containing Customers (Key) with the corresponding hierarchylevel(Value)
Usage
If the min or max HierarchyLevel are to be ignored set the corresponding value to null.
A map containing Customers (Key) with the corresponding hierarchylevel(Value)