Login

The below API is used to get the users Login information.

Request: POST

Signature: /api/mobile/Login

Body:

{

"UserID":"USER_ID",

"Pass":"USER_PASSWORD",

"DeviceType":"USER_DEVICE",

"DeviceName":"USER_DEVICE_NAME",

"DeviceID":"USER_DEVICE_ID",

"Zone":USER_ZONE

}

Sample: http://xyz.trakit.in/api/mobile/Login

Body:

{

"UserID":"TOM",

"Pass":"TOMP@SSSW0RD",

"DeviceType":"Android",

"DeviceName":"HUAWEILLD-AL10",

"DeviceID":"63528ec6ae05a1f7",

"Zone":180

}

Response:

{

"Code": 1,

"Info": "VomYEMiECFFyAQ3==",

"RowsAffected": 0,

"Scalar": null,

"Identity": 0,

"RetInfo": "Billing Number;Shipments;Mobile Module;False;B/N"

}

Things to know about this API:

    1. These fields are mandatory while sending request body:

      • UserID

      • Pass

      • DeviceType

      • DeviceName

      • DeviceID

      • Zone

    2. Info is displaying user's token.

    3. Zone is displaying user's zone in minutes. Like here Zone is 180 which means UTC+3.

    4. RetInfo result is explained below: