Data import
Connection details
Parameter | Description |
---|---|
Base URL | https://api.omada.cloud |
Authentication type | API Key |
API Key | X-API-Key |
API Key value | API Key Value |
Test connection | Select the checkbox. |
Queries and mappings
Users - Accounts
Parameters:
Tab | Parameter | Value |
---|---|---|
General | URL | /users?api-version=2022-01-01 |
General | Distinct | Yes |
General | Enabled | Select the checkbox |
Advanced | HTTP verb | GET |
Advanced | URL is a DynamicExpresso expression | No |
Mappings:
Destination | Operator | Source |
---|---|---|
Business key | Map | id |
Unique ID | Map | |
Account name | Map | |
Display name | Expression | String.Format("{0}, {1}", lastName, firstName) |
Status | Constant | Active |
Entitlement - Resource
Parameters:
Tab | Parameter | Value |
---|---|---|
General | URL | /users?api-version=2022-01-01 |
General | Distinct | Yes |
General | Enabled | Select the checkbox |
Advanced | HTTP verb | GET |
Advanced | URL is a DynamicExpresso expression | No |
Mappings:
Destination | Operator | Source |
---|---|---|
Business key | Expression | String.Format("{0}_{1}", id, "CustomerAdmin") |
Security resource business key | Expression | String.Format("{0}_{1}", id, "CustomerAdmin") |
Name | Expression | String.Format("{0} ({1})", "CustomerAdmin", details_name) |
Category | Constant | Permission |
Type | Constant | Omada Identity Cloud Management Platform Entitlement |
Display name | Expression | String.Format(„{0} ({1})", „CustomerAdmin", details_name) |
Short name | Expression | String.Format(„{0} ({1})", „CustomerAdmin", details_name) |
Entitlement - Resource Assignment
Parameters:
Tab | Parameter | Value |
---|---|---|
General | URL | /customers?includeTerminated=false&api-version=2022-01-01 |
General | Enabled | Select the checkbox |
Advanced | HTTP verb | GET |
Advanced | URL is a DynamicExpresso expression | No |
Nested request | Nested URL | /users?role=CustomerAdmin&scope={PARENT_id}&api-version=2022-01-01 |
Nested request | Change Paging | Yes |
Nested request | http 404 Not Found Error Handling | Terminate import |
Nested request | Page Mechanism | None |
Mappings:
Destination | Operator | Source |
---|---|---|
Resource business key | Expression | String.Format("{0}_{1}", PARENT_id, "CustomerAdmin") |
Account - business key | Map | id |
Account rules
Ownership rule
The account owner is set to the identity, where the Email
value of the identity matches the Account UID
value of the account.
Field | Value |
---|---|
Type | Identity lookup |
Join reason | Exact Match |
Account attribute | Account UID |
Identity attribute |
Classification rule
If an account with the account attribute Identity join reason
equals Exact Match, the account type is set to Personal
.
Field | Value |
---|---|
Account type | Personal |
Scope attribute | Identity join reason |
Scope operator | Equals |
Scope value | Exact Match |