Create a session

post

/oam/services/rest/access/api/v1/session

This method creates a session for the user. Default values are used if none other than userId are provided. UserId is a mandatory parameter.

Request

Body ()
Detailed query criterion for searching the sessions.
Root Schema : SessionData
Type: object
Show Source
Nested Schema : UserAttributes
Type: object
Additional Properties Allowed
Show Source
Collection of Name Value pair attributes
Show Source
Nested Schema : NameValueAttribute
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Created session is returned in the response.
Body ()
Root Schema : SessionData
Type: object
Show Source
Nested Schema : UserAttributes
Type: object
Additional Properties Allowed
Show Source
Collection of Name Value pair attributes
Show Source
Nested Schema : NameValueAttribute
Type: object
Show Source

400 Response

Bad Request. Error in input Data.

404 Response

Not Found. Session creation had no errors, but created session could not be reqrieved/found.

500 Response

Unexpected error
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top