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

    Set Member Status (Batch)

    # Not recommended to continue using the offline API!!!

    # Description

    Set member status (batch)

    # Request Specification

    Request Method: POST + application/json

    Request Path: https://[${Enter the domain name of the cloud}]/cgi/crm/v2/data/update?thirdTraceId=[${random string}]

    This API is not maintained. It is recommended to use the object-oriented API (modify personnel object)

    # Request Parameters

    Parameter Type Required Description
    corpAccessToken String Yes Enterprise application access token
    corpId String Yes Open platform company account
    openUserIds List Yes List of employee open platform accounts
    status Int Yes Status (1: disabled, 2: enabled)

    # Request Example

    {
      "corpAccessToken": "{corpAccessToken}",
      "corpId": "{corpId}",
      "openUserIds": [
        "openUserId1",
        "openUserId2"
      ],
      "status": 1
    }
    

    # Response Parameters

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

    # Response Example

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

    # Notes

    • Do not use the message field in the return value for logical judgment, as errorMessage may change;
    BI Table Join API
    Update Department

    ← BI Table Join API Update Department →

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