Fxiaoke Developer Manual Fxiaoke Developer Manual
  • APL Development Manual
  • PWC Development Manual
  • OpenAPI Documentation
  • Quick Start
  • API Authorization
  • API Basics
  • OpenAPI
  • SSO Integration
  • Client Development
  • FAQ
  • OpenApi Version V1 (opens new window)
  • 简体中文
  • English
  • Quick Start
  • API Authorization
  • API Basics
  • OpenAPI
  • SSO Integration
  • Client Development
  • FAQ
  • OpenApi Version V1 (opens new window)
  • 简体中文
  • English
  • Quick Start

  • API Authorization

  • API Basics

  • OpenAPI

  • SSO Integration

  • Client Development

  • FAQ

    • Deep Pagination
    • Query Conditions
    • Data Permission Error
    • Employee Data Not Found
    Table of Contents

    No Data Found in Person Object

    Sometimes when using the Person Object, you may encounter issues where no data is found or incomplete data is retrieved. This occurs because the Person Object has query permission controls. Solutions:

    # 1. Solution 1

    Apply for Person Object API query permission through product grayscale. Contact Fxiaoke customer service to request this in the CRM product grayscale.

    # 2. Solution 2

    Data Permission Explanation

    1. Click ① to set list query API permissions
    2. Click ② to set detailed information query API permissions
    3. Click ③ to set data creation API permissions

    Data sharing documentation: https://www.fxiaoke.com/mob/guide/crmdoc/src/7-1-3%E6%95%B0%E6%8D%AE%E6%9D%83%E9%99%90%E7%AE%A1%E7%90%86.html (opens new window)

    Configure Person Object sharing rules:

    Person Object Sharing Rule Configuration 1

    1. Locate "Data Management Permissions"
    2. Click "Data Sharing"
    3. Scroll down to find "Person"
    4. Click "Create Sharing Rule"

    Person Object Sharing Rule Configuration 2

    1. Specify which personnel data will be shared
    2. Select the scope of shared personnel data
    3. Set who can view this data. If assigned to a specific person, the openAPI query must use either:
      • x-fs-userid (New parameter method)
      • currentOpenUserId (Old parameter method)
        Otherwise, the shared data cannot be retrieved.

    Configuration takes significant time to take effect. When logging in with the corresponding [openUserId], if data appears on the Person Object list page, the sharing rules are active and API queries will work.

    Data Permission Error

    ← Data Permission Error

    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式