Admin Retrieving Created System Notification Accounts
Description
- Allows administrators to retrieve a list of created system notification accounts, including ID, avatar, and name.
Request Method
POST
Request URL
{API_ADDRESS}/user/search_notification_account
Header
Header Name | Example Value | Required | Type | Description |
---|---|---|---|---|
operationID | 1646445464564 | Required | string | Used for global traceability, suggested as a unique timestamp per request |
token | eyJhbxxxx3Xs | Required | string | Admin token |
Request Parameters Example
{
"keyword": "",
"pagination": {
"pageNumber": 1,
"showNumber": 10
}
}
Field Name | Required | Type | Description |
---|---|---|---|
keyword | Optional | string | User ID or nickname to search; returns paginated system notification accounts if empty |
pagination | Required | object | Pagination structure |
pagination.pageNumber | Required | int | Current page number, starting from 1 |
pagination.showNumber | Required | int | Number of items per page |
Success Response Example
{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"total": 5,
"notificationAccounts": [
{
"userID": "1974356875",
"faceURL": "url",
"nickName": "notification1111111"
},
{
"userID": "8719627904",
"faceURL": "",
"nickName": "notification1"
},
{
"userID": "4208409642",
"faceURL": "",
"nickName": "notification1"
},
{
"userID": "2776836221",
"faceURL": "",
"nickName": "notification1"
}
]
}
}
Success Response Parameter Description
Parameter | Type | Description |
---|---|---|
errCode | int | Error code, 0 indicates success |
errMsg | string | Brief error message, empty if successful |
errDlt | string | Detailed error information, empty if successful |
data | object | General data object, structure described below |
total | int | Total number of system notification accounts |
notificationAccounts | array | List of system notification accounts |
userID | string | System notification account ID |
faceURL | string | Avatar URL of the system notification account |
nickName | string | Name of the system notification account |
Failure Response Example
{
"errCode": 1001,
"errMsg": "ArgsError",
"errDlt": "1001 ArgsError"
}
Failure Response Parameter Description
Parameter | Type | Description |
---|---|---|
errCode | int | Error code; refer to global error code documentation |
errMsg | string | Brief error message |
errDlt | string | Detailed error information |