Mobile API Documentation

Authenticate and Login User

Overview: Use this service to login the customer. After authentication you pass the session_code in following requests for authentication.

Input Parameters

All parameters are mandatory with every API call.
Parameter Description
app_name Application name e.g. "idex-ios" or "idex-android"
app_version Application version e.g. "1.2.1"
app_key Secret application key, string, e.g. "ABCDEFGAASFDA13456211233".
cust_login Customer login name, e.g. "johnycash"
cust_pwd Customer password, e.g. "myPass52Secret"

Sample Request Extended

HTTP JSON
Endpoint: https://mobapi.idexonline.com/account/api/v2.0/login
{
	"app_name":"idex-ios",
	"app_version":"1.2.1",
	"app_key":"IMAStg24B",
	"cust_login":"johnycash",
	"cust_pwd":"myPass52Secret"
	
}

Sample Response

JSON Data with HTTP Code 200
If all goes well, the response will be an HTTP 200 code and the response_code in the JSON will be 0.
{
	"result_info": {
		"response_code": 0,
		"response_description": null
	},
	"results": {
		"user_id": 12345,
		"user_first_name": "Lenny",
		"user_last_name": "Johnson",
		"user_email": "lenny.johns.sample@gmail.com",
		"company_id": 158366,
		"company_name": "IDEX QA1",
		"session_code": "MOB_20240523065727_1u1FnnB6vyD5MI6adfUa8b"
	}
}
		


Important Response Codes

Response Code Description
61001 json_missing_authentication_details
61004 json_missing_authentication_username
61005 json_missing_authentication_password
61301 auth_authentication_failed


Test the API


Generate JSON Request



POST






© IDEX Online 2024   -   www.idexonline.com