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

    • CRM Object API

    • CRM Common API

    • Address Book API

    • Other API

      • Task Todo API

      • Attendance Field Work API

      • Collaborative Approval API

      • Enterprise Connect API

      • Message API

      • Material Management API

      • Network Disk API

      • Marketing API

      • File Service

      • ERP API

      • BI API

      • Offline API

        • Set Member Status Batch
        • Update Department
        • Query Updated Employee List By Time Range
        • Set Member Status
        • Get Department Details
        • Query Employee Info By OpenUserId
        • Set Department Status
        • Update Member
        • Get Department List
          • Query Employee By Mobile
          • Create Preset Object
          • Delete Preset Object
          • Query Preset Object Details
          • Invalidate Preset Object
          • Query Preset Object List
          • Update Preset Object
          • Recover Preset Object
          • Change Preset Object Owner
          • Create Erp Object
          • Query Erp Object List
          • Query Erp Object Details
          • Update Erp Object
          • Recover Erp Object
          • Invalidate Erp Object
          • Change Erp Object Owner
          • Delete Erp Object
    • SSO Integration

    • Client Development

    • FAQ

    Table of Contents

    Get Department List

    # Not recommended to continue using offline API!!!

    # Description

    Retrieve department list

    # Request Specification

    Method: POST + application/json

    Endpoint: https://${cloud domain}/cgi/crm/v2/data/query?thirdTraceId=${Random String}

    # Request Parameters

    Parameter Type Required Description
    corpAccessToken String Yes Enterprise application access token for company authentication
    corpId String Yes Open platform company account

    # Request Example

    {
      "corpAccessToken": "{corpAccessToken}",
      "corpId": "{corpId}"
    }
    

    # Response Parameters

    Parameter Type Description
    traceId string Unique request ID
    errorDescription string Error description
    errorMessage string Error message
    errorCode Int Error codes

    # Response Example

    {
      "traceId": "E-O.827xxxxxx",
      "errorDescription": "success",
      "errorMessage": "OK",
      "errorCode": 0
    }
    

    # Notes

    • Do not use the message field in response for logical judgment as errorMessage may change;
    Update Member
    Query Employee By Mobile

    ← Update Member Query Employee By Mobile →

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