OPenPath
OPenPath
OPenPath
com/auth/login
Input:
{
"email": "swamivenkat@1coresolution.com",
"password": "Bnf#68@*9KsV"
Output:
{
"data": {
"expiresAt": "2021-09-21T11:45:57.000Z",
"createdAt": "2021-09-07T11:45:57.000Z",
"identityId": 2213047,
"identity": {
"id": 2213047,
"namespace": {
"id": 7687,
"nickname": "org:1core-solution-sandbox"
},
"tokenScopeList": [
"org": {
"id": 5930,
"opal": "opal:prod:helium:alpha:5930:org:5930",
"parentOrg": null,
"packagePlans": [
"id": 34,
"package": {
"id": 10,
"name": "Basic",
"packageFeatures": [
"config": {
"count": 500
},
"id": 74,
"feature": {
"id": 1,
"code": "users"
},
"config": {
"count": 1000000
},
"id": 75,
"feature": {
"id": 2,
"name": "Administrators",
"code": "administrators"
},
"config": null,
"id": 76,
"feature": {
"id": 3,
"code": "remoteUnlock"
}
},
"config": {
"count": 1000000
},
"id": 77,
"feature": {
"id": 4,
"code": "guestPass"
},
"config": null,
"id": 78,
"feature": {
"id": 5,
"name": "Schedules",
"code": "schedules"
},
"config": null,
"id": 81,
"feature": {
"id": 10,
"code": "wiegandRelay"
},
{
"config": null,
"id": 82,
"feature": {
"id": 12,
"code": "webHooks"
},
"config": null,
"id": 83,
"feature": {
"id": 14,
"code": "customEntryStates"
},
"config": null,
"id": 85,
"feature": {
"id": 18,
"code": "lifetimeWarranty"
},
"config": null,
"id": 87,
"feature": {
"id": 20,
"code": "entries"
},
"config": null,
"id": 226,
"feature": {
"id": 30,
"code": "basicRulesEngine"
},
"config": null,
"id": 221,
"feature": {
"id": 53,
"code": "basicTechSupport"
},
"isSelected": true
},
"id": 50,
"package": {
"id": 14,
"name": "Additional Users Over 500",
"packageFeatures": [
"config": null,
"id": 147,
"feature": {
"id": 1,
"code": "users"
},
"isSelected": true
},
"id": 54,
"package": {
"id": 15,
"packageFeatures": [
"config": null,
"id": 175,
"feature": {
"id": 21,
"code": "elevatorIoBoards"
]
},
"isSelected": true
},
"id": 58,
"package": {
"id": 16,
"name": "Lockdown",
"packageFeatures": [
"config": null,
"id": 176,
"feature": {
"id": 7,
"code": "lockdown"
},
"isSelected": true
},
"user": {
"id": 2367785,
"opal": "opal:prod:helium:alpha:5930:user:2367785"
},
"scope": [
"o5930-admin:r",
"o5930-admin:w",
"o5930-configurations:r",
"o5930-configurations:w",
"o5930-dash:r",
"o5930-dash:w",
"o5930-hw:r",
"o5930-hw:w",
"o5930-integrations:r",
"o5930-integrations:w",
"o5930-ldp:r",
"o5930-ldp:w",
"o5930-opvideoDevice:r",
"o5930-opvideoDevice:w",
"o5930-role:r",
"o5930-role:w",
"o5930-rpt:r",
"o5930-rpt:w",
"o5930-site:r",
"o5930-site:w",
"o5930-user2367785:r",
"o5930-user2367785:w",
"o5930-user:r",
"o5930-user:w",
"o5930-videoProviderLive:w",
"o5930-videoProviderPlayback:w"
},
"org": {
"id": null,
"name": null
},
"user": {
"id": null,
"opal": null
},
"scope": [
"i2213047:r",
"i2213047:w"
],
"token":
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZGVudGl0eUlkIjoyMjEzMDQ3LCJybmQiOjAuNDY3OTQz
NDc4OTQ5NjMzOTUsImlhdCI6MTYzMTAxNTE1NywiZXhwIjoxNjMyMjI0NzU3fQ.-tbIISg-
cjGTBLKsdPMd0gQfyVz-ttP7sAn5x847iBM"
},
"meta": {
"accessToken": null
https://api.openpath.com/orgs/5930/users
Input:
{
"identity": {
"email": "mariasharapova@beyonduniverse.in",
"password": "subtest123",
"firstName": "maria",
"lastName": "sharapova"
Output:
{
"data": {
"opal": "opal:prod:helium:alpha:5930:user:2537059",
"id": 2537059,
"status": "A",
"startDate": null,
"endDate": null,
"hasRemoteUnlock": true,
"isOverrideAllowed": false,
"externalId": null,
"manuallyInactivatedAt": null,
"lastActivityAt": null,
"createdAt": "2021-09-07T12:17:08.000Z",
"identity": {
"initials": "ms",
"opal": "opal:prod:helium:alpha::identity:2381985",
"id": 2381985,
"firstName": "maria",
"middleName": null,
"lastName": "sharapova",
"email": "mariasharapova@beyonduniverse.in",
"isEmailVerified": false,
"idpUniqueIdentifier": "",
"createdAt": "2021-09-07T12:17:08.000Z",
"updatedAt": "2021-09-07T12:17:08.000Z",
"namespace": {
"id": 7687,
"nickname": "org:1core-solution-sandbox",
"namespaceType": {
"id": 2,
"modelName": "org"
},
"org": {
"id": 5930,
},
"needsPasswordChange": false
},
"meta": {
"accessToken": {
"scopeUpdatedAt": "2021-08-25T05:13:11.000Z"
},
"siteSpecificAccess": null
--------------------------------------------------------------------------------------------------------------------------------------