User Login


All the ‘N/A’fields or optional fields can be sent as blank or can be removed as well from the payload.

URL

Staging  https://usr.jointheplanetproject.app/

Endpoint

POST  api/Login/LoginUser


Attributes

userLoginInfo

User Login Info Definition

userName

String

This is the user code provided by JTP

password

String

This is the password provided by JTP

application

Application Definition

appKey

String

This is the appKey provided by JTP

Request Body application/json

{
    "userLoginInfo": {
        "userName": "xxxxxx",
        "password": "xxxxxx",
        "application": {
            "appKey": "applicationKey"
        }
    }
}
Example JSON Response
{
    "data": {
        "userLogged": {
            "user": {
                "userId": 999999,
                "userUuid": "xxxx-08b2-xxxx-93c6-xxxxx"
            },
            "userToken": {
                "appToken": "userToken",
                "expiresInSeconds": 21600
            },
            "refreshToken": {
                "appToken": "refreshToken",
                "expiresInSeconds": 0
            }
        }
    },
    "errors": null,
    "server_info": {
        "source": null,
        "time": null,
        "serverDebugInfo": []
    }
}