Get a user UIN by his main email address.
{
"cmd" : "0006",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"Email" : "John@mail.com",
"Domain" : "",
"AuthType" : 0
}
Parameter |
Type |
Value |
---|---|---|
cmd |
string |
"0006", the number of the command MCIAPI_CS_GetUINByEmail; |
ServerKey |
string |
IntegrationAPI key, can be set in the server settings; |
APIStype |
string |
integration type. You can set any string; |
string |
main email address of a user; |
|
Domain |
string |
user's domain name. This parameter is used when a user uses domain authorization; |
AuthType |
integer |
user authentication type, number. |
{
"cmd" : "0006",
"UIN" : 17
}
Field |
Type |
Value |
---|---|---|
cmd |
integer |
HEX number of a command that was successfully executed, equal to 6 (HEX 0006); |
UIN |
integer |
unique identifier of the found user (UIN). |
#5, MCIAPI_Error_WrongIntegrationKey
#20, MCIAPI_Error_EmailNotFound
#23: MCIAPI_Error_EmailIsNotDefined