POST Authentication
This API will authenticate the user and will generate unique token which will be valid for 24 hours.
Request Attributes
API Content Type: JSON
body
ATTRIBUTE | DESCRIPTION |
---|---|
client_id
string(52)
mandatory
|
It is base64 of the app-key.
Example: ZmE1MjAI3Nzc4MmUyYjYtZTtyMDE4NIY0ZS00MTY3LWNjTM1Ng==
|
authorization_id
string(56)
mandatory
|
It is encrypted UserId.
Example: yPjcJL1eRuyLHrJaDJMeLu6ORe8xl2NYd63qFp+IJkRUp4UjpDGxJw==
|
Response Attributes
API Content Type: JSON
body
ATTRIBUTE | DESCRIPTION |
---|---|
statuscode
string(3)
|
This is the status code corresponding to a particular message and is returned to the user.
The different status codes corresponding to this API are mentioned below
Example: 200
|
status
boolean
|
This parameter indicates the status of API call.
Possible Values: true or false
|
Token
string
|
Unique Token generated in reponse of this API. It is valid for 24 hours and
user has to send back the same token everytime in each subsequent API Call for communication.
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.TU5NzgyMDA1N30.9eO_xh
eyJEYXRhIjp7InVzZXJpZCI6IjY3NCIsImVtYWlsIjoiYWFhYWFhYWFhYWjuunGJQ
YmwuY29tIiwia2V5IjoidGVzdGluZ0tleSJ9LCJpYXQiOjE1OTc3NDA4NTpj6gc8dM
csIFhY7n1mV4cUBxa2P3ICI6M2VyWq19OzuHAefeTEj
|
Response Codes and Messages
statuscode | status | Description |
---|---|---|
200
|
true
|
Success |
401
|
false
|
Your Session has expired |
409
|
false
|
Conflict has occured |
422
|
false
|
Invalid parameter |
500
|
false
|
System error |