moments/retrieve-enterprise-user-moments

Description

  • Retrieving Moments content from corporate users.

Request URL

  • http://127.0.0.1:8888/api/

Request Method

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
openIMUserNameYesstringEnterprise user's wxid, can be retrieved from the database
startObjectIdNointMoments ID, specifies where to start fetching from

When retrieving Moments information for the first time, there is no need to provide the 'startObjectId'. Subsequent requests, however, require the inclusion of the last Moments ID returned from the previous request.

Request Example

 {
  "type": 80,
  "openIMUserName": "xxx@openim",
  "startObjectId": 2222222222222
 } 

Return Example

  {
    "data": {
      "status": 0,
      "desc": "",
      "data": []
    }
  }

Return Parameter Description

Parameter NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark