English
Fx.er
About 275 wordsLess than 1 minute
2026-01-09
Summary
The overview of this document is as follows: This document introduces the API definitions of Fx.er, usage methods, and related notes.
1. getPublicEmployeesBindInfo Get 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("1880***9027", "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
Changelog
| Version | Date | Changes | Author |
|---|---|---|---|
| v1.0 | 2026-05-20 | Initial version |
Background
This document provides detailed information about the Fx.er API functionality and usage, helping developers integrate relevant capabilities.
Applicable Scenarios
Specific applicable scenarios are determined by actual business needs. Developers can select the appropriate API for integration as required.
Prerequisites
- Access to Fxiaoke Open Platform
- Application authorization and configuration completed
- Basic knowledge of relevant business domain
Steps
Please refer to the detailed instructions for each API.
Notes
- Ensure prerequisites are met before calling APIs
- Pay attention to API call frequency limits
- Refer to error code documentation for exception handling
Compatibility note: This version currently has no deprecated or compatibility notes.
