login

Description: 
Allows to retrieve Customer structure from email and password

Parameters:
email. string
password. string
platformId - integer
deviceId - string

Response:
Response will be Customer structure

{
    "Message": "ok",
    "Data": {
               "Guid": "00000000-0000-0000-0000-000000000000",
               "FirstName": "Alber",
               "LastName": "Camus",
               "Email": "123@gmail.com",
               "ApiKey": "1f31e71f-0f12-4024-aa40-71f9a060f8a7",
               "MobilePhone": 995512345678,
               "Culture": "en",
               "PlatformId": 1,
               "DeviceId": "1234abcd",
               "StatusId": 5
    },
   "ErrorCode": 0
}
StatusId values: 1 = Pending. 5 = Active

Example:
/api/v1/login/?email={YOUR E-MAIL}&password={YOUR PASSWORD}&platformId=1&deviceId=dfdsgf

Comments