get sessionInfo for sessionID
ApiScope: manage.user.session.read
API Scope Level: ServiceSubscriberScope
Path Parameters
session_id string required
Query Parameters
validate boolean
Responses
- 200
- 400
- 401
- 403
- 500
OK
application/json
application/x-protobuf
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
sessionInfo object
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"sessionInfo": {
"sessionId": "string",
"userUuid": "string",
"dealerIds": [
0
],
"dealerUuids": [
"string"
],
"dealerDepartmentIds": [
0
],
"dealerDepartmentUuids": [
"string"
],
"dealerAssociates": [
0
],
"isImpersonate": true,
"ssoPartnerDTO": {
"name": "string",
"type": "SAML_20",
"description": "string",
"uuid": "string",
"attributes": {},
"domains": [
{
"name": "string",
"description": "string",
"uuid": "string",
"ssoPartnerDTO": {
"name": "string",
"type": "SAML_20",
"description": "string",
"uuid": "string",
"attributes": {}
}
}
]
},
"preferredDealerId": 0,
"dealerIdAndUuidPairs": {}
}
}
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
sessionInfo object
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string",
"sessionInfo": {
"sessionId": "string",
"userUuid": "string",
"dealerIds": [
0
],
"dealerUuids": [
"string"
],
"dealerDepartmentIds": [
0
],
"dealerDepartmentUuids": [
"string"
],
"dealerAssociates": [
0
],
"isImpersonate": true,
"ssoPartnerDTO": {
"name": "string",
"type": "SAML_20",
"description": "string",
"uuid": "string",
"attributes": {},
"domains": [
{
"name": "string",
"description": "string",
"uuid": "string",
"ssoPartnerDTO": {
"name": "string",
"type": "SAML_20",
"description": "string",
"uuid": "string",
"attributes": {}
}
}
]
},
"preferredDealerId": 0,
"dealerIdAndUuidPairs": {}
}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Unauthorized
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Forbidden
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
apiRequestId string
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"apiRequestId": "string"
}
GET /v2/user/sessioninfo/:session_id
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
python / requests
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
go / native
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET '/manage/v2/user/sessioninfo/:session_id' \
-H 'Accept: application/json'