{
"sessionToken": "{{sessionToken}}",
"sessionId": "{{child-session-id}}"
}
curl --location --request POST 'https://iid-core-dev.detsandbox.com/middleware/api/external/sso/session/fetch' \
--header 'X-IID-API-KEY: Q7pkLCX3UyYcGq68xzARJ-stdEmhSrgaenWPbTZ9VFMD2NKHuv' \
--header 'X-IID-CLIENT-ID: TIBCO_CONSUMER' \
--header 'Content-Type: application/json' \
--data-raw '{
"sessionToken": "",
"sessionId": "fa44b0c4-fb2d-43c3-bb65-345ad2a8be11"
}'
{
"code": 0,
"desc": {
"en": "Success",
"ar": "Success",
"code": null
},
"errors": null,
"data": {
"sessionId": "b26e93f2-19bc-4473-95ed-db72bd1eb5f2",
"externalSystemId": "D360",
"authorityType": "SELF",
"selfProfile": [
{
"profileId": 518,
"laProfileId": 233253,
"nameEn": "KHADIJA ABDULLA YOUSEF ALALI",
"nameAr": "خديجه عبدالله يوسف ال على",
"gender": "F",
"mobileNo": "+971-9887544343",
"email": "r.shehadeh1@dubaitourism.ae",
"passportNo": "2457455",
"eid": "784197910942578",
"unifiedId": "514351",
"nationality": {
"code": "ARE",
"valueEn": "United Arab Emirates",
"valueAr": "الإمارات العربية المتحدة",
"id": 101
},
"type": "INDIVIDUAL",
"isActive": true
}
],
"iidParams": {
"locale": "en"
},
"userPermissions": [
"P1001",
"P1002",
"P1005",
"P1006",
"P1008",
"P1009",
"P1011",
"P1012",
"P1017",
"P1018",
"P1023",
"P1024",
"P1029",
"P1030",
"P1031",
"P1032",
"P1036",
"P1037",
"P1039",
"P1040",
"P1042",
"P1043",
"P1057",
"P1064",
"P1065",
"P1067",
"P1071",
"P1072",
"P1079",
"P1080",
"P1082",
"P1083",
"P1085",
"P1086",
"P1088",
"P1089"
],
"delegations": [],
"userRoles": [
{
"code": "IID-INVESTOR",
"organizationIds": [
2
]
}
],
"expires_in": 15
}
}