Skip to main content

Admin Retrieving Created System Notification Accounts

Brief Description

  • Administrators can retrieve a list of created system notification accounts, including their ID, avatar, and name.

Request Method

  • post

Request URL

  • http://x.x.x.x:10002/user/search_notification_account
Header NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringoperationID for global link tracking
tokeneyJhbxxxx3XsRequiredstringAdministrator's token

Request Parameters Example

{
"keyword": "",
"pagination": {
"pageNumber": 1,
"showNumber": 10
}
}
Field NameOptionalTypeDescription
keywordOptionstringFill in userID or nickname, if you don't fill in, the system notification number of the corresponding page will be returned by default
paginationRequiredobjectStructure for pagination parameters
pagination.pageNumberRequiredintCurrent page number, starting from 1
pagination.showNumberRequiredintNumber of requests per page

Successful 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"
}
]
}
}

Explanation of Parameters in the Successful Response

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if no error
errDlterrDltDetailed error information, empty if no error
dataobjectGeneral data object, see below for structure
totalintTotal number of system notification accounts
notificationAccountsarrayList of system notification accounts
userIDstringSystem notification account ID
faceURLstringSystem notification account avatar
nickNamestringSystem notification account name

Failed Response Example

{
"errCode": 1001,
"errMsg": "ArgsError",
"errDlt": "1001 ArgsError"
}

Explanation of Parameters in the Failed Response

Parameter NameTypeDescription
errCodeintError code, see the global error code document for details
errMsgstringBrief error message
errDlterrDltDetailed error information