Skip to main content

account_check

Description

  • Checks if the specified user IDs are already registered in the system.

Request Method

  • POST

Request URL

  • {API_ADDRESS}/user/account_check
Header NameExample ValueRequiredTypeDescription
operationID1646445464564RequiredstringUsed for global traceability, suggested as a unique timestamp per request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"checkUserIDs": ["11111111", "11111112"]
}
Field NameRequiredTypeDescription
checkUserIDsRequiredarrayList of user IDs to check

Success Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"results": [
{
"userID": "11111111",
"accountStatus": 1
},
{
"userID": "11111112",
"accountStatus": 0
}
]
}
}

Success Response Parameter Description

ParameterTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if successful
errDltstringDetailed error information, empty if successful
dataobjectGeneral data object, structure described below
resultsarrayQuery results
results.userIDstringUser ID
results.accountStatusintAccount status: 0 for unregistered, 1 for registered

Failure Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failure Response Parameter Description

ParameterTypeDescription
errCodeintError code; refer to global error code documentation
errMsgstringBrief error message
errDltstringDetailed error information