Authenticate Session for Rest Call

Step 3:- Authenticate Session for Rest Call

1) For any Transaction API Call , you need to have a valid token obtained through this authentication API

2) The Timeout for this token is 10 minutes,if a rest api call has not been made for 10 mins the Token is invalidated on the server side and you have to request for a new one using this api

URI:- /api/app/authenticate

Content-Type:- application/json

Method:- GET

Request Header:-

Attribute

Description

appkey

The appkey obtained in Step 1( rest_uu )

password

The password maintained for this app in Rest applications window

Response Payload:-

Attribute

Description

id

Blank String

error

If there are errors in the appkey or password this field is populated, else it is blank

msg

If request is success, the login token is returned in this field

Response Sample(Success):-

{

    "id": "",

    "error": "",

    "msg": "e1TMMBDZUsCTOJVQJeiaKwW0"

}