Request a Token v2

get

/jderest/v2/orchestrator/jde-login

Request an AIS token to be used for subsequent requests. Authentication is performed with given credentials and a session token is returned.

Request

Header Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

Successful Execution

400 Response

Bad Request - Invalid JSON Input

403 Response

Authorization Failure

405 Response

Allowed Hosts on the HTML server is not configured to accept requests from this AIS Server

415 Response

Invalid Content-Type Header - Must use application/json

445 Response

Mobile SSO Failed

446 Response

Mobile SSO Requested, but SSO is not Enabled on this AIS Server

500 Response

Server Failed to Process Request
Back to Top

Examples

Example Request

This example demonstrates using the Basic Authentication header to request and AIS Token

curl "https://ais_server_url/jderest/v2/orchestrator/jde-login" -H "Accept: application/json" -H "Authorization: Basic SkRFOkpERQ==" 
    

Example Response

The following example shows the contents of the response body.

{
    "username": "JDE",
    "environment": "JDV920",
    "role": "*ALL",
    "jasserver": "[jas_server_url]",
    "userInfo": {
        "token": "044ZQNmLGH+5+8ker4Q0hFKq6zIMNxGzCm4kpgtfVOl8to=MDE5MDEyMzU0ODYxNDQ2MTA2Nzk0ODY1NjEwLjcxLjYyLjEyMzE3NTcxMDAzOTgzOTk=",
        "langPref": "E",
        "locale": "en",
        "dateFormat": "DME",
        "dateSeperator": "/",
        "simpleDateFormat": "dd/MM/yyyy",
        "timeFormat": "12",
        "decimalFormat": ".",
        "addressNumber": 1,
        "alphaName": "Financial/Distribution Company",
        "appsRelease": "E920",
        "country": " ",
        "username": "JDE",
        "longUserId": "jde@oracle.com",
        "timeZoneOffset": "UTC-05:00",
        "dstRuleKey": "USA",
        "dstRule": {
            "startDate": 0,
            "endDate": 0,
            "startDayOfWeek": 1,
            "dstSavings": 3600000,
            "endDay": 1,
            "endDayOfWeek": 1,
            "endMonth": 10,
            "startDay": 2,
            "startMonth": 2,
            "effectiveYear": 1970,
            "startEffectiveDate": 259200000,
            "endEffectiveDate": null,
            "ruleDescription": "U.S. Daylight Saving",
            "dstruleOffset": 3600000,
            "endTime": 7200000,
            "startTime": 7200000
        }
    },
    "userAuthorized": false,
    "version": null,
    "poStringJSON": null,
    "altPoStringJSON": null,
    "aisSessionCookie": "sqMbWFdAdkrMHBz2Sp6UATuiXjRV7KXRPGPusE2Lw_u8tHOY8FNa!1620219811!1757100398400",
    "adminAuthorized": true,
    "passwordAboutToExpire": false,
    "envColor": "#1e4a6d",
    "machineName": "[ais_machine_name]",
    "currencyEnvironment": true,
    "externalJASURL": "[external_jas_server_url]"
}
    
Back to Top