get_subscribe_users_status
Brief Description
- Retrieve the online status of users subscribed by a specified user.
Request Method
post
Request URL
{API_ADDRESS}/user/get_subscribe_users_status
Header
Header Name | Sample Value | Optional | Type | Description |
---|---|---|---|---|
operationID | 1646445464564 | Mandatory | string | operationID for global link tracing |
token | eyJhbxxxx3Xs | Mandatory | string | Admin token |
Request Parameter Example
{
"userID": "9609746682"
}
Field Name | Optional | Type | Description |
---|---|---|---|
userID | Mandatory | string | User ID to be checked |
Successful Response Example
{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"statusList": [
{
"userID": "9168684795",
"status": 0,
"platformIDs": null
}
]
}
}
Successful Response Parameters Explanation
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, 0 indicates success |
errMsg | string | Brief error message, empty if no error |
errDlt | errDlt | Detailed error message, empty if no error |
data | object | Generic data object, see structure below |
statusList | array | List of online statuses for subscribed users |
statusList.userID | string | User ID |
statusList.status | int | Online status, 1: online, 0: offline |
statusList.platformIDs | array | List of platform numbers, indicating multi-platform presence: 1: IOS, 2: Android, 3: Windows, 4: OSX, 5: Web, 6: MiniWeb, 7: Linux, 8: Android Pad, 9: IPad, 10: admin |
Failed Response Example
{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}
Failed Response Parameters Explanation
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, refer to global error code document for details |
errMsg | string | Brief error message |
errDlt | errDlt | Detailed error message |