Deprecated - Update the authentication status of the session
put
https://oaainstall-host/risk-analyzer/session/v1/{requestId}
Deprecated: Please use updatesessionsecurely API.
This API updates authentication status of the user's session
Request
Path Parameters
Supported Media Types
- application/xml
- application/json
Root Schema : schema
Type:
object
Session data present in the request.
Show Source
-
analyzePatterns: boolean
Flag to indicate if pattern analysis should be done for this session. Set this flag to true, if pattern based rules are used.
-
authenticationStatus(required): integer
One of the config values from auth.status.enum. To check the possible values of the auth.status.enum, use the config property REST API operation GET with URL <PolicyURL>/policy/config/property/v1?propertyName=auth.status.enum. It is recommended to use a value corresponding to pending status when creating the session.
-
clientApplication: string
The client application of the user's session. This is a customer defined value, typically of the application name that is using or integrating with this API.
-
clientType(required): integer
The client type of the user's session. One of the config values from client.type.enum. To check the possible values of the client.type.enum, use the config property REST API operation GET with URL <PolicyURL>/policy/config/property/v1?propertyName=client.type.enum
-
clientVersion: string
The version of the client application of the user's session. This is a customer defined value, typically of the version of the application that is using or integrating with this API.
-
externalDeviceId: string
External device id if the client wants to populate. This is a customer defined value, and can be used to identify, or indicate, a device name or some external Id, that this session may be coming from. A typical example can be a name or id of the terminal where the session is originating
-
registerDevice: boolean
Attribute is flag when true will result in registering the device for the user.
-
requestId(required): string
requestId for the request
Root Schema : schema
Type:
object
Session data present in the request.
Show Source
-
analyzePatterns: boolean
Flag to indicate if pattern analysis should be done for this session. Set this flag to true, if pattern based rules are used.
-
authenticationStatus(required): integer
One of the config values from auth.status.enum. To check the possible values of the auth.status.enum, use the config property REST API operation GET with URL <PolicyURL>/policy/config/property/v1?propertyName=auth.status.enum. It is recommended to use a value corresponding to pending status when creating the session.
-
clientApplication: string
The client application of the user's session. This is a customer defined value, typically of the application name that is using or integrating with this API.
-
clientType(required): integer
The client type of the user's session. One of the config values from client.type.enum. To check the possible values of the client.type.enum, use the config property REST API operation GET with URL <PolicyURL>/policy/config/property/v1?propertyName=client.type.enum
-
clientVersion: string
The version of the client application of the user's session. This is a customer defined value, typically of the version of the application that is using or integrating with this API.
-
externalDeviceId: string
External device id if the client wants to populate. This is a customer defined value, and can be used to identify, or indicate, a device name or some external Id, that this session may be coming from. A typical example can be a name or id of the terminal where the session is originating
-
registerDevice: boolean
Attribute is flag when true will result in registering the device for the user.
-
requestId(required): string
requestId for the request
Response
Supported Media Types
- application/xml
- application/json
- text/plain
200 Response
User authentication session status is stored.
Root Schema : StatusResponse
Type:
object
Status information for API call
Show Source
-
responseCode: string
status code of the request
-
responseMessage: string
response message related to the response code if needed.
-
sessionId: string
session id of the authentcation.
-
status: boolean
authentication update request status
-
transactionId: number
transactionId in case of transaction data.
-
userData: object
SessionUserData
user related data
Nested Schema : SessionUserData
Type:
object
user related data
Show Source
-
groupName(required): string
group name
-
loginName(required): string
Login name used for authentication
-
userId: string
user identifier.
401 Response
Unauthorized
405 Response
Invalid input
Root Schema : StatusResponse
Type:
object
Status information for API call
Show Source
-
responseCode: string
status code of the request
-
responseMessage: string
response message related to the response code if needed.
-
sessionId: string
session id of the authentcation.
-
status: boolean
authentication update request status
-
transactionId: number
transactionId in case of transaction data.
-
userData: object
SessionUserData
user related data
Nested Schema : SessionUserData
Type:
object
user related data
Show Source
-
groupName(required): string
group name
-
loginName(required): string
Login name used for authentication
-
userId: string
user identifier.
500 Response
Internal server error
503 Response
Service Unavailable