Name | Type | Required | Default Value | Description |
---|---|---|---|---|
site_url | String | Yes | - | Fully qualified site domain url e.g. http://anjan001.webpowerup.ca/ |
login | String | Yes | - | Username or email to login with. |
password | String | Yes | - | The password |
tokenDuration | Int | No | 3600 | Authorization token expiration time |
{ "code": 1, "message": "Ok!", "data": { "token": "63682d6c99ae1b22ad93294e686a6d28", "customer": { "customer_id": 2, "site_id": 212, "customer_fname": "Anjan", "customer_lname": "Bhowmik", "customer_email": "anjan@virtism.com", "customer_gender": "Male", "group_code": "", "registered_date": "2015-01-25 11:05:10" } } }