English
Fx.er
About 139 wordsLess than 1 minute
2026-01-09
1. getPublicEmployeesBindInfo Get Interconnected User Binding Status
Retrieve Interconnected User Binding Status
Fx.er.getPublicEmployeesBindInfo()
Code examples
Long downstreamOuterTenantId = 300108748L
Long downstreamOuterUid = 300384206L
def (Boolean error, Map data, String message) = Fx.er.getPublicEmployeesBindInfo(downstreamOuterTenantId, downstreamOuterUid)
if (error) {
log.info("error: " + error)
} else {
log.info(data)
}Owner:钟兴ZhongXing
2. listWxOpenIdsByPhone Query the list of WeChat openIds associated with a phone number
Query the list of WeChat openIds associated with a mobile phone number
Fx.er.listWxOpenIdsByPhone()
Code examples
def (Boolean error, Map data, String message) = Fx.er.listWxOpenIdsByPhone("18807849027", "wx3ce8441bd6cddce9", 4)
if (error) {
log.info("error: " + error)
} else {
log.info(data)
}Owner:钟兴ZhongXing
3. batchCreateDownstreamPublicEmployees Batch Add Our Contact Persons
Batch Add Our Contacts
Fx.er.batchCreateDownstreamPublicEmployees()
Code examples
String upstreamEa = "82322"
List downstreamEmployeeIds = [1125]
List outerRoleIds = ['00000000000000000000000000000021']
def ret = Fx.er.batchCreateDownstreamPublicEmployees(upstreamEa, downstreamEmployeeIds, outerRoleIds).result() as ListOwner:钟兴ZhongXing
