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
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
{
"checkUserIDs": ["11111111", "11111112"]
}
Field Name | Required | Type | Description |
---|---|---|---|
checkUserIDs | Required | array | List 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
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 |
results | array | Query results |
results.userID | string | User ID |
results.accountStatus | int | Account status: 0 for unregistered, 1 for registered |
Failure Response Example
{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}
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 |