Validate Token v2

get

/jderest/v2/orchestrator/jde-validate-session

Determine if the the token passed is still valid.

Request

Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Execution - Token is Valid

400 Response

Bad Request - Invalid JSON Input

403 Response

Token is Invalid

415 Response

Invalid Content-Type Header - Must use application/json

444 Response

Invalid Token
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source

500 Response

Server Failed to Process Request
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source
Back to Top

Examples

Example Request

Send the AIS token in the jde-AIS-Auth header (and jde-AIS-Device if applicable) to validate the AIS Server session and associated HTML Server session.

curl "https://ais_server_url/jderest/v2/orchestrator/jde-validate-session" -H "Accept: application/json" -H "jde-AIS-Auth:044MyjuQDgaZAYfKd0ZEAUqM6x1LcnwBAblOqcGLL9KN98=MDE5MDEyNjU0MzUyNzQ1ODIwMjE1MTY5NTEwLjcxLjYyLjEyMzE3NTcxMDA0NjI3OTI="
            

Example Response - Valid

The following example shows the contents of the response body when the session (token) is valid. The HTTP status code will be 200.

{"isValidSession":true}
                

Example Response - Invalid

The following example shows one possible value for the response body when the token is invalid. It is best to use the status code for consistent determination of token validity. Anything other than a 200 status is an invalid token.

{"message":"Invalid Token","exception":"Exception","timeStamp":"2025-09-19T20:16:27.934+0000"}
                
Back to Top