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

        • Get Todo Statistics By Business
        • Set Enterprise Status To Vacation
          • Get Personal Completed List
          • Get Personal Todo Info
          • Set Enterprise Status Revoke Vacation
        • 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

    • SSO Integration

    • Client Development

    • FAQ

    Table of Contents

    Set Enterprise IM Status to Leave

    # Description

    Set the enterprise IM status to leave.

    # Request Specification

    Method: POST + application/json

    Endpoint: https://${cloud domain}/cgi/crm/v2/special/workState/addVacation?thirdTraceId=${Random String}

    Headers: Refer to Common Parameters

    # Request Parameters

    Parameter Type Required Description
    data Map Yes Data set
      businessId String Yes businessId
      type Int Yes type
      beginTime Long Yes Start time (millisecond timestamp)
      endTime Long Yes End time (millisecond timestamp)

    # Request Example

    {
      "data": {
        "businessId": "businessId",
        "beginTime": 1605583800000,
        "endTime": 1605583800000,
        "type": 1
      }
    }
    

    # Response Parameters

    Parameter Type Description
    traceId string Request unique 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 the response for logical judgment, as errorMessage may change;
    Get Todo Statistics By Business
    Get Personal Completed List

    ← Get Todo Statistics By Business Get Personal Completed List →

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